Posts: 1,271
Threads: 399
Joined: Mar 2003
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
Posts: 12,073
Threads: 140
Joined: Dec 2002
The macro runs as many times as firefox changes window text. Insert small delay and check "allow single instance".
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
Posts: 1,271
Threads: 399
Joined: Mar 2003
another lesson learned.
thanks again, you helped me a lot !!!!