Search found 4 matches
- 17 Oct 2018, 10:28
- Forum: Ask For Help
- Topic: Trouble getting variable to work
- Replies: 2
- Views: 280
Re: Trouble getting variable to work
Perfect! Thank you so much!!!!
- 17 Oct 2018, 10:02
- Forum: Ask For Help
- Topic: Trouble getting variable to work
- Replies: 2
- Views: 280
Trouble getting variable to work
Hi! I wrote a hotkey script based on mouseclicks for myself and coworkers which works great, but one coworker has a new monitor with a higher resolution and it requires me to change the position of one of the clicks. I wanna make my script detect the screen width and if it's 1920, do one thing, if i...
- 21 Aug 2018, 09:43
- Forum: Ask For Help
- Topic: Click mouse relative to x,y variable from color search
- Replies: 3
- Views: 478
Re: Click mouse relative to x,y variable from color search
I'm still doing something wrong. This one doesn't work neither
PixelSearch, Px, Py, 0, 0, 1062, 1062, 0x3399ff, 0, Fast
If(ErrorLevel == 0){
Wa:= %Px% + 10
Hb:= %Py% + 10
Click, %Wa%,%Hb%
}else{
MsgBox, Printlabels not found.
exit
}
Any help would be really awesome
PixelSearch, Px, Py, 0, 0, 1062, 1062, 0x3399ff, 0, Fast
If(ErrorLevel == 0){
Wa:= %Px% + 10
Hb:= %Py% + 10
Click, %Wa%,%Hb%
}else{
MsgBox, Printlabels not found.
exit
}
Any help would be really awesome
- 15 Aug 2018, 11:29
- Forum: Ask For Help
- Topic: Click mouse relative to x,y variable from color search
- Replies: 3
- Views: 478
Click mouse relative to x,y variable from color search
Hi! I'm having trouble figuring this out... On a website I'm using, I need AHK to click a button called print labels, then another redundant button comes out after the click that also says print labels and needs me to click it as well. I'm using an extension that highlights the word "print labels" i...