I need to list the toolbaritems in Adobe reader X
I've used the following javascript file called ListItems.js which contains the following code:
Once this is placed in the adobe reader x javascript folder and I open reader I get the pop-up java console window showing me the names of the menu items however it does not list the toolbar items (I know this as if I comment out the part below "List Menu Items in the Console" shown above I get nothing shown in the java console when reader is closed and then reopened).
My guess is that in reader 10 the following code needs to be changed but I don't know what it should be..
Does it look off to any of you? Any recommendations so I can get a list of the toolbar items for Adobe Reader X?
Thanks for your time.
//ListItems.js
//Open Javascript Console
console.show();
//List Toolbar Buttons in the Console
var toolbarItems = app.listToolbarButtons()
for( var i in toolbarItems)
console.println(toolbarItems + "\n")
//List Menu Items in the Console
var menuItems = app.listMenuItems()
for( var i in menuItems)
console.println(menuItems + "\n")
Once this is placed in the adobe reader x javascript folder and I open reader I get the pop-up java console window showing me the names of the menu items however it does not list the toolbar items (I know this as if I comment out the part below "List Menu Items in the Console" shown above I get nothing shown in the java console when reader is closed and then reopened).
My guess is that in reader 10 the following code needs to be changed but I don't know what it should be..
//List Toolbar Buttons in the Console
var toolbarItems = app.listToolbarButtons()
for( var i in toolbarItems)
console.println(toolbarItems + "\n")
Does it look off to any of you? Any recommendations so I can get a list of the toolbar items for Adobe Reader X?
Thanks for your time.
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
rodwyer
13 years ago
Well I didn't have much luck figuring out how to view the tool bar javascript button codes. However my goal was to modify the menu bar items post install easily and that I have accomplished.
The menu bar items are located here in the registry:
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\10.0\AVGeneral\cCommonToolsDesktop]
After the custom adobe reader X install I import the registry file I made that contain the menu bar settings I want.
Goal accomplished.
The menu bar items are located here in the registry:
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\10.0\AVGeneral\cCommonToolsDesktop]
After the custom adobe reader X install I import the registry file I made that contain the menu bar settings I want.
Goal accomplished.
Posted by:
anonymous_9363
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.