Jump to content

Recommended Posts

Posted (edited)

I am running a script on firefox it al works fine ,when suddently autoit isnt focused on the browser anymore

so all codes after that will be lost,

here is an example of it

__FFSend: FFau3.xpath=null;try{FFau3.xpath=FFau3.WCD.evaluate("//input [@type='button']",FFau3.WCD,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;}catch(e){'_FFXPath_Error: '+e;};
; working fine

__FFRecv: [object XrayWrapper [object HTMLDocument]] - {location: {...}, x-auto-57: {...}, getElementsByName: function() {...}, getItems: function() {...}, open: function() {...}, close: function() {...}, write: function() {...}, ...}
__FFSend: try{FFau3.simulateEvent(FFau3.xpath,'MouseEvents','click');}catch(e){'_FFCmd_Err';};
__FFRecv: 

; not focused on firefox anymore

__FFWaitForRepl ==> Error TCPSend / TCPRecv: TCPRecv :10053
_FFOpenURL: http:website.nl
_FFClick ==> No match: $sElement: FFau3.xpath
__FFSend ==> Error TCPSend / TCPRecv: TCPSend: try{window.content.top.document.location.href='http://tweepi.com/tools/follow_by_followers#480'}catch(e){'_FFCmd_Err';};
_FFCmd ==> Error return value
_FFLoadWait: ._FFOpenURL ==> No match: http:website.nl
__FFSend ==> Error TCPSend / TCPRecv: TCPSend: try{FFau3.tmp=window.getBrowser().webProgress;FFau3.tmp.isLoadingDocument && FFau3.tmp.busyFlags ? false: true;}catch(e){'_FFCmd_Err';};
_FFCmd ==> Error return value
.__FFSend ==> Error TCPSend / TCPRecv: TCPSend: try{FFau3.tmp=window.getBrowser().webProgress;FFau3.tmp.isLoadingDocument && FFau3.tmp.busyFlags ? false: true;}catch(e){'_FFCmd_Err';};
_FFCmd ==> Error return value 

I dont know if I need to  us: "If error then (Do part of the script over)" because I dont know if its an error, its (somehow) not focused anymore.

Edited by Arclite86

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...