Question about PixelSearch. When I disable "Fast" mode, it pretty much makes my script unusable, as in it lags the entire PC, even if I set a generous sleep in between loops.
Am I missing something obvious?
Search found 7 matches
- 07 May 2019, 17:05
- Forum: Tutorials (v1)
- Topic: How to optimize the speed of a script as much as possible.
- Replies: 122
- Views: 205146
- 17 Jul 2014, 19:45
- Forum: Ask for Help (v1)
- Topic: How to stop a hotkey firing if held?
- Replies: 2
- Views: 1373
Re: How to stop a hotkey firing if held?
Checkout GetKeyState to see if you can implement. Let us know if you get stuck. Thanks for the help! :D I eventually found a solution with Google-fu that uses SetTimer instead: #NoEnv #SingleInstance, Force SendMode Input SetWorkingDir %A_ScriptDir% SetTimer TimerName, 1000 X:: Toggle := !Toggle Ti...
- 17 Jul 2014, 08:08
- Forum: Ask for Help (v1)
- Topic: How to stop a hotkey firing if held?
- Replies: 2
- Views: 1373
How to stop a hotkey firing if held?
Hi all! I have a very simple script that I am utilising that simply loops an action when I hit a button until it gets pressed again: However, if I accidentally or otherwise hold down the X key, it'll keep sending the action and will no longer stop when I hit X again. I'd be very grateful if someone ...
- 19 Jun 2014, 05:42
- Forum: Ask for Help (v1)
- Topic: Multiple While Loops?
- Replies: 11
- Views: 3803
Re: Multiple While Loops?
Awesomesauce. Thank you again <3
- 18 Jun 2014, 17:44
- Forum: Ask for Help (v1)
- Topic: Multiple While Loops?
- Replies: 11
- Views: 3803
Re: Multiple While Loops?
Excellent stuff Kon! One problem I am having though, the kill part of the script only seems to work if the second program has a window associated with it. In my case, it's actually a compiled AHK script that runs in the background with no Icon or window. I assumed I need to change: WinClose, % "ahk_...
- 16 Jun 2014, 04:08
- Forum: Ask for Help (v1)
- Topic: Multiple While Loops?
- Replies: 11
- Views: 3803
Re: Multiple While Loops?
As am I.Gay-Lussac wrote:I am interested in this script (by OP). What would be your recommendation?flyingDman wrote:Wouldn't you need a negative period to run the timers once and keep the loops?
- 15 Jun 2014, 10:27
- Forum: Ask for Help (v1)
- Topic: Multiple While Loops?
- Replies: 11
- Views: 3803
Multiple While Loops?
Hi all. I currently have a script that I run in the background that waits for a program to launch, then runs a script when it detects the program has launched and closes it when it is closed: #NoTrayIcon #SingleInstance force While, 1 { WinWaitActive, WindowName run X:\Path\To\Compiled\Script.exe Wi...