Newbies superduperdonke Posted December 1, 2004 Newbies Posted December 1, 2004 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
Wim Decorte Posted December 2, 2004 Posted December 2, 2004 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.
DykstrL Posted December 2, 2004 Posted December 2, 2004 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.
Newbies superduperdonke Posted December 3, 2004 Author Newbies Posted December 3, 2004 COOL! Thanks for the help!
Recommended Posts
This topic is 7298 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now