Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
firefox - name changed trigger
#1
i want to have a function which can interfere when the page changes.
qm is returning 2 times the title using getwintext.

why does this happen ?
thanks


Attached Files
.qml   firefox_change.qml (Size: 470 bytes / Downloads: 329)
pi
#2
The macro runs as many times as firefox changes window text. Insert small delay and check "allow single instance".

Code:
Copy      Help
spe -1
int hwnd=val(_command)
str title.getwintext(hwnd)
;int hwnd=win("Start new topic - Mozilla Firefox" "MozillaUIWindowClass")
;Acc a=acc("Exclamation point" "LISTITEM" hwnd "MozillaContentWindowClass" "" 0x1091)
;a.DoDefaultAction

out title
0.1
#3
another lesson learned.
thanks again, you helped me a lot !!!!
pi


Forum Jump:


Users browsing this thread: 1 Guest(s)