Sign in to follow this  
Followers 0
autotune

Using Excel to Search in another program and download

2 posts in this topic

#1 ·  Posted (edited)

Hello,

I just want to start saying that I "was born yesterday" to Autoit. I have found little things I can do with it but the big things like doing repetitive tasks are seem easy in thought but since i dont know the language very hard to perform.

With that said here is what i need to do with my task at hand that involves over 200 documents. Doing this manually would take loads of time that i dont have and i also thought that this could be a tutorial for me for future purposes

First off, I have an excel spreadsheet that has the list of documents i need to retrieve from another program (Smart Plant Foundation). I basically need comb thru each document name (1 by 1 down the list) and search for that same document name in SPF to download that file. Sounds simple enough? No...

SPF is very pick on how you obtain files. I would have to search the document name first and then right click on the file, scroll to file, then choose save target as and select a location to save the target.

Please help!!! Let me know if you need more of an explanation as I usually leave a few details out!

Please take a look below at my the example

post-86606-0-05476400-1405511465_thumb.p

Edited by autotune

Share this post


Link to post
Share on other sites



To read Excel into an array which you then can loop through I suggest to check function _Excel_RangeRead that comes with the latest version of AutoIt.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0