Search found 143 matches

by Qysh
13 Jul 2018, 05:49
Forum: Gaming
Topic: Please Help... <3 Topic is solved
Replies: 5
Views: 1082

Re: Please Help... <3 Topic is solved

;#ifWinActive World of Warcraft ; Only run if window 'World of Warcraft' is active #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1 SetControlDelay, -1 ; The fo...
by Qysh
12 Jul 2018, 06:36
Forum: Gaming
Topic: Finding text in game by scrolling mouse button. Topic is solved
Replies: 3
Views: 837

Re: Finding text in game by scrolling mouse button. Topic is solved

Read this if you never used ImageSearch (https://autohotkey.com/docs/commands/ImageSearch.htm) scrollLoops := 100 ImageSearch, sX, sY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, image.png while(ErrorLevel) { Loop, % scrollLoops { ImageSearch, sX, sY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, image.png ...
by Qysh
12 Jul 2018, 06:26
Forum: Ask For Help
Topic: Getting mousedrag to work
Replies: 4
Views: 924

Re: Getting mousedrag to work

1.

Code: Select all

Send, {LButton down}
MouseMove, 200, 200, 50, R
Send, {LButton up}
2.

Code: Select all

MouseClickDrag, Left, 0, 0, 200, 200, 50, R
You can try to run the script as administrator and/or try different send modes (https://autohotkey.com/docs/commands/SendMode.htm)
by Qysh
12 Jul 2018, 05:19
Forum: Ich brauche Hilfe
Topic: Optionaler Bereich
Replies: 7
Views: 1601

Re: Optionaler Bereich

Sollte funktionieren wir halt viel Arbeit gl :)
by Qysh
12 Jul 2018, 05:15
Forum: Ask For Help
Topic: Until-loop in one line?
Replies: 3
Views: 617

Re: Until-loop in one line?

Code: Select all

while(A_Index!= 5)
	Sleep, 100
by Qysh
10 Jul 2018, 13:17
Forum: Gaming
Topic: While loop when button is held down
Replies: 4
Views: 835

Re: While loop when button is held down

Code: Select all

XButton2::
{
	while (GetKeyState("XButton2", "p"))
	{
		Send \
		Sleep 250
		Send q
		Sleep 6
		Send q
		Sleep 150
	}
}
return
by Qysh
10 Jul 2018, 10:58
Forum: Ask For Help
Topic: AHK Windows installation problem
Replies: 3
Views: 565

Re: AHK Windows installation problem

I've used AHK in the past with quite a bit of success. I recently had to reinstall windows 7, and after the clean install, I installed AHK 1.1.29.01. I'm not seeing the correct context items in windows explorer. Before, I could right click an AHK file and the context menu had options to compile, an...
by Qysh
10 Jul 2018, 09:26
Forum: Gaming
Topic: Help with gaming ahk
Replies: 1
Views: 516

Re: Help with gaming ahk

Sup guys! i really need a help, im newbie at autohotkey. this is my base script, i need to put an imagesearch after the controlclick, that will search for the image above and will repeat the search until find to continue. Delete:: WinGet, active_id8, ID, A MsgBox, The active window's ID is "%active...
by Qysh
09 Jul 2018, 14:10
Forum: Ask For Help
Topic: How to GetStateKey of all keys without scripting each key
Replies: 11
Views: 1104

Re: How to GetStateKey of all keys without scripting each key

ghosnon wrote:and the function you wrote still does not work only the loop does
Could you send your script?
by Qysh
09 Jul 2018, 14:09
Forum: Ask For Help
Topic: How to GetStateKey of all keys without scripting each key
Replies: 11
Views: 1104

Re: How to GetStateKey of all keys without scripting each key

ghosnon wrote:and how do i make it restart every x secs?
settimer
by Qysh
09 Jul 2018, 13:00
Forum: Ask For Help
Topic: How to GetStateKey of all keys without scripting each key
Replies: 11
Views: 1104

Re: How to GetStateKey of all keys without scripting each key

ghosnon wrote:ty it helps alot for another script i was trying to but the point of my afk script it to do smt if no keys are pressed but here it does smt and then checks if the keys are not pressed
replace

Code: Select all

if(anyKeyPressed(var))
with

Code: Select all

if(!anyKeyPressed(var))
by Qysh
09 Jul 2018, 12:44
Forum: Ask For Help
Topic: How to GetStateKey of all keys without scripting each key
Replies: 11
Views: 1104

Re: How to GetStateKey of all keys without scripting each key

ty for these scripts but now i'm a bit lost... were would i put the program i want to do? I hope this makes it easyer /* your code your code your code your code your code your code your code */ keys2check := "abcdefghijklmnopqrstuvwxyz" ; your Keys to check (if you want to check stuff like f1,lbutt...
by Qysh
09 Jul 2018, 12:32
Forum: 请求帮助
Topic: 自定义热键如何再用 Topic is solved
Replies: 15
Views: 7955

Re: 自定义热键如何再用 Topic is solved

(i used google translate to understand it)

Code: Select all

#m::send !m{enter 5}!s
~f4::send #m
by Qysh
09 Jul 2018, 12:27
Forum: Ask For Help
Topic: How to GetStateKey of all keys without scripting each key
Replies: 11
Views: 1104

Re: How to GetStateKey of all keys without scripting each key

The loop: allKeys := "abcdefghijklmnopqrstuvwxyz" allKeys_array := StrSplit(allKeys) loop_count := 1 Loop, % StrLen(allKeys) { if (GetKeyState(allKeys_array[loop_count], "p")) { MsgBox, % allKeys_array[loop_count] } loop_count += 1 } as function anyKeyPressed(keys) { allKeys_array := StrSplit(keys) ...
by Qysh
09 Jul 2018, 09:53
Forum: Gaming
Topic: Please Help... <3 Topic is solved
Replies: 5
Views: 1082

Re: Please Help... <3 Topic is solved

nice well it works but just wondering what are the things u added in and what to they do? #ifWinActive World of Warcraft ; Only run if window 'World of Warcraft' is active #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off SetBatchLines, -1 SetKeyDelay, -1, ...
by Qysh
09 Jul 2018, 09:26
Forum: Ask For Help
Topic: Timer
Replies: 5
Views: 964

Re: Timer

@Qysh, that's a brilliant logic, adjusting the required sleep delay :clap: . How can i scrolling the docs for long time until i give up if just this simple is enough. Just noticed that you dont event need the example gui stuff :D ^j:: tick := 6000 / 10 remain_tick := 9 Gui, Countdown: New, +AlwaysO...
by Qysh
09 Jul 2018, 09:06
Forum: Ask For Help
Topic: Trying to make a script that presses a button in between x and x milliseconds
Replies: 2
Views: 413

Re: Trying to make a script that presses a button in between x and x milliseconds

Code: Select all

F5::
while(GetKeyState("F5", "t"))
{
	Sleep, % rand(4000, 8000)
	;Do what you want
	
}
return

rand(min, max)
{
	Random, ran, %min%, %max%
	return %ran%
}
by Qysh
09 Jul 2018, 09:02
Forum: Gaming
Topic: Need help with Switching to Toggle. Topic is solved
Replies: 1
Views: 477

Re: Need help with Switching to Toggle. Topic is solved

#ifWinActive World of Warcraft ; Only run if window 'World of Warcraft' is active #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1 SetControlDelay, -1 { ; The f...
by Qysh
09 Jul 2018, 08:58
Forum: Ask For Help
Topic: Timer
Replies: 5
Views: 964

Re: Timer

Or the countdown version, but i can't get it to exactly 6 second (6000 milliseconds), maybe that is because there is some delay between the command. In my PC It take average 6,1 second (6.131 milliseconds) to complete. BTW, launch it with Ctrl+J ^j:: tick := 6000/10 remain_tick := 9 StartTime := A_...

Go to advanced search