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

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

Recommended Posts

Posted

Database contains a container field.  I want a script that exports the field content to a desktop folder as a jpeg.  

I have this working on my test machine just fine.  However, if I go to another machine on the network it won't work because it's trying to look for the folder on the desktop of the machine I created the script on.

So how do I set the file path so that a new folder will be created on the desktop of the logged in user regardless of the machine they use?

 

This is the relative filepath I'm using:

filewin:/C:/Users/sjhmcgivernj1/Desktop/S6 as S1 or S3/$test1.jpg

 

Thanks

 

John

Posted

use Get(DesktopPath) to construct the path & filename for the exported file, set that whole path in a variable

and use only the variable in the Export script step

This topic is 3901 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.