ty guys for the help, i will try later and let you know how it goes
<3
Search found 47 matches
- 03 May 2023, 16:46
- Forum: Ask for Help (v1)
- Topic: trying to do image search with multiple images
- Replies: 9
- Views: 949
- 02 May 2023, 20:26
- Forum: Ask for Help (v1)
- Topic: trying to do image search with multiple images
- Replies: 9
- Views: 949
Re: trying to do image search with multiple images
thanks for your help and time
i was just wondering if i got the labels correct and if you knew
i was just wondering if i got the labels correct and if you knew
- 02 May 2023, 19:55
- Forum: Ask for Help (v1)
- Topic: trying to do image search with multiple images
- Replies: 9
- Views: 949
Re: trying to do image search with multiple images
i tried this, does anyone know what i did wrong? or is there a better way? this code doesnt work: f1:: imageList := ["C:\Users\S1.bmp", "C:\Users\S2.bmp", "C:\Users\S3.bmp"] For each, image in imageList ;MsgBox % image Loop, % image { CoordMode MOUSE CoordMode Pixel ImageSearch, FoundX, FoundY, 335...
- 02 May 2023, 19:39
- Forum: Ask for Help (v1)
- Topic: trying to do image search with multiple images
- Replies: 9
- Views: 949
Re: trying to do image search with multiple images
i tried this, does anyone know what i did wrong? or is there a better way? this code doesnt work: f1:: images := ["C:\Users\S1.bmp", "C:\Users\S2.bmp", "C:\Users\S3.bmp"] Loop, % images.Length() { CoordMode MOUSE CoordMode Pixel ImageSearch, FoundX, FoundY, 335, 309, 1787, 1000, *10 %images[A_Index...
- 02 May 2023, 19:18
- Forum: Ask for Help (v1)
- Topic: trying to do image search with multiple images
- Replies: 9
- Views: 949
trying to do image search with multiple images
i tried this, does anyone know what i did wrong? or is there a better way? this code doesnt work: f1:: images := ["C:\Users\S1.bmp", "C:\Users\S2.bmp", "C:\Users\S3.bmp"] Loop, % images.Length() { CoordMode MOUSE CoordMode Pixel ImageSearch, FoundX, FoundY, 335, 309, 1787, 1000, *10 %images[A_Index%...
- 02 May 2023, 19:14
- Forum: Ask for Help (v1)
- Topic: help with imagesearch and controlclick help me meow plz
- Replies: 9
- Views: 412
Re: help with imagesearch and controlclick help me meow plz
thank you for the help
maybe the button only reads "real mouse clicks"
is there a way to make control click more like a real mouse click
my regular mouseclick etc etc works but it moves the mouse
ideas?
maybe the button only reads "real mouse clicks"
is there a way to make control click more like a real mouse click
my regular mouseclick etc etc works but it moves the mouse
ideas?
- 01 May 2023, 09:49
- Forum: Ask for Help (v1)
- Topic: help with imagesearch and controlclick help me meow plz
- Replies: 9
- Views: 412
Re: help with imagesearch and controlclick help me meow plz
hi thanks for helping the ahk_exe thing worked thanks ControlClick, x%FoundX% y%FoundY%, ahk_exe firefox.exe, , R but... i tried to switch the "R" to "L" and it didnt work any ideas? thanks guys the R hits the target and does a right click option thing when i switch to left it doesnt click the button
- 01 May 2023, 09:06
- Forum: Ask for Help (v1)
- Topic: help with imagesearch and controlclick help me meow plz
- Replies: 9
- Views: 412
Re: help with imagesearch and controlclick help me meow plz
hi thanks for helping
the ahk_exe thing worked thanks
but...
i tried to switch the "R" to "L" and it didnt work
any ideas?
the ahk_exe thing worked thanks
Code: Select all
ControlClick, x%FoundX% y%FoundY%, ahk_exe firefox.exe, , R
but...
i tried to switch the "R" to "L" and it didnt work
any ideas?
- 01 May 2023, 07:43
- Forum: Ask for Help (v1)
- Topic: help with imagesearch and controlclick help me meow plz
- Replies: 9
- Views: 412
help with imagesearch and controlclick help me meow plz
below is the code but it doesnt click the image is correct the coord stuff is all correct it works with regular mouseclicks but not with controlclicks any ideas? f1:: Loop { CoordMode MOUSE CoordMode Pixel ImageSearch, FoundX, FoundY, 1400, 150, 1800, 1080, *3 C:\Users\Sb.bmp if ErrorLevel = 2 SLEEP...
- 01 May 2023, 04:59
- Forum: Ask for Help (v2)
- Topic: close firefox windows other than first 2 on loop
- Replies: 2
- Views: 189
close firefox windows other than first 2 on loop
Hi,
i am trying to make a script that will close all other firefox windows other than the first 2 that are open on a loop.
any ideas?
i am trying to make a script that will close all other firefox windows other than the first 2 that are open on a loop.
any ideas?
- 27 Jan 2023, 14:47
- Forum: Ask for Help (v1)
- Topic: Cleaner timestamp for logging
- Replies: 10
- Views: 695
Re: Cleaner timestamp for logging
You can use the FormatTime function with the A_Now variable to get the current time in the desired format and store it in a variable. Then use that variable in the FileAppend function to write to the log file, like this: FormatTime, TimeString, A_Now, MM/dd/yyyy hh:mm:ss:%A_MSec% FileAppend, %TimeSt...
- 26 Jan 2023, 22:12
- Forum: Ask for Help (v1)
- Topic: Repeat command
- Replies: 5
- Views: 368
Re: Repeat command
not sure what the best way is but what if you did one image search to find the target then when it finds the target wait sleep 2000 then have it search a 2nd time to find it and click it I've added a delay to give the page time to load, but sometimes it's especially slow and that delay isn't good e...
- 26 Jan 2023, 22:09
- Forum: Ask for Help (v1)
- Topic: Need help for my script
- Replies: 2
- Views: 277
Re: Need help for my script
this might work or might not...not tested Gui, Add, Text, x20 y20 w100 h20, First Launch Gui, Add, Text, x20 y50 w100 h20, Countdown: 21.5 Gui, Add, Text, x20 y80 w100 h20, Second Launch Gui, Add, Text, x20 y110 w100 h20, Countdown: 7 Gui, Show countdown1 := 21.5 countdown2 := 7 Loop { countdown1 -=...
- 26 Jan 2023, 17:45
- Forum: Ask for Help (v1)
- Topic: Repeat command
- Replies: 5
- Views: 368
Re: Repeat command
not sure what the best way is but what if you did one image search to find the target then when it finds the target wait sleep 2000 then have it search a 2nd time to find it and click it
- 26 Jan 2023, 17:36
- Forum: Ask for Help (v1)
- Topic: image search mouse doesnt click target
- Replies: 2
- Views: 180
Re: image search mouse doesnt click target
MouseMove, ImageFoundX, ImageFoundY sleep 20 MouseClick thanks for the help i think 5000 might be too long not sure maybe 20 i changed it to MOUSECLICK,RIGHT, %FoundX1%,%FoundY1%,1,down sleep 200 MOUSECLICK,RIGHT, %FoundX1%,%FoundY1%,1,up and it clicked it but i want to try your way also, it might ...
- 26 Jan 2023, 15:13
- Forum: Ask for Help (v1)
- Topic: image search mouse doesnt click target
- Replies: 2
- Views: 180
image search mouse doesnt click target
{ sleep 200 MouseGetPos, xpos, ypos MouseGetPos,,, WinUMID sleep 200 MOUSECLICK,RIGHT, %FoundX1%,%FoundY1% sleep 200 Mousemove, %xpos%, %ypos% WinActivate, ahk_id %WinUMID% sleep 2000 } it finds the target and the mouse moves to the target but it doesnt click it i tried left click and right click a...
- 07 Nov 2022, 11:15
- Forum: Ask for Help (v1)
- Topic: Timeout if script fails to a reset point (help?/ ideas?) Topic is solved
- Replies: 9
- Views: 535
Re: Timeout if script fails to a reset point (help?/ ideas?) Topic is solved
The first step to becoming a "master ahk programmer" is to stop using goto so you will start learning better logic and code flow structures. As long as you keep using it, you are preventing yourself from learning fundamental concepts which are actually pretty basic (and apply to almost all language...
- 07 Nov 2022, 08:22
- Forum: Ask for Help (v1)
- Topic: Timeout if script fails to a reset point (help?/ ideas?) Topic is solved
- Replies: 9
- Views: 535
Re: Timeout if script fails to a reset point (help?/ ideas?) Topic is solved
thank you the a_tickcount idea worked thank you
i am still using goto
hahah i still like it
maybe one day i will be come a master ahk programmer and learn to get away from it
i am still using goto
hahah i still like it
maybe one day i will be come a master ahk programmer and learn to get away from it
- 06 Nov 2022, 15:07
- Forum: Ask for Help (v1)
- Topic: Multi Image search (sorting code) maybe labels???
- Replies: 6
- Views: 474
Re: Multi Image search (sorting code) maybe labels???
imagesearch1() { global FoundX, FoundY ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, *Icon3 %A_ProgramFiles%\SomeApp\SomeApp.exe if ErrorLevel = 2 MsgBox Could not conduct the search. else if ErrorLevel = 1 MsgBox Icon could not be found on the screen. else MsgBox The icon was f...
- 06 Nov 2022, 15:00
- Forum: Ask for Help (v1)
- Topic: Timeout if script fails to a reset point (help?/ ideas?) Topic is solved
- Replies: 9
- Views: 535
Re: Timeout if script fails to a reset point (help?/ ideas?) Topic is solved
ty again for the help yea i heard goto isnt good
ty for your timer idea let me see if i can make that work correctly
ty for your timer idea let me see if i can make that work correctly