Jump to content
Sign in to follow this  
Guest bassorider

Files And Variables

Recommended Posts

Guest bassorider


Is there a way to take all the recieved file strings from the file open dialog, and put them into separated variables.

The number of selected files will be different from each time.

Later in the script i would do a For loop with all the files, until theres no more files to work with.

can anybody help me?

Share this post

Link to post
Share on other sites

this should show you how it works and how to do what ya want:

$var = FileOpenDialog("test", "C:\Windows\", "Images (*.jpg;*.bmp)", 1 + 4 )
For $i = 2 To $files[0]

AutoIt3, the MACGYVER Pocket Knife for computers.

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.