Skip to content
+1-888-319-3663

COMMUNITY FORUM

prompt for file name and location

John asked 5 years ago
Is there a way to have a prompt so that the user can select the filename and location?  I found the script that will allow for the user to enter a name, but can it be modified to include a windows explorer prompt to the file location and name?
Answers
Lorren Zemke Staff answered 5 years ago
John,
You can follow this Tech Tuesday article that creates a form using C# to ask for different values other than just a string. http://www.eonesolutions.com/blog-post/tech-tuesday-smartconnect-script-namespaces/
You will have to create a button on your form that would then open the file dialog. http://stackoverflow.com/questions/4999734/how-to-add-browse-file-button-to-windows-form-using-c-sharp
 
Lorren

If you would like to submit an answer or comment, please sign in to the eOne portal.