Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
monitor blank area of window for any change
#28
KEVIN:  Your updated code,  when run BY ITSELF,  will clear the right window when the 9th line of text is displayed.  There are a possible 31 lines on the window so it is "rebooting" after top 29% is populated instead of allowing it to go to the BOTTOM 20-25% before rebooting window.  However, when I add in another macro that actually logs the contact then it stops rebooting the right window all together.  Do the two macros need to be built into one?  Also, when the WSJTX macro runs and a contacc is logged there is a small box that pops up with contact information that does cover part of the right window temporarily.  This is a WSJTX program window.  Now for the two macros for you to inspect for the problem.

WSJTX macro:
Code:
Copy      Help
Macro [b]WSJTX[/b] [help1][/help1]
Trigger [b]$a 130 0 "" "Qt5QWindowIcon" "" "WSJT-X   v2.0.0   by K1JT - Log QSO"[/b] [help2][/help2]
[code];\
;\
function hwnd idObject idChild
;Acc a.FromEvent(hwnd idObject idChild)
;out a.Name

#region Recorded 1/22/19 7:03:07 PM
int w1=win("WSJT-X   v2.0.0   by K1JT - Log QSO" "Qt5QWindowIcon")
lef 238 17 w1 ;;title bar
lef 335 401 w1 1 ;;dialog 'WSJT-X   v2.0.0   by K1JT -...'
int w2=act(win("WSJT-X   v2.0.0   by K1JT" "Qt5QWindowIcon"))
lef 1750 1068 w2 1 ;;push button 'Erase Alt+E'
lef 3652 1390 w2 1 ;;radio button
lef 2558 1072 w2 1 ;;check box 'Enable Tx Alt+n'
#endregion

Now what I call the START macro that does both:
Macro will not insert here but it is only two lines:

mac KevinBlankAreaCk2
mac WSJTX

[/code]


Messages In This Thread
RE: monitor blank area of window for any change - by AggieBQ1972 - 02-06-2019, 10:00 AM

Forum Jump:


Users browsing this thread: 8 Guest(s)