AnsweredAssumed Answered

script remote save record as pdf with auto naming and without auto saving path?

Question asked by lidyswan on Jul 11, 2013
Latest reply on Jul 21, 2013 by lidyswan

Title

script remote save record as pdf with auto naming and without auto saving path?

Post

     Hi guys,

     I  work remote in a database which is located on a filemakerserver 12. I use a script to save records to pdf with absolute mac file path and automatical naming the pdf's on the basis of some fieldnames. This is working fine:

     Set Variable [$path; Value:"filemac:/MacHD/Users/username/Documents/foldername/" & "filename" & Groups::Groupname & ".pdf"
     Print Setup [Restore; No dialog]
     Save Records as PDF [Restore; No dialog; "$path"; Current record]


     Now a few co-workers want to share the same file. How can I change the script to still add the filename automatical, but let the user decide her/his savingpath. I've tried a lot, but don't get it and don't fully understand the path syntax. Also the platforms are mixed mac / windows.

     thankx in advance!

     Lidy

Outcomes