Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"if w" strange behavior...
#5
try this

Function Function45
Code:
Copy      Help
int w
run "$system$\notepad.exe" "" "" "" 0x1800 win("" "Notepad") w
int x y cx cy
GetWinXY w x y cx cy;; gets window size and position
out F"{x},{y}, {cx},{cy}";; show size and position in qm output
if(!(x=960 and y=0 and cx=960 and cy=1040));;change these values to your wanted window size and position
,out "need to move"
,mov+ 0.5 0 0.5 1.0 w 4
,act w
else;;not needed just for example
,out "no need to move"


Messages In This Thread
"if w" strange behavior... - by linkiddx - 06-13-2025, 08:00 PM
RE: "if w" strange behavior... - by MitaMind - 06-16-2025, 04:29 PM
RE: "if w" strange behavior... - by Kevin - 06-17-2025, 01:34 PM
RE: "if w" strange behavior... - by linkiddx - 06-19-2025, 11:19 AM
RE: "if w" strange behavior... - by Kevin - 06-19-2025, 02:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)