Sr.Paul Posted December 15, 2005 Posted December 15, 2005 I've read the Forums and found bits and pieces of what I need but it's just not clear to me. I have three calculation fields, foldername, path and content. foldername = "[color:red]unique" path = "filemac:/Servername/[color:red]unique/filename.txt" content = "text information about whatever" What I would like my script to do is to loop through a found set and export the "content" field to the path provided by the "path" field. Can it be done without a plug-in?
SlimJim Posted December 15, 2005 Posted December 15, 2005 The usual method is to Set a $ variable as the path (using your calculation) and then in the export script step you can specify the $ variable as the path name.
Sr.Paul Posted December 15, 2005 Author Posted December 15, 2005 Thanks Slim, but I guess I was a bit vague. I believe I have it in theory but what I lack is practice. If you or someone could point me to some reference or to an example, that is what I could really use.
SlimJim Posted December 16, 2005 Posted December 16, 2005 I have constructed an absolutely minimal example. no data, but including a script. I am not able to test this as I don't have a Mac but I can see no reson why it shouldn't work. export.zip
Sr.Paul Posted December 16, 2005 Author Posted December 16, 2005 Slim, you're the man! That did it! I was close but so far away. my $path was too complicated and did not look at all like this: "filemac:/Servername/" & export::foldername & "/" & export::filename & ".txt" (I should post mine in how Not to do things) Thank you very much, I'd been hitting my head against the keyboard for too long (all those hours of wasted code).
Recommended Posts
This topic is 6917 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