December 1, 200421 yr Newbies Wondering if someone out there can help a newbie... I am setting up a database of many items that I have for sale. Each item has about 5 pictures stored in a file folder with a descriptive name. Eg. C:ItemsAntiquePorcelainVase3557 I would like to set it up so that I can have a thumbnail of one picture and when I click on the thumbnail or a button next to it, it opens up the folder with the rest of the pictures in windows explorer. I've played around a bit with the Open URL command but again, I am a n00b so any help would be appreciated. Thanks. super
December 2, 200421 yr You need to call the OS (or more accurately, windows explorer) to do this: In a Send Event script (Send Message in 6) execute this command: cmd /c %windir%explorer.exe "c:" This line can be calculated to make the foldername part dynamic based on data from your record. "CMD /C" invokes the windows command line interpreter and asks it to quit after executing the command "%windir%" is a system variable storing the folder where Windows is installed and where 'Explorer' is to be found For best results, uncheck the option in the Send Event script step that says "bring target application to foreground" so the users will never see the black dos box come up.
December 2, 200421 yr You can use the format: file:///C:/Items/AntiquePorcelainVase3557 Then use the Open URL script step to open the link in the web browser. If it is a program file, such as a Word document, it will open the document in the associated program. This format, however, will only work on Windows.
Create an account or sign in to comment