Answered
Modifing the master page through ExtendScript
Hi everyone,
I would like to use ExtendScript to modified the master page of my document but it doesn't work.
Here is my code:
var doc = app.ActiveDoc;
var mp = doc.FirstMasterPageInDoc;
var tempWidth = mp.PageWidth;
mp.PageWidth = mp.PageHeight;
mp.PageHeight = tempWidth;
When I look into my variable with a debugger, it behave like it is in read-only mode
When I look into my variable with a debugger, it behave like it is in read-only mode
