Hello,
I had an interesting Idea. I work in the Architecture/Engineering/Construction, known as the AEC industry. They spend a lot of time with drawings, picking points to select lines and others. As you can imagine this is very non-ergonomic for your wrist.
Would it be possible to write a script, using some sort of OCR, to have the mouse cursor start at a position and press a key to have the cursor move around the lines? To perfect this would be complex as there are many variants to line-width, circles, and etc but simple to move until you hit a corner would make things a lot easier and help people.
Any ideas?
Using Keyboard to Move Mouse Cursor around Lines on Screen
Re: Using Keyboard to Move Mouse Cursor around Lines on Screen
Here is something to start with, press WinKey+Left/Right/Up/Down to follow the line:
Code: Select all
SetBatchLines,-1
CoordMode,Mouse,Screen
CoordMode,Pixel,Screen
Return
#Left::
#Right::
#Up::
#Down::
Loop {
MouseGetPos,mx,my
ax:=mx+(A_ThisHotkey="#Left"?-1:A_ThisHotkey="#Right"?1:0)
ay:=my+(A_ThisHotkey="#Up"?-1:A_ThisHotkey="#Down"?1:0)
PixelSearch,x,y,% ax,% ay, % ax,% ay,0x000000,50, Fast
If ErrorLevel
break
MouseMove,% x,% y, 0
}
Return
Re: Using Keyboard to Move Mouse Cursor around Lines on Screen
HotKeyIt wrote:Here is something to start with, press WinKey+Left/Right/Up/Down to follow the line:
Wow Thanks! Didn't think it would be this simple to get the idea started. Thank you!
Who is online
Users browsing this forum: mstrauss2021 and 328 guests