December 15, 200520 yr 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?
December 15, 200520 yr 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.
December 15, 200520 yr Author 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.
December 16, 200520 yr 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
December 16, 200520 yr Author 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).
Create an account or sign in to comment