Search found 52 matches
- 29 Jul 2020, 14:16
- Forum: Ask For Help
- Topic: Window changes size when moved from secondary to main monitor (different resolutions) Topic is solved
- Replies: 2
- Views: 825
Re: Window changes size when moved from secondary to main monitor (different resolutions) Topic is solved
Hallo, capture the MonitorWorkAreas of your monitors* Hello It worked great thanks I tried doing this exactly: move window main screen same size, then maximize window - then once switching back minimizing fullscreen and returning window to original screen and position it didn't really work somethin...
- 29 Jul 2020, 09:22
- Forum: Ask For Help
- Topic: Window changes size when moved from secondary to main monitor (different resolutions) Topic is solved
- Replies: 2
- Views: 825
Window changes size when moved from secondary to main monitor (different resolutions) Topic is solved
It becomes bigger when moved to the main screen and then back to secondary monitor Any solutions? SysGet, WorkArea, MonitorWorkArea PgUP:: win:=WinExist("a") ; // get handle of active window WinGetPos, x, y, w, h ; // get position (use Last Found Window from now on) xStart%win%:=x, yStart%win%:=y ; ...
- 13 Dec 2019, 01:54
- Forum: Ask For Help
- Topic: search more than 2 images with if/else Topic is solved
- Replies: 3
- Views: 374
Re: search more than 2 images with if/else Topic is solved
you can use a variable to direct the flow of your logic. I haven't added in more searches etc, just a simple example using your existing code Study this and see if you get it. numpaddown:: CVar := 0 ;<------------------------- BlockInput, on CoordMode, Mouse, Screen MouseGetPos, xx, yy Text:="|<>0x...
- 12 Dec 2019, 20:09
- Forum: Ask For Help
- Topic: search more than 2 images with if/else Topic is solved
- Replies: 3
- Views: 374
search more than 2 images with if/else Topic is solved
what do we do if we want a 3rd image or that it does something else if images not found (adding another else did not work) (Using FindText script along with this section of the code) numpaddown:: BlockInput, on CoordMode, Mouse, Screen MouseGetPos, xx, yy Text:="|<>[email protected].89$3.2GGGG02GGGG4" ;Tex...
- 11 Dec 2019, 12:27
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240736
Re: FindText - Capture screen image into text and then find it Topic is solved
Coordmode, screen ----> CoordMode, Mouse, Screen Such a simple mistake, I thought you would find it yourself. Indeed it was, thanks a lot I got it now :dance: q:: CoordMode, mouse, Screen Text:="|<>[email protected].66$71.000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
- 11 Dec 2019, 09:53
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240736
Re: FindText - Capture screen image into text and then find it Topic is solved
FindText(wX, wY, wX+wW, wY+wH, ......) I guess you meant should not have w (remember I am not a programmer it's not easy to see then so better if you explain more clearly) I put the w's in and forgot to change the command to the same however still don't work q:: Coordmode, screen ;Text:="|<>0x80C2F...
- 11 Dec 2019, 05:08
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240736
Re: FindText - Capture screen image into text and then find it Topic is solved
FindText(wX, wY, wX+wW, wY+wH, ......) Great! It now finds it, however, it seems to go way off target to get to the image see the compensated mousemove to move it to picture (tested with several pictures) q:: Coordmode, screen ;Text:="|<>[email protected].66$71.00000000000000000000000000000000000000000000...
- 11 Dec 2019, 04:03
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240736
Re: FindText - Capture screen image into text and then find it Topic is solved
feiyue Hello, it's really working great. There is just one thing I don't get See here, this works for searching inside active window: f2:: CoordMode, Screen Text:="|<>*84$18.zzzk01zzzzzzzzzzzzy0Tz0zzVzznzzzzzzzzzzzzzzzzzzzU" WinGetPos, wX, wY, wW, wH, % needle if (ok:=FindText(wX, wY, wW, wH, 0, 0,...
- 07 Dec 2019, 21:00
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240736
Re: FindText - Capture screen image into text and then find it Topic is solved
feiyue Thanks a lot for your answer appreciate it. I tried putting code into the script but I screwed something up, says I need a % sign on line 13. I'm also unsure if I should paste the actual text image into the script like on page 2 of this topic or like I have it now without it. And also at the...
- 06 Dec 2019, 20:18
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240736
Re: FindText - Capture screen image into text and then find it Topic is solved
Hi! I'm very interested in this script it looks great. I'm not a programmer, mind telling me how to search a area around mousepointer? I read the intro nothing said there really makes it clear to me how to do it, I might have missed it not sure. I got the part of choosing and making the image to the...
- 05 Dec 2019, 09:03
- Forum: Ask For Help
- Topic: Move mouse back to saved horizontal x axis position only Topic is solved
- Replies: 3
- Views: 554
Re: Move mouse back to saved horizontal x axis position only Topic is solved
Holy cow I did it!! !numpadsub:: MouseGetPos, MouseX, MouseGetPos, v1, v2 AMTSub := (v2 - 0) send, {alt up} ;getcoordinates return end:: MouseGetPos, px,py MouseMove, %v1%, %AmtSub% click left Mousemove px,py, 1 ;movetocoordinatesclickbacktorecentpos return backspace:: MouseGetPos, px,py MouseMove, ...
- 04 Dec 2019, 02:45
- Forum: Ask For Help
- Topic: Move mouse back to saved horizontal x axis position only Topic is solved
- Replies: 3
- Views: 554
Re: Move mouse back to saved horizontal y axis position only Topic is solved
Like this. NumPad1:: Saved_Y_Position := 150 MouseGetPos, Current_X_Position MouseMove, Current_X_Position , Saved_Y_Position return Hello, thanks for answer. Well, maybe I was unclear (edited: I was sorry, wrongly wrote y instead of x) . This only moves on a current y axis, what I would like is us...
- 04 Dec 2019, 01:05
- Forum: Ask For Help
- Topic: Move mouse back to saved horizontal x axis position only Topic is solved
- Replies: 3
- Views: 554
Move mouse back to saved horizontal x axis position only Topic is solved
Hello guys, currently using this script which works nicely for both x and y axis click and move back to prev. mouse position (good for drawing lines from a spot for example). !numpadsub:: MouseGetPos, v1, v2 AMTSub := (v2 - 0) send, {alt up} return backspace:: MouseGetPos, px,py MouseMove, %v1%, %Am...
- 02 Dec 2019, 13:38
- Forum: Ask For Help
- Topic: Move to bottom edge of active window help
- Replies: 1
- Views: 303
Re: Move to bottom edge of active window help
Really not possible?
making mouse move to horizontal scrollbar or either lower corner of active window would suffice I can solve the rest
making mouse move to horizontal scrollbar or either lower corner of active window would suffice I can solve the rest

- 01 Dec 2019, 17:27
- Forum: Ask For Help
- Topic: Move to bottom edge of active window help
- Replies: 1
- Views: 303
Move to bottom edge of active window help
Hi! I have this script WinGetPos,,,Height,,A MouseClick, R , % Height -400, 15,,0 but it seems to measure from top edge any way to make it measure from the bottom edge instead? (reason is I have window fullscreen and windowed and usually bottom edge varies a bit while top the same, so measuring from...
- 22 Nov 2019, 08:33
- Forum: Ask For Help
- Topic: Simplest to way to run several ahk scripts with one script?
- Replies: 11
- Views: 1172
Re: Simplest to way to run several ahk scripts with one script?
That's possible. There's also Guest10's script at this thread . Running your script as admin with the code in your post allows you to run scripts from cmd as admin as well. DetectHiddenWindows, On Gui, +Resize -MaximizeBox Gui, Add, ListView, w500 h200 vlvwList hwndhlvwList gListClick, PID|Script P...
- 22 Nov 2019, 07:56
- Forum: Ask For Help
- Topic: Simplest to way to run several ahk scripts with one script?
- Replies: 11
- Views: 1172
Re: Simplest to way to run several ahk scripts with one script?
Like this? +f3:: Run, %ComSpec% /c dir /b > C:\Users\Username5555\Music\script1.ahk && C:\Users\Username5555\Music\script2.ahk && C:\Users\Username5555\Music\script2.ahk && C:\Users\Username5555\Music\script2.ahk return (Username555 is your computer name) 99.8% chance of being wrong. Felt that the m...
- 21 Nov 2019, 23:22
- Forum: Ask For Help
- Topic: Simplest to way to run several ahk scripts with one script?
- Replies: 11
- Views: 1172
Simplest to way to run several ahk scripts with one script?
Hello! I've been looking around and coudln't find any simple guides for this. I found something that made an .exe file and removed tray icons, I don't want that. Anyone know how to run a number of scripts somehow through for example a ahk script that you run which exits once all the scripts you want...
- 21 Nov 2019, 13:26
- Forum: Ask For Help
- Topic: Sending key once new program window activated / focused?
- Replies: 0
- Views: 324
Sending key once new program window activated / focused?
Any way to send a key once you click (activate) a window of another program (that is already running)? I'd like numlock to be off for a certain program (for example word) once I click on the window of that program , then if click on any other program it sends something to make sure numlock is on . N...
- 21 Nov 2019, 12:07
- Forum: Ask For Help
- Topic: Turning ACTIVE playback device off then on
- Replies: 4
- Views: 463
Re: Turning ACTIVE playback device off then on
Not possible in ahk? Not that important that I will use a standalone program since I have a shortcut to the playback tab C:\Windows\System32\control.exe /name Microsoft.Sound /page playback