APost Posted March 13, 2007 Posted March 13, 2007 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.
Genx Posted March 13, 2007 Posted March 13, 2007 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.
APost Posted March 13, 2007 Author Posted March 13, 2007 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now