Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"if w" strange behavior...
#2
Hi.
This is my QM code used to it could some help.
 
Code:
Copy      Help
;;** Declare
str WindowName = ""
str Notepad = "Notepad"    ;;** CN name?
str RunEXE = "$system$\notepad.exe"

;;** Window Check_and_run Medthod
if win(WindowName Notepad) = 0
    out "Window Is0"
    run RunEXE "" "" "" 0x200    ;;** run file patch
    wait(15 WC win(WindowName Notepad))    ;;** wait Launcher to start (15 sec)

;;** Do something
out "Window IsAlive"
int w = win(WindowName Notepad)    ;;** Get value
act w    ;;** Window Action
mov+ 0.5 0 0.5 1.0 w 4    ;;** Mouse action


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)