Jump to content

FF.au3 - trap user FF button click in Autoit?


Recommended Posts

have to convert code over to FF as IE.au3 will not open local file when html page is also file:///. Cannot work out the equivalent of

Local $oIEEvents = ObjEvent(_IEGetObjById($oIE, "mylink"), "_MyLink_", "HTMLAnchorEvents2")

Func _MyLink_onclick()
    MsgBox(0, "Yes!", "You clicked!")
EndFunc   ;==>_MyLink_onclick

Tried to use _FFXPath to get object string representation to plug into ObjEvent but got nowhere. Is there an example of e.g. trapping a FF button click within AutoIt? tia.

Edited by crzymnmchl
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...