May 20, 200817 yr I'm trying to get the script step, Save Records as PDF, to work with a variable filepath cross platform, but I can't remember the syntax. I'm starting with: Set Variable[$filepath; Get(TemporaryPath) & ORDERS::Invoice Number & ".pdf" This works fine on the Mac, but not a PC. I'm getting an error message that the file could not be created. What am I missing? Thanks, DJ
May 20, 200817 yr Try Set Variable [ $filepath; "filewin:" & Get ( TemporaryPath ) & ORDERS::Invoice Number & ".pdf" ]
May 20, 200817 yr Author Don't know how I forgot that. The Mac doesn't need a prefix, it's been working fine without it, but now I've added a Case() that will assign the filewin or filemac as needed. Just need to test it...
Create an account or sign in to comment