Jump to content
Sign in to follow this  
Donovan6

Browse to and record location?

Recommended Posts

Donovan6

Hi fellow AutoIt users,

I have a small problem and i can't find an example of it to try and code my own.

I need to browse to a folder or file location and assign it to a Variable. A good example of what i am trying to do is like an installer for some game mods, where the installer asks you to browse to the games ROOT folder and then it will install the mod in the correct subfolders etc.

I is there an example (i did try search but found only references to browsers etc., not same as what i need) that someone can point me to.

Most basic it would simply be a popup that would ask the user, please locate folder X on your drive...

have a browse button which will open a tree view of the drive...

allow you to click through folders till you find the right one...

Much appreciated, even the most simple example will suffice, i just want to snap the "WAY" you code it, i'll code up an elaborate version of it for my main program.

Thanks guys!

Share this post


Link to post
Share on other sites
water

Function FileOpenDialog or FileSelectFolder?

Edited by water

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
Donovan6

OOOOOOOH haha, its a function already coded for us.

Thanks, this is even easier than i thought it would be.

Is there however, a way to see the functions AutoIt Code? Or is it C++ coded? I'd really love to see how some functions do what they do in autoit script, if it is possible.

Share this post


Link to post
Share on other sites
water

Is there however, a way to see the functions AutoIt Code? Or is it C++ coded? I'd really love to see how some functions do what they do in autoit script, if it is possible.

AFAIK AutoIT is written in C++ and the source code is not available. But please search the forum to get a definite answer.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.