ICANSEEYOU7687 Posted March 25, 2010 Share Posted March 25, 2010 Basically im at a company and I want to make this program easier for people to use. Basically you log into it, I need a couple buttons pressed and thats it. Im new to autoit but it seems very powerful and maybe can do what I need it to. But I would like to automate the login, and button presses so the users dont have to do it (Lets just say after working in the IT profession, I dont trust users to do these correctly, haha) Is this something that autoit can handle? And if so is there some documentation or info here that I can start to look at, I was browsing around and didnt quite see anything that would help me. But if anyone could give me something to start on I would really appreciate it! thanks! Link to comment Share on other sites More sharing options...
Fulano Posted March 25, 2010 Share Posted March 25, 2010 The command you want to start with is either Run() or ShellExecute(). AutoIt can handle this kinda thing no problem, you've come the the right place. #fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja! Link to comment Share on other sites More sharing options...
ICANSEEYOU7687 Posted March 25, 2010 Author Share Posted March 25, 2010 The command you want to start with is either Run() or ShellExecute(). AutoIt can handle this kinda thing no problem, you've come the the right place.cool I found this tutorial with notepadhttp://www.autoitscript.com/autoit3/docs/tutorials/notepad/notepad.htmand it seems like I would start it the same way. which would solve pretty much the first half of my issue.But for the second part, I need a couple buttons to be pressed, whats the easiest way to do this? Is there a way to search for the buttons, or will I have to use the xy coordinates? It seems that the XY coordinates might mess with with people running different resolutions? Thanks for the quick reply! Link to comment Share on other sites More sharing options...
MasonMill Posted March 25, 2010 Share Posted March 25, 2010 cool I found this tutorial with notepadhttp://www.autoitscript.com/autoit3/docs/tutorials/notepad/notepad.htmand it seems like I would start it the same way. which would solve pretty much the first half of my issue.But for the second part, I need a couple buttons to be pressed, whats the easiest way to do this? Is there a way to search for the buttons, or will I have to use the xy coordinates? It seems that the XY coordinates might mess with with people running different resolutions? Thanks for the quick reply!Look up controls in the help file that comes with Autoit, it is better than mouseclicks. Link to comment Share on other sites More sharing options...
Negative1 Posted March 25, 2010 Share Posted March 25, 2010 cool I found this tutorial with notepadhttp://www.autoitscript.com/autoit3/docs/tutorials/notepad/notepad.htmand it seems like I would start it the same way. which would solve pretty much the first half of my issue.But for the second part, I need a couple buttons to be pressed, whats the easiest way to do this? Is there a way to search for the buttons, or will I have to use the xy coordinates? It seems that the XY coordinates might mess with with people running different resolutions? Thanks for the quick reply!Start the program that you want to click buttons on.Start AutoIt window info tool.mouseover the buttons you want to clickpress ctrl+alt+fcheck autoit window info tool specifically the tab that say "control"if you get a control ID # listed all you have to do is use controlclick() functionGood luck,Feel free to post your findings.-1 What are we going to do tonight Brain?Same thing we do every night Pinky try to automate the world. Link to comment Share on other sites More sharing options...
Valuater Posted March 25, 2010 Share Posted March 25, 2010 (edited) There are two great examples in Welcome to Autoit 1-2-3 8) Edited March 25, 2010 by Valuater Link to comment Share on other sites More sharing options...
ICANSEEYOU7687 Posted March 25, 2010 Author Share Posted March 25, 2010 Awesome! thanks for all the info and starting links, it seems like it will be a create place to start looking and writing something up. I know its annoying with newbies asking about things already documented, but this gives me a create starting point! thanks all 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