Search found 11 matches

by mero
22 Apr 2021, 13:54
Forum: Ask for Help (v1)
Topic: Imagesearch and if statement Topic is solved
Replies: 8
Views: 2056

Re: Imagesearch and if statement Topic is solved

That is a reasonable answer. However, it is weird that image 1 was able to be found without issue and swapping image 1 and image 2 in the script allowed image 2 to be found without issue. Not sure what was causing a 2 without moving them from the directory.:wtf: Regardless, it accomplishes the same ...
by mero
22 Apr 2021, 12:12
Forum: Ask for Help (v1)
Topic: Imagesearch and if statement Topic is solved
Replies: 8
Views: 2056

Re: Imagesearch and if statement Topic is solved

I found the issue. I think the errorlevel check for image2 was still comparing to the image1 results. Changing (If ErrorLevel == 1){ to Else{ appears to fix that Weird. F4:: KeyWait, F4 CoordMode, Pixel, Screen CoordMode, Mouse, Screen ImageSearch, foundX, foundY, 0, 0, %A_ScreenWidth%, %A_ScreenHei...
by mero
22 Apr 2021, 11:35
Forum: Ask for Help (v1)
Topic: Imagesearch and if statement Topic is solved
Replies: 8
Views: 2056

Re: Imagesearch and if statement Topic is solved

Yes, i've tried it when only image 2 is visible. The first part of the script works perfectly fine when image 1 is there. If only image 1 is visible -> it clicks image 1 If image 1 and image 2 are visible -> it clicks image 1 If only image 2 is visible -> nothing happens. No mouse movements or input...
by mero
22 Apr 2021, 10:39
Forum: Ask for Help (v1)
Topic: Imagesearch and if statement Topic is solved
Replies: 8
Views: 2056

Re: Imagesearch and if statement Topic is solved

If by not working, you mean it's not finding image2.png and not doing the stuff after it, it's looking like it's just not finding the image. Have you verified that you can find the image using that statement when it does appear (i.e., a simple script with just that ImageSearch statement and a repor...
by mero
21 Apr 2021, 23:43
Forum: Ask for Help (v1)
Topic: Imagesearch and if statement Topic is solved
Replies: 8
Views: 2056

Imagesearch and if statement Topic is solved

F4:: KeyWait, F4 CoordMode, Pixel, Screen CoordMode, Mouse, Screen ImageSearch, foundX, foundY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, *100 image1.png If(ErrorLevel == 0){ Click, %foundX%, %foundY% Sleep, 300 Send, {Esc} } If(ErrorLevel == 1){ CoordMode, Pixel, Screen CoordMode, Mouse, Screen Ima...
by mero
08 Apr 2018, 17:50
Forum: Ask for Help (v1)
Topic: Only 1 of my toggles works properly? Topic is solved
Replies: 1
Views: 541

Only 1 of my toggles works properly? Topic is solved

Version.ini [Settings] Show_Details= 1 Refresh_On_F5= 1 Program IniRead,details,version.ini,Settings,Show_Details IniRead,refresh,version.ini,Settings,Refresh_On_F5 toggle=%details% return newtog=%refresh% return F9:: toggle:=!toggle if toggle=1 TrayTip, Macro, Show Details = ON if toggle=0 TrayTip,...
by mero
10 Sep 2017, 12:39
Forum: Scripts and Functions (v1)
Topic: Mero's Script Updater & Launcher
Replies: 2
Views: 2492

Mero's Script Updater & Launcher

Launcher.AHK: IniRead,Current_ini,version.ini,Info,Version,N/A ;This is the desktop version.ini which will be compared with the online version.ini. It assumes that the version.ini is in the same directory unless specified otherwise. Update_URL := "your version.ini download link" ;The URL of the onl...
by mero
10 Sep 2017, 04:14
Forum: Ask for Help (v1)
Topic: help with Rseding91's Self script updater Topic is solved
Replies: 3
Views: 1042

Re: help with Rseding91's Self script updater Topic is solved

Good news, i've made some pretty big changes and made it work. Mine is a bit more simple and beginner friendly. :) I've made a new thread here: https://autohotkey.com/boards/viewtopic.php?f=6&t=36893 IniRead,Current_ini,version.ini,Info,Version,N/A ;This is the desktop version.ini which will be comp...
by mero
09 Sep 2017, 10:49
Forum: Ask for Help (v1)
Topic: help with Rseding91's Self script updater Topic is solved
Replies: 3
Views: 1042

Re: help with Rseding91's Self script updater Topic is solved

UrlDownloadToFile,%Update_URL%,%Version_File% Not sure if the URL part is working fine. AFAICS, its only the path without a valid filename?? (Not tested, while being on iOS) Thank you for commenting. :) I believe this part of the code is working. UrlDownloadToFile, %Update_URL% ,%Version_File% is r...
by mero
08 Sep 2017, 21:40
Forum: Ask for Help (v1)
Topic: help with Rseding91's Self script updater Topic is solved
Replies: 3
Views: 1042

help with Rseding91's Self script updater Topic is solved

Hello, i'm hoping someone can tell me how to get this old script working. https://autohotkey.com/board/topic/72559-func-self-script-updater/ What happens: *Clicks on the script* *pop up appears* "There is a new version of Macro V9 available Current version: 1.0 New version: 2.0 Would you like to dow...
by mero
20 Aug 2017, 15:24
Forum: Ask for Help (v1)
Topic: Trouble with winwaitactive
Replies: 1
Views: 602

Trouble with winwaitactive

Hi, complete newbie here. I hope you can help me with this :) F3:: KeyWait, F3 Send, !vm WinWaitActive, Comments,"",2 Then Send, !a return My goal: If F3 is released -> send ALT+V+M -> Wait until the Comments windows appears If it appears-> press Ctrl B If it doesn't appear within 2 seconds -> Do no...

Go to advanced search