Jump to content

help with controlclick


 Share

Recommended Posts

ok... so.... I'm trying to make a script that logs on to AIM for me.

for what i have:

Run("C:\Program Files\AIM+\AIM+.exe")
WinWaitActive("Sign On")
Sleep("1000")
ControlClick("Sign On", "<New User>" , 1001)
Send("+{home}")
Send("{del}********")
ControlClick("Sign On", "&Sign On" , 2 )
WinWaitActive("********'s")
WinWaitActive("AOL(R) Instant Messenger(TM)")
WinClose("AOL(R) Instant Messenger(TM)")

The **"s are my user name :lmao:

for some reason it wont click on the button

it wont click the &Sign On button

Link to comment
Share on other sites

sometimes a control needs focus... try ControlFocus before the ControlClick... and sometimes a programmer will reuse the controlID... try the ClassnameNN or the text of the control...

Lar.

<{POST_SNAPBACK}>

ok thanks i will try that out now

Edit: how dumb of me i could have just used {ENTER} or !s :lmao: for future reference where do i put the classnameNN if i were to use controlclick

Edited by kapowdude
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...