Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recognizing Website?
#5

This works for me, Keep in mind that im using Internet Explorer 7. I read http://www.quickmacros.com/help/QM_Help/...G_ACC.html to help me on the trigger.


Function ( hi_QM ) Trigger ( $a 142 -4 0 "Edit" 41477 "" "IEFrame" "Internet Explorer" 0 )
Code:
Copy      Help
function hwnd idObject idChild
;Acc a.ObjectFromEvent(hwnd idObject idChild)
str WWW.getwintext(hwnd)
out WWW

OR

Function ( hi_QM ) Trigger ( $a 142 -4 0 "Edit" 41477 "quickmacros.com" "IEFrame" "Internet Explorer" 0 )
Code:
Copy      Help
function hwnd idObject idChild
;Acc a.ObjectFromEvent(hwnd idObject idChild)
str WWW.getwintext(hwnd)
out WWW


Code:
Copy      Help
To discover events and object properties, use accessible object event logging. Right click the output pane and check Log -> Acc. events in the menu. In the logging options dialog you can specify certain filters, to exclude some types of events and objects. Following events are always excluded: LOCATIONCHANGE where idObject is CURSOR, console events, and events in QM thread. Triggers in QM thread also don't work.



For each event, in the output is displayed indexed string that has this format:

i. event, idObject, idChild

    ow: object window class, id and text

    pw: top-level parent window class and name

    ao: accessible object properties



Properties that cannot be retrieved are not displayed. For example, if the object window is top-level window, it does not have parent window, and pw line is not displayed. In the Properties dialog, leave corresponding fields empty.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)