Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Button 'SaveAs'

Level 2
Level 2
I have been trying to setup a pdf to save to a predefined path with a click on a button.

I tried this code :

var aDocs = app.activeDocs;

var myDoc = aDocs[0];

myDoc.saveAs("C:\\" + Title.rawValue + ".pdf");

But i have this error :

myDoc has no properties


Thanks in advance...
19 Replies