davidzmx6637 Posted January 18, 2013 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.
water Posted January 18, 2013 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
davidzmx6637 Posted January 18, 2013 Author 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
water Posted January 18, 2013 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
davidzmx6637 Posted January 18, 2013 Author 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:
water Posted January 18, 2013 Posted January 18, 2013 Can you post what you have coded so far? My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
davidzmx6637 Posted January 18, 2013 Author 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
water Posted January 18, 2013 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
davidzmx6637 Posted January 18, 2013 Author 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:
water Posted January 18, 2013 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
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