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

how to change "Organizational unit" item in preference->identity ?

kendrew
Registered: Oct 27 2006
Posts: 29

as above mentioned:
Any one knows how to change "Organizational unit" item in preference->identity by Javascript? Since there is no such property in the identity object.

like change the name of identity:

identity.name ='ABC';

thanks

Kendrew.

My Product Information:
Acrobat Pro 7.0, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
You have to make sure you are using the name in JavaScript for the identity element. The JavaScript element does not always follow the elements of the Preferences. One can not get to the 'Title' or 'Organizational Unit'.

for(i in identity)console.println(i + ': ' + identity[i]);console.println('');

Returns:
Quote:
loginName: UserName
name: User Name
corporation: My Corp
email: user [dot] name [at] example [dot] com
But one could create one with a folder level JavaScirpt.

George Kaiser