cueclub Posted February 2, 2011 Share Posted February 2, 2011 I am trying to find out how to refresh a web address that is tab specific. I am trying to do this by pressing a button.I have 3 tabs all with the same web address loaded into them.Inside the tabs are _IEEmbedded(), _IENavigate() If 1 fails I would like to refresh it.I have tried _IEAction(Byref $Tab, "Refresh") But I am getting the following error --> COM Error Encountered in test.au3----> $IEComErrorScriptline = 301----> $IEComErrorNumberHex = 80020009----> $IEComErrorNumber = -2147352567----> $IEComErrorWinDescription = Unspecified error----> $IEComErrorDescription = ----> $IEComErrorSource = ----> $IEComErrorHelpFile = ----> $IEComErrorHelpContext = 0----> $IEComErrorLastDllError = 0 Not asking for someone to work it for me, Just a point in the right direction. ThanksC Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 3, 2011 Share Posted February 3, 2011 _IEAction() requires an object reference to a DOM element for the first parameter. Is $Tab just the GUI tab's control ID? And you don't put the keyword "ByRef" in the actual call to a function. It only appears in the function declaration. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now