squidgeny Posted November 4, 2011 Share Posted November 4, 2011 Hi guys, I'm new to AutoIt so I hope my question isn't too newby for someone to answer I have a script that switches between an Excel spreadsheet and another program. It copies data from Excel to the clipboard, Alt-Tabs to the other program, navigates a few menus, pastes the data, hits a few buttons, then Alt-Tabs back. It does this continuously (navigating down a list in Excel) until manually ended with a hotkey. It does all of this using the Send command, but I'm sure there's a better way! My question is: how can I program my script to store the Excel list in an array, so that it doesn't have to copy/paste and alt-tab so much? Thanks! Link to comment Share on other sites More sharing options...
water Posted November 4, 2011 Share Posted November 4, 2011 Please have a look at the help file: User Defined Function Reference -> Excel Management This should get you started. 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 Link to comment Share on other sites More sharing options...
squidgeny Posted November 4, 2011 Author Share Posted November 4, 2011 Is that section available in the online version here? http://www.autoitscript.com/autoit3/docs/ I can't seem to find it. For convoluted reasons I can't use the downloadable help file on my current computer :/ Link to comment Share on other sites More sharing options...
water Posted November 4, 2011 Share Posted November 4, 2011 Check this. 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 Link to comment Share on other sites More sharing options...
squidgeny Posted November 4, 2011 Author Share Posted November 4, 2011 Thanks water, looks like that has everything I'll need 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