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

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

Recommended Posts

Posted

I need to script that Imports a picture from a network share into a container. I found the "Import Picture" script step and it works great when I enter the whole string such as

imagewin://Home-dc/ShareName/RealFile.jpg

But it's a lot quicker to do it manually than have to type that novel out every time. I haven't figured out how to replace the RealFile.jpg with something like FileName&".jpg" that will get the name of the file from the value in a field named FileName.

Posted

you have to use a variable...

so you use:

Set Variable[ $path ; "imagewin://Home-dc/ShareName/" & Table::NovelName & ".jpg" ]

Then in the import picture script step, specify the path to be $path.

Posted

I sort of thought it might be something like that. I was trying to figure out how to get a variable into the string, and didn't step back far enough to see that the answer was to make the entire string the variable. Thanks a zillion

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