These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

change Initial View Setting With JavaScript

Blued_z
Registered: Sep 26 2008
Posts: 5
Answered

I want write some scripts to change initial View setting of a PDF file.
for example I want change value of "magnification" from "default" to "Fitpage".
I try this code : " this.zoomtype = zoomtype.fitP; ", it can change the current zoomtype. but the value of magnification in "Initail View" still eval "default" not "Fitpage", that means this change can not be saved in the PDF File.
So, how can i change magnification value in "initail View" of a PDF file use srcipt?

thanks helper in advance :)

My Product Information:
Acrobat Pro 8.0, Windows
saraveenan
Registered: Oct 21 2007
Posts: 38
Be specific, do you need this to be done only using javascript?

there are other ways to do this. You can batch process the files to set the initial view by using "open options" option. Or there lot of third party tools available.

Regards,

Saravana :)

Saravanan Murugesan

Blued_z
Registered: Sep 26 2008
Posts: 5
saraveenan wrote:
Be specific, do you need this to be done only using javascript?there are other ways to do this. You can batch process the files to set the initial view by using "open options" option. Or there lot of third party tools available.

Regards,

Saravana :)
Thank u very much, u advise is really useful .
would u pls tell me name of some "third party tools" u metioned?
and javascript can't do this, right?

best regards :)
saraveenan
Registered: Oct 21 2007
Posts: 38
Hi Blue,

There are lot of Third party tools available. Try Compose or ARTS PDF Aerialist. You can do this easily.


Regards,

Saravana :)

Saravanan Murugesan

Blued_z
Registered: Sep 26 2008
Posts: 5
I have got ARTS PDF Aerialist.
thank u, Saravana :)