Copy link to clipboard
Copied
How to get "Desktop Path" for different computers with different usernames?
Do I need to manually set the path in the script each time?
var path = "~/Desktop";
I found it, and it turns out that one sentence can solve it.
Hi m1b.
I tested it.
var desktopPath = “~/Desktop/pdf/”;
It is also recognized in windows.
I tried this one you gave me and it works.
var desktopPath = Folder.desktop;
var myPDFFile = new File(desktopPath +"/"+"pdf"+"/" + myFormattedDate + "-" + myFileName + ".pdf");
When you have time, research how the images fit into the column widths.
For type area,and margins. Zoom in or out in equal proportion.
Thank you very much.
Copy link to clipboard
Copied
var path = "~/Desktop";
I found it, and it turns out that one sentence can solve it.
Copy link to clipboard
Copied
But it's for Macs only.
Copy link to clipboard
Copied
I have test,
It can run at windows
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi m1b.
I tested it.
var desktopPath = “~/Desktop/pdf/”;
It is also recognized in windows.
I tried this one you gave me and it works.
var desktopPath = Folder.desktop;
var myPDFFile = new File(desktopPath +"/"+"pdf"+"/" + myFormattedDate + "-" + myFileName + ".pdf");
When you have time, research how the images fit into the column widths.
For type area,and margins. Zoom in or out in equal proportion.
Thank you very much.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more