Search found 10 matches

by Hackerxd
12 Jun 2020, 15:56
Forum: AutoHotkey v2 Help
Topic: Can someone make a key script please? I'm a complete newbie
Replies: 5
Views: 1438

Re: Can someone make a key script please? I'm a complete newbie

@boiler
Sorry for that, did not notice the small v2.
by Hackerxd
12 Jun 2020, 15:43
Forum: Gaming
Topic: i want to press e for 5 second and stop for 2 sec and continue in loop
Replies: 1
Views: 749

Re: i want to press e for 5 second and stop for 2 sec and continue in loop

Code: Select all

#ifWinActive, GameIPlay ;Roblox
F1::
while (1)
{
	Send {e down} ; Hold key down
	sleep 5000 ; 5s
	Send {e up} ; release the key
	sleep 2000 ; 2s
}
by Hackerxd
11 Jun 2020, 15:58
Forum: Gaming
Topic: Clicker
Replies: 3
Views: 322

Re: Clicker

@unusual
I cannot do that yet :P
by Hackerxd
11 Jun 2020, 15:54
Forum: Ask For Help
Topic: Would it be possible to make a script expire or otherwise stop working after date?
Replies: 42
Views: 878

Re: Would it be possible to make a script expire or otherwise stop working after date?

WinHttp := ComObjCreate("WinHttp.WinHttpRequest.5.1") WinHttp.Open("GET", "http://worldtimeapi.org/api/ip", false) ; Get date from the internet try { WinHttp.Send() ; try to execute } catch ; if there is an error, this block will execute { msgbox, Could not connect to the internet, the program will...
by Hackerxd
11 Jun 2020, 15:06
Forum: Gaming
Topic: Clicker
Replies: 3
Views: 322

Re: Clicker

#MaxThreadsPerHotkey 2 Suspend, On KeepPressing := False Gui, Add, Text, x152 y49 w30 h-30 , Text Gui, Font, S14 CDefault Bold, Arial Gui, Add, Text, x12 y19 w160 h20 , Text Gui, Font, S16 CDefault Bold Italic, Arial Gui, Add, Text, x12 y9 w450 h30 +Center, Auto Keyboard Gui, Add, Text, x152 y59 w-...
by Hackerxd
11 Jun 2020, 14:47
Forum: AutoHotkey v2 Help
Topic: Can someone make a key script please? I'm a complete newbie
Replies: 5
Views: 1438

Re: Can someone make a key script please? I'm a complete newbie

Code: Select all

F11:: ; Key to activate
	SendInput, {1 down} ; Hold key "1" down
	Sleep, 1000 ; 1000ms = 1s delay
	SendInput, {1 up} ; Release the key
	.....
return
You can add as many keys you want to this, just follow the structure, copy the 3 lines where dots are and replace "1" with another key you want
by Hackerxd
11 Jun 2020, 14:36
Forum: Ask For Help
Topic: I need help doing something
Replies: 1
Views: 148

Re: I need help doing something

https://www.autohotkey.com/docs/commands/Hotkey.htm
Lets say my hotkey key is "a"

Code: Select all

Hotkey, a, MyHotkeyLabel, Off
But it should also work as follows:

Code: Select all

Hotkey, a, On ; Enable the hotkey
Hotkey, a, Off ; Disable the hotkey
Hotkey, a, Toggle ; Toggles the state
by Hackerxd
11 Jun 2020, 14:28
Forum: Gaming
Topic: Help with this simple script please
Replies: 1
Views: 213

Re: Help with this simple script please

To just press a key you would use Send, see https://www.autohotkey.com/docs/commands/Send.htm Example: Send, {q down} Send, {q up} To have some control over it: a:: Loop, 20 ; Number of repeats { SendInput, {q down} ; hold key down Sleep, 10 ; Optional time for the key to be held down SendInput, {q ...
by Hackerxd
11 Jun 2020, 13:39
Forum: Ask For Help
Topic: Delete File
Replies: 9
Views: 1425

Re: Delete File

To delete a file after closing it simply do:

Code: Select all

file.Close()
FileDelete, MyFile.txt
"MyFile.txt" is the path to a file, or just file name if it is in the same directory as the script.
by Hackerxd
05 Apr 2020, 15:58
Forum: Ask For Help
Topic: Creating sound effects using bass.dll Topic is solved
Replies: 1
Views: 280

Creating sound effects using bass.dll Topic is solved

Hi, I have been working on a soundboard using AHK and bass.dll, everything is working just fine, everything except sound effects like echo/flanger... I tried searching google and this forum, but did not find how to make it work. Official bass documentation states ( http www.un4seen.com /doc/#bass/BA...

Go to advanced search