kapowdude Posted February 17, 2005 Share Posted February 17, 2005 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 for some reason it wont click on the button it wont click the &Sign On button Link to comment Share on other sites More sharing options...
kapowdude Posted February 18, 2005 Author Share Posted February 18, 2005 (edited) 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 nowEdit: how dumb of me i could have just used {ENTER} or !s for future reference where do i put the classnameNN if i were to use controlclick Edited February 18, 2005 by kapowdude 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