Search found 194 matches

by alesyt0h
07 Jan 2016, 12:19
Forum: Ask For Help
Topic: GUI Conditions
Replies: 87
Views: 11239

GUI Conditions

Hello all! I have this code: #SingleInstance, Force SetTitleMatchMode, 3 Hotkey, MButton, MButton Return MButton: Hotkey, MButton, MButton_Disabled ;effectively disables MButton hotkey Gui +LastFound +AlwaysOnTop -Caption +E0x20 Gui Color, 0xFFFFFF Gui Font, s100 Gui Add, Text, X20 Y20 W200 Vdisp Cb...
by alesyt0h
06 Nov 2015, 07:50
Forum: Ask For Help
Topic: ImageSearch scripts misteriously stops after some hours
Replies: 18
Views: 3207

Re: ImageSearch scripts misteriously stops after some hours

Thank you scriptinator! I will test the code and share if it works!
by alesyt0h
05 Nov 2015, 17:58
Forum: Ask For Help
Topic: ImageSearch scripts misteriously stops after some hours
Replies: 18
Views: 3207

Re: ImageSearch scripts misteriously stops after some hours

Thank you for the cordinates! But now I was checking all my stuff and noticed something.. sorry for didn't say it, I thought wasn't from here the problem. I actually have script 7.ahk, 8.ahk, 9.ahk, 10.ahk, f6.ahk and keys.ahk f6.ahk code is this #Persistent #SingleInstance force F6::keycycle("{f1}"...
by alesyt0h
05 Nov 2015, 12:27
Forum: Ask For Help
Topic: ImageSearch scripts misteriously stops after some hours
Replies: 18
Views: 3207

Re: ImageSearch scripts misteriously stops after some hours

This script will send an F6 for EACH match in the loop: #NoEnv #Persistent #SingleInstance Force SetTitleMatchMode, Fast DetectHiddenWindows, Off DetectHiddenText, Off Process, Priority, , AboveNormal ;SetTimer, RestartSelf, 900000 ; 15 minutes, uncomment to enable if needed ScreenW := A_ScreenWidt...
by alesyt0h
04 Nov 2015, 18:53
Forum: Ask For Help
Topic: ImageSearch scripts misteriously stops after some hours
Replies: 18
Views: 3207

Re: ImageSearch scripts misteriously stops after some hours

Tested it now but it's happening something weird.. If I add the SetTimer code after the loop then it doesn't work, if I add the SetTimer code before the loop, it works but the loop doesn't. Tried also puting 2 set timers into a same script for close 2 diferent exe one after 5 minutes, the other afte...
by alesyt0h
04 Nov 2015, 14:35
Forum: Ask For Help
Topic: ImageSearch scripts misteriously stops after some hours
Replies: 18
Views: 3207

Re: ImageSearch scripts misteriously stops after some hours

I think that might be where the problem is. ErrorLevel=1 has no sleep, so the script is going as fast as possible until it finds the image, which might be taxing on the script for whatever reason. As for reloading the script every 5 minutes, this is also the approach you would use to set up all 7 i...
by alesyt0h
04 Nov 2015, 12:40
Forum: Ask For Help
Topic: ImageSearch scripts misteriously stops after some hours
Replies: 18
Views: 3207

Re: ImageSearch scripts misteriously stops after some hours

That part is fine, after F6 is pressed, the next image it's in the next 3-4-5 seconds so 1 second sleep is ok and needed also.

Can someone share a little code for reload the script after 5 minutes for example? I'm sorry but I have no idea how to do it..
by alesyt0h
04 Nov 2015, 09:36
Forum: Ask For Help
Topic: ImageSearch scripts misteriously stops after some hours
Replies: 18
Views: 3207

Re: ImageSearch scripts misteriously stops after some hours

I don't know how to do that.. :/ but also I tried running one script also instead of the 7 and happened the same, stopped after 4 hours.. well is not really an "stop" it's more like a pause, and it didn't execute for 2-3-4 seconds, cause the failing. I think the best choice is a counter to reload th...
by alesyt0h
04 Nov 2015, 08:18
Forum: Ask For Help
Topic: ImageSearch scripts misteriously stops after some hours
Replies: 18
Views: 3207

Re: ImageSearch scripts misteriously stops after some hours

I actually do not see any problems there. I ran it for a couple minutes with other search files. I would use an exitapp at errorlevel = 2, if the file you are looking for does not egsist, there is nothing to look for. I would add a counter or something to exit after a set number of errorlevel = 1 Y...
by alesyt0h
04 Nov 2015, 07:05
Forum: Ask For Help
Topic: ImageSearch scripts misteriously stops after some hours
Replies: 18
Views: 3207

ImageSearch scripts misteriously stops after some hours

Hello all! I have running 7 scripts at the same time with this code: #Persistent #SingleInstance force CoordMode Pixel ; Interprets the coordinates below as relative to the screen rather than the active window. Loop { ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, %A_MyDocuments%\...
by alesyt0h
28 Jan 2015, 22:05
Forum: Ask For Help
Topic: Close application with AHK if another application is closed
Replies: 6
Views: 1717

Re: Close application with AHK if another application is clo

Thanks for reply!
Of course I did! But don't work.. only closes the first one.

Tried it in many ways.. :(
by alesyt0h
28 Jan 2015, 21:39
Forum: Ask For Help
Topic: Close application with AHK if another application is closed
Replies: 6
Views: 1717

Re: Close application with AHK if another application is clo

Thanks for reply!

I don't have a GUI.. the code I posted above is fine, just need to add more applications to the if and I don't know how to do it :(
by alesyt0h
28 Jan 2015, 20:41
Forum: Ask For Help
Topic: Close application with AHK if another application is closed
Replies: 6
Views: 1717

Close application with AHK if another application is closed

Hello! I have an script that runs some applications in each hotkey, but when I close the main application I want them to close.. I have this, and it works, but only for 1 application, can't close more than 1 application with this: SetTimer, ProcessCheckTimer, 1000 Return ProcessCheckTimer: Process, ...

Go to advanced search