Search found 130 matches

by need4speed
16 minutes ago
Forum: Ask For Help
Topic: Map ALT+Backspace as Delete Topic is solved
Replies: 3
Views: 15

Re: Map ALT+Backspace as Delete Topic is solved

I noticed in:

Code: Select all

!BS::Send, {Del}
BS links to ABS, while in

Code: Select all

!Backspace::Send, {Del}
Backspace opens up dr. google and pressing Del leads to FileDelete

is this known?
by need4speed
24 Oct 2020, 05:15
Forum: Ask For Help
Topic: How to toggle W10 Mouse Pointer size and style (control panel)
Replies: 6
Views: 113

Re: How to toggle W10 Mouse Pointer size and style (control panel)

Thank you SKAN, you're the man! impressive like always. I gave it a quick shot and it seems to work as expected. While your script is very useful, I was referring to the new win10 pointer. The color can be changed and the pointer can be scaled very big without aliasing. https://i.postimg.cc/8GKPbkk5...
by need4speed
21 Oct 2020, 09:52
Forum: Ask For Help
Topic: How to toggle W10 Mouse Pointer size and style (control panel)
Replies: 6
Views: 113

Re: How to toggle W10 Mouse Pointer size and style (control panel)

thanks, I knew about the link. Unfortunatelly this is not what I want to achieve. when I have time I try to figure out where this "new" mouse icons reside and how to manipulate em. not sure where MS is heading to, windows store, apps, tablett mode, x-box tools, cortana and a lot of more stuff I don'...
by need4speed
20 Oct 2020, 20:28
Forum: Ask For Help
Topic: How to toggle W10 Mouse Pointer size and style (control panel)
Replies: 6
Views: 113

How to toggle W10 Mouse Pointer size and style (control panel)

I added custom mouse cursors and saved a scheme in the Mouse Properties Windows, I use this code to toggle schemes, here e.g. I set the default scheme. ^F11:: ; Select Windows Default Theme Run %A_WinDir%\system32\control.exe main.cpl`,`,1 ControlGet, cList, List, , ComboBox1, Mouse Properties Loop,...
by need4speed
28 Aug 2020, 20:25
Forum: Scripts and Functions
Topic: ScriptGuard: Helps Protect Compiled Scripts from Decompilation
Replies: 26
Views: 1803

Re: ScriptGuard: Helps Protect Compiled Scripts from Decompilation

In addition, if the compiled executable is compressed with MPRESS or UPX before distribution, the script embedded in the executable will not be visible before execution. Therefore there will be only a small time-window in which the included script is visible; after the executable has been de-compre...
by need4speed
28 Aug 2020, 17:29
Forum: Scripts and Functions
Topic: MoveWindowUnderMouseCursor() with a hotkey
Replies: 9
Views: 325

Re: MoveWindowUnderMouseCursor() with a hotkey

for me the implementation of the move command in Windows is a complete failure (bug). In Linux after selecting move, a window can be moved. for years, already in Win3 (i guess) - Win10, invoking the move command changes only the mouse icon, the window does not follow the mouse movement. https://i.po...
by need4speed
03 Aug 2020, 07:35
Forum: Suggestions on documentation improvements
Topic: Save file as UTF-8
Replies: 5
Views: 2719

Re: Save file as UTF-8

"AutoHotkey does not exclusively run on the latest Windows 10 builds" is true, but as Win7 development ceased and support has been discontinued, Win10 will be sooner or later the dominant desktop OS. I think the statement in v2 Help Be sure to save the file as UTF-8 with BOM if it will contain non-...
by need4speed
31 Jul 2020, 03:36
Forum: Suggestions on documentation improvements
Topic: Save file as UTF-8
Replies: 5
Views: 2719

Save file as UTF-8

The line Be sure to save the file as UTF-8 with BOM if it will contain non-ASCII characters. For details, see the FAQ. should be changed to Be sure to save the file as UTF-8 if it will contain non-ASCII characters. For details, see the FAQ. Reason: in the FAQ UTF-8 is recommend: Short answer: Save t...
by need4speed
30 Jul 2020, 02:30
Forum: Suggestions on documentation improvements
Topic: How to prevent code execution
Replies: 9
Views: 3497

Re: How to prevent code execution

thanks for the clarification.
by need4speed
29 Jul 2020, 08:32
Forum: Suggestions on documentation improvements
Topic: How to prevent code execution
Replies: 9
Views: 3497

Re: How to prevent code execution

in v1 one could run this code, : ; AHK v1 1:: return MsgBox, In v1 this code will not be executed. due to the return, the last command would never be executed. in v2 the syntax has changed: ; AHK v2 1:: { } MsgBox "In v2 this code is executed." The latter command is executed. Hence the comment in v2...
by need4speed
28 Jul 2020, 14:10
Forum: Ask For Help
Topic: Launch my script on startup but minimized
Replies: 3
Views: 1303

Re: Launch my script on startup but minimized

not sure what you're asking for.

you can simply create two shortcuts; then RMB select Properties, change "Run" to Minimized, the other set to "Normal Window",
drag and drop one shortcut to the startup folder and you're done.

Image
by need4speed
28 Jul 2020, 13:58
Forum: Ask For Help
Topic: set the startingNum:=5 to 5
Replies: 3
Views: 950

Re: set the startingNum:=5 to 5

not sure what you're asking for

Code: Select all

:T:A5::
	startingNum:=5
	MsgBox % "startingNum = "startingNum
return

:T:A20:: 
	startingNum:=20
	MsgBox % "startingNum = "startingNum
return
by need4speed
28 Jul 2020, 13:45
Forum: Gaming
Topic: Key spammer that can be paused.
Replies: 4
Views: 1508

Re: Key spammer that can be paused.

add this to the end:

Code: Select all

$p::Pause, Toggle
by need4speed
28 Jul 2020, 09:58
Forum: Suggestions on documentation improvements
Topic: How to prevent code execution
Replies: 9
Views: 3497

Re: How to prevent code execution

Thanks swagfag. Apparently I fell for the incorrect v2 help file. In v1 return ends the hotkey, the comment is correct: ^n:: ; CTRL+N hotkey Run, notepad.exe ; Run Notepad when you press CTRL+N. return ; This ends the hotkey. The code below this will not get triggered. ^b:: ; CTRL+B hotkey Send, {Ct...
by need4speed
28 Jul 2020, 06:33
Forum: Ask For Help
Topic: Mute and show desktop in 1 key Topic is solved
Replies: 3
Views: 1145

Re: Mute and show desktop in 1 key Topic is solved

you wrote s.th. different, but I assume you want to achieve this:

Code: Select all

~#d::
	SoundSet, +1, , mute 
	return
by need4speed
28 Jul 2020, 05:42
Forum: Suggestions on documentation improvements
Topic: How to prevent code execution
Replies: 9
Views: 3497

How to prevent code execution

running the code bellow in v1 I get a Warning and a MessageBox: #Warn #SingleInstance Force MsgBox "Hi", "My Title", 1 ^n:: ; CTRL+N hotkey { Run "notepad.exe" ; Run Notepad when you press CTRL+N. } ; This ends the hotkey. The code below this will not get triggered. MsgBox "Hi 2", "My Title", 1 esc:...
by need4speed
28 Jul 2020, 03:07
Forum: Ask For Help
Topic: Remap Windows key
Replies: 1
Views: 762

Re: Remap Windows key

Code: Select all

LWin::LAlt
LAlt::LWin
by need4speed
26 Jul 2020, 17:51
Forum: Ask For Help
Topic: Pausing a running script Topic is solved
Replies: 4
Views: 1300

Re: Pausing a running script Topic is solved

Send a Pause command to another script:

Code: Select all

DetectHiddenWindows, On
WM_COMMAND := 0x111
ID_FILE_PAUSE := 65403
PostMessage, WM_COMMAND, ID_FILE_PAUSE,,, C:\YourScript.ahk ahk_class AutoHotkey
(c) help doc
by need4speed
24 Jul 2020, 07:27
Forum: AutoHotkey v2 Help
Topic: v1 Menu Tray Tip command equivalent Topic is solved
Replies: 3
Views: 1023

v1 Menu Tray Tip command equivalent Topic is solved

New to v2, I like to use this v1 command: Menu, Tray, Tip, My TrayTip What is the equivalent command in v2? BTW, Is there ATM an issue with #Warn command? According to v2 help, #Warn All, Off ; Disable all warnings. This is the default state. When running this sole command x := y ; y hasn't been ass...

Go to advanced search