Sign in to follow this  
Followers 0
careca

FF.au3 click trouble

1 post in this topic

#1 ·  Posted (edited)

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

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

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

BeatsPlayer - Music player.

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

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.

Firefox Profile Backup - Backup/restore previously saved profile.

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

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

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0