Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
monitor blank area of window for any change
#13
you didn't copy code correctly

read here on how to copy code to and from qm forum

http://www.quickmacros.com/forum/showthread.php?tid=786

also your code can be greatly improved to not rely on mouse clicks .. The problem with mouse clicks and using x any y coordinates is if you change window size or screen resolution they won't work..


here is an improved version

Code:
Copy      Help
RECT r
SetRect &r 2000 710 2500 900
int w=win("WSJT-X   v2.0.0   by K1JT" "Qt5QWindowIcon")
Acc a
rep    
,wait 0 -S "" w r 16
,a.Find(w "PUSHBUTTON" "Halt Tx Alt+H" "" 0x31)
,a.DoDefaultAction
,lef 3652 1388 w 1 ;;radio button    
,a.Find(w "PUSHBUTTON" "Erase Alt+E" "" 0x1)
,a.DoDefaultAction
,a.Find(w "CHECKBUTTON" "Enable Tx Alt+n" "" 0x1001)    
,a.DoDefaultAction


can be improved further

what are you clicking in this line lef 3652 1388 w 1 ;;radio button

if you let me know what it is i can probably find a better way that doesn't use the mouse and coordinates


Messages In This Thread
RE: monitor blank area of window for any change - by Kevin - 01-24-2019, 10:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)