December 1, 201312 yr I am struggling to create paths to save a pdf document on a Mac and Windows desktops. I don't want to save it in a folder just on the desktop. Any help will be appreciated
December 1, 201312 yr The built-in function Get(DesktopPath) is designed for just that purpose, and is cross-platform. Set a variable to Get(DesktopPath) & "YourFileName.pdf" and use that variable in your save command.
December 1, 201312 yr Author I must be missing something. I entered it but there is no file on the desktop. In the Specify Output File dialog box, entered the following calc file:Get (DesktopPath) & mylist.pdf
December 1, 201312 yr No, create a variable (let's call it $thePath): $thePath = Get(DesktopPath) & "YourFileName.pdf" <—note the quotes! In the Specify Output File dialog, enter $thePath .
December 1, 201312 yr Author Well ... I entered different strings with no results $thePath = Get (DesktopPath) & "YourFileName.pdf" $thePath / Get (DesktopPath) & "YourFileName.pdf" $thePath: Get (DesktopPath) & "YourFileName.pdf" Please advise
December 1, 201312 yr It is difficult to answer questions when you provide such incomplete information. Best would be to post your entire file; or a simplified example. Next best would be to post a complete copy of your script. This works best if you print the script to PDF.
December 1, 201312 yr Author Basically, I try to save a pdf file on the desktop using the Save Records as PDF command. That's all. I tried several ways with no results.
December 1, 201312 yr Well ... I entered different strings with no results $thePath = Get (DesktopPath) & "YourFileName.pdf" $thePath / Get (DesktopPath) & "YourFileName.pdf" $thePath: Get (DesktopPath) & "YourFileName.pdf" Please advise The Specify Output File doesn't allow calculations, that's why you need to define the complete path as variable first, then use it as the path expression: Set Variable [ $path ; Get ( DesktopPath ) & "YourFileName.pdf" ] Save Records as PDF … [ Specify Output File: $path ]
December 2, 201312 yr "Basically, I try to save a pdf file on the desktop using the Save Records as PDF command. That's all. I tried several ways with no results." That's why it is more considerate to actually SHOW what you are doing by providing a copy of your file or copy of your script.
Create an account or sign in to comment