Fuse Posted October 19, 2011 Share Posted October 19, 2011 Hey, How can I input pre-defined text into a certain field, then for the script to click a button. To be more specfic: Once this application is open I would like to input "SET USERSTATUS AWAY" in the command line field then for the "Send Comand" button to be clicked (or just "Enter" keyboard input would do?) AutoIT Window Info for command line field on API:Basic Window InfoTitle: Skype Protocol TracerClass: TFormViewer.UnicodeClassBasic Ontrol InfoCall: EditInstance: 1 AutoIT Window Info for "Send Command" buttonBasic Window InfoTitle: Skype Protocol TracerCalss: TFormViewer.UnicodeClassBasic Control InfoClass: TTntButton.UnicodeClassInstance: 7 Hope you can help, I have had a look around to see how it can be done but unfortuantly my AutoIT scripting is VERY limited! Thanks! Link to comment Share on other sites More sharing options...
kaotkbliss Posted October 19, 2011 Share Posted October 19, 2011 3 main functions you will need to look into - WinActive (or WinExists), ControlSend and ControlClick With that placed either in a Do... Until WinExists loop or a While 1... Wend loop. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! 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