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

custom pdf view

falteri
Registered: Apr 13 2007
Posts: 4

Hi Tom,
 
this is my previous questione and your related answer:
Q: how can i disable search functions (I mean find button) for a pdf document?
 
A:You can never completely hide UI controls from the user. They can always reset UI, but you can customize the Acrobat UI from a folder level script with:
 
app.hideToolbarButton();
 
This function is privileged and can only be executed during Acrobat initialization. It cannot be run from a document script.
 
To use this function you need the names of the toolbar buttons. Download the "Menu Item and Toolbar Report Generator" at:
 
[link=http://www.windjack.com/products/freestuff.php]http://www.windjack.com/products/freestuff.php[/link]
 
Now I ask you: is this only possible with a stand alone installation af Acrobat, or it is also possible with Acrobat plugins to hide find/saerch functions from an Internet Browser opening a pdf document?
 
Many thanks
Simone

My Product Information:
Acrobat Standard 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
I don't think you can do this from a browser plug-in, but I can't say that I'm sure. Communication with the Acrobat from other application is done throught the IAC API (Inter-application Communication). I know there are functions in there for modifying the Acrobat UI, but I don't know if there is anything in there specifically for hiding toolbar buttons. Maybe.

The documentation is at:
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Click on Documentation and scroll down.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script