Sign in to follow this  
Followers 0
michalss

Windows Browse Folder Automation

2 posts in this topic

#1 ·  Posted (edited)

Hi all,

I'm kind of new to AutoIT scription, but anyway im facing the problem in here with windows generated Browse Folder Dialog.

I'm trying to automate browse for the folder located in the Prog Files, but Dialog is not generated by my aplication, but that appz i'm trying to automate. See image below pls. Is there anyway to auto navigate the curson on the Prog Files Folder in that Browse dialog without to use Arrows? Ther reason is im need to run it on many diff. machines and if i would use arrows keys it could cause problems coz there is not aways the same directory structure on the c: drive.

Thx for any comment or help.

post-61034-0-20509000-1288945637_thumb.j

Edited by michalss

Share this post


Link to post
Share on other sites



You will have to check out the dialog window and the control with the AutoIt Window Info Tool (AU3Info.exe) and work with the control (probably SysTreeView32 class). You can work it with ControlTreeView() or the _GuiCtrlTreeView_* UDFs. See the help file.

Another possibility is to see if that app keeps the default settings/locations in an .INI or .XML file or registry settings you could edit easily to avoid working with that GUI at all.

:graduated:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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