Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open program to specific area on screen
#2
here is a list of possible screen positions to open the window to
uncomment 1 x= and 1 y= to move to a specific location

Function move window example
Code:
Copy      Help
int hwnd
run "$system$\notepad.exe" "" "" "" 0x800 win("" "Notepad") hwnd
int x y
RECT r
;top left
;------------
;x=+1
;y=+1
;Bottom left
;------------
;x=+1
;y=-1
;top right
;------------
;x=-1
;y=+1
;Bottom Right
;------------
;x=-1
;y=-1
;center
;------------
;x=0
;y=0
;top center
;x=0
;y=1
;bottom center
;------------
;x=0
;y=-1
;right center
;------------
;x=-1
;y=0
;left center
;------------
;x=1
;y=0

r.left=x; r.top=y
AdjustWindowPos hwnd &r 3


Messages In This Thread
Open program to specific area on screen - by arig - 01-01-2019, 07:59 PM
RE: Open program to specific area on screen - by Kevin - 01-01-2019, 08:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)