davidzmx6637 Posted January 18, 2013 Share Posted January 18, 2013 Hi there (who ever thats reading) i am completely new to scripting in general, my first time trying to script xD. im trying to use Autoit to type in an order.. idk how to explain like: waiting1 waiting2 waiting3 waiting4 etc.... waiting400 End. can anyone tell me which Function to use and how to use it? Please and thnx. Link to comment Share on other sites More sharing options...
water Posted January 18, 2013 Share Posted January 18, 2013 Welcome to AutoIt and the forum! Where do you want to "type in" the data? A GUI written by you, the GUI of an application you didn't write yourself, a web page? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
davidzmx6637 Posted January 18, 2013 Author Share Posted January 18, 2013 (edited) type into a website i kinda figure out how to make it type with, "Send" but idk how to make the numbers increase by 1 repeatedly. Edited January 18, 2013 by davidzmx6637 Link to comment Share on other sites More sharing options...
water Posted January 18, 2013 Share Posted January 18, 2013 If you use the Internet Explorer as browser then the IE UDF is the way to go. There are a lot of functions to handle forms starting with _IEForm.BTW: Please use meaningful thread titles. Everyone needs help on the General help and Support forum My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
davidzmx6637 Posted January 18, 2013 Author Share Posted January 18, 2013 i read that to make the numbers increase by 1 i should use Enum, but i dont understand how to use it. D: Link to comment Share on other sites More sharing options...
water Posted January 18, 2013 Share Posted January 18, 2013 Can you post what you have coded so far? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
davidzmx6637 Posted January 18, 2013 Author Share Posted January 18, 2013 WinActivate("Mozilla Firefox") Send("s_lava1") [scope] Enum [step <stepval>] <constantlist> Send("{tab}") Send("upghigh") Send("{tab}") Send("left") Send("{tab}") Send("s_lava1") [scope] Enum [step <stepval>] <constantlist> Send("{tab}") trying to get the numbers to increase Link to comment Share on other sites More sharing options...
water Posted January 18, 2013 Share Posted January 18, 2013 Which application do you want to automate? You need a variable where you store the number. You concatenate the string part "s_lava" and the number and then send it. Sending and increasing must be done in a loop. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
davidzmx6637 Posted January 18, 2013 Author Share Posted January 18, 2013 Loop meaning While 0=0 and WEnd, right? so it would be like: Send("s_lava" "1")? how do i add in variable? using Const? example please? im getting confused D: Link to comment Share on other sites More sharing options...
water Posted January 18, 2013 Share Posted January 18, 2013 Something like: For $iIndex = 1 to 400 Send("s_lava" & $iIndex) Next My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki 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