ubetchabob Posted October 27, 2008 Share Posted October 27, 2008 (edited) Just discovered this program last week and have been playing around with it. I've wrote a simple script to do what I need. If WinExists("BluVista")Then WinActive("BluVista") SendKeepActive("BluVista") $i = 0 Do send("{F8}") sleep(1000) send("{enter}") $i = $i + 1 Until $i = 5 EndIf I would like a simple GUI with an input value that relates to the $i=5 and a start button; just not quite sure how to do it. Any assistance is greatly appreciated Edited October 27, 2008 by ubetchabob Link to comment Share on other sites More sharing options...
martin Posted October 27, 2008 Share Posted October 27, 2008 Just discovered this program last week and have been playing around with it. I've wrote a simple script to do what I need.If WinExists("BluVista")ThenWinActive("BluVista")SendKeepActive("BluVista") $i = 0Dosend("{F8}")sleep(1000)send("{enter}")$i = $i + 1Until $i = 5EndIf I would like a simple GUI with an input value that relates to the $i=5 and a start button; just not quite sure how to do it.Any assistance is greatly appreciatedLook up GuiCreate and GuiCtrlCreateButton in the help and play with the examples for them. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
ubetchabob Posted October 27, 2008 Author Share Posted October 27, 2008 Look up GuiCreate and GuiCtrlCreateButton in the help and play with the examples for them.Thanks, I'll try that and see what i can come up with. Link to comment Share on other sites More sharing options...
Zedna Posted October 27, 2008 Share Posted October 27, 2008 Also look at Koda form designer: http://www.autoitscript.com/forum/index.php?showtopic=32299You can create AutoIt's GUIs visually and very easily and it generates AutoIt GUI code for you. Resources UDF ResourcesEx UDF AutoIt Forum Search 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