March 13, 200718 yr 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.
March 13, 200718 yr 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.
March 13, 200718 yr Author 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
Create an account or sign in to comment