January 7, 200719 yr Hi there - I have a script which imports image thumbnails into a field using Import Records command. I have created a button to execute this script, but I would like to have this button bring up a pop up window which will allow the user to browse to the folder which contains the images to be imported. Basically, I need to specify the data source as a folder, and then allow the user to add a folder to the "folder path" list. Any suggestions appreciated!
January 8, 200719 yr Hi otari, If I understand you correctly, you would like the user to see the standard file dialog and choose the source folder for the scripted import when the script runs. That being the case, if you go into the script editor for the script in question and select the Import Records step, you'll see at the lower right an option to specify data source and you will presumably have selected "Folder..." from the adjacent list. If you select "Folder..." again, a dialog called "Folder of Files Import Options" will appear. In the upper section of the dialog is a button to specify the folder location. Clicking on this button brings up a further dialog into which a Folder Path List can be entered. If you delete any file paths from the Folder Path List and save the change, then when the script runs the user will be presented with a file dialog in which to browse and choose the folder from which to import. :wink2:
Create an account or sign in to comment