Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7298 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.