Sign in to follow this  
Followers 0
roofninja

user to select a file for use

3 posts in this topic

I did some searching for this but I didn't find an answer to my question, so here it is...

I am wanting to have the script to prompt the user to search or select the file to be used in this program. They are all going to be a .xls file but not always named the same thing.

I did find FileSelectFolder, which is great for finding a folder but not a file. Do I need to make a script to do this or is there a built in command I haven't found?

Thanks.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites



Are they all in a common directory? You could always use a FileOpenDialog and let them doubleclick on the file they want to use:

FileOpenDialog( "Select File", <directory you want them to look in>, "All (*.*)" ) ; you can trim this down to .xls, .txt, or whatever.

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Thanks. I haven't done much programming in the last few years. My job changed on me and I miss it and out of practice.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

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