Jump to content

FF.au3 click trouble


Recommended Posts

Hi, im using some code to login into my gmail, and the code works, but if i logout, when i try to login again, it writes the values correctly, but the click part gives out an error:

_FFClick('signIn', 'name')
_FFClick('signIn', 'id')

Gives me this:

 

__FFSend: try{window.content.top.document.getElementById('Email')?1:0;}catch(e){'_FFCmd_Err';};
__FFRecv: 1
Active OBJECT|.getElementById('Email')
_FFLoadWait: . loaded in 10ms
__FFSend: try{window.content.top.document.getElementById('Email').value='moderncareca@gmail.com'}catch(e){'_FFCmd_Err';};
__FFRecv: moderncareca@gmail.com
__FFSend: try{window.content.top.document.getElementById('Passwd').value='XXPASSHEREXX='}catch(e){'_FFCmd_Err';};
__FFRecv: XXPASSHEREXX
__FFSend: try{FFau3.simulateEvent(FFau3.WCD.getElementsByName('signIn')[0],'MouseEvents','click');}catch(e){'_FFCmd_Err';};
__FFRecv: _FFCmd_Err
__FFSend: try{FFau3.simulateEvent(FFau3.WCD.getElementById('signIn'),'MouseEvents','click');}catch(e){'_FFCmd_Err';};
_FFClick ==> No match: $sElement: FFau3.WCD.getElementsByName('signIn')[0]
__FFRecv: _FFCmd_Err
__FFSend: try{FFau3 != null?1:0}catch(e){'_FFCmd_Err';};
_FFClick ==> No match: $sElement: FFau3.WCD.getElementById('signIn')
__FFRecv: 1

 


 

Used to work, checked again with web developer tools, id and name are correct..

EDIT: Solved with _FFFormSubmit()

 :

Edited by careca
Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

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

  • Recently Browsing   0 members

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