Need to hide a toolbar using plug-in

I'm trying to create a plug-in that would customize the default toolbar which loads in acrobat. I know the methods to retrieve the toolbar n hide buttons individually. I tried this :
const
char * toolbarName= "Tasks" ;AVToolBar myToolBar = AVAppGetToolBarByName(toolbarName);
AVToolButton mySecureButton = AVToolBarGetButtonByName(myToolBar,ASAtomFromString(
"SecureTaskButton"));
AVToolButtonRemove(mySecureButton);
AVToolBarUpdateButtonStates(myToolBar);
However, when i opened acrobat, the button is still there. I tried changing SecureTaskButton to SecureTask. Didnt work either. But, when i put alert notes in between the codes the alert notes all seem to be working. Is there anything wrong with the code? And also is there a method i can call to hide the whole toolbar instead of hiding all the buttons individually? Please help.

This plug-in is for a corporate based project. The idea is to limit the control users have over the Electronic .pdf document loaded in a web browser. Thus the default toolbar which loads should only have selected buttons. And to prevent the user from adding more tools on their own, the context menu needs to be disabled as well.
I have tried using the customization wizard but i cannot figure out how it works exactly. And i cant seem to find any detailed documentation to help users manipulate the functions of the customization wizard.
For now i have removed most of the tools not needed from the default toolbar using my plug-in. But i still cannot remove some of them because their button names seem to be incorrect. For example, the secure button on the Tasks toolbar is called SecureTasksButton. I put an alert in the code to pop-up if no such button can be found. And when i run the plug-in all other buttons are removed except this 'Secure" button and the alert pop-ups. Do you have any solutions i can consider?

Similar Messages

  • Hide toolbar using about:config

    Hello. i want to automate this process.
    i want to hide the menu bar, bookmarks bat and navigation toolbar using about:config or some thing similar.
    i know i can just right click on the and untick them. but i need to do this automaticly user abour:config or user.js
    i need this doing this way because firefox is already installed on the computers and cant go to all of them and do it manually .
    thanks.

    Note that your System Details List shows that you have a user.js file in the profile folder to initialize some prefs on each start of Firefox.
    The user.js file is only present if you or other software has created it, so normally it wouldn't be there.
    You may want to check its content with a plain text editor if you didn't create this file yourself.
    The user.js file is read each time you start Firefox and initializes preferences to the value specified in this file, so involved preferences can only be changed temporarily for the current session.
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved

  • Help! I'm in UK and need to recharge but when I plug in (using a power converter) the square white batter pack is buzzing - what does it mean????

    Help! I'm in UK and need to recharge but when I plug in (using a power converter) the square white unit is buzzing - what does it mean? I am using a power adaptor that works for other items - shaver, phone etc. and they don't buzz - it's coming from the square white unit before it's connected to the computer so I don't want to then connect my mac incase it means there's something wrong. Getting desperate as I need to recharge!! Thanks for any help!

    Hi
    If you're using a converter that changes the voltage from the UK ~230V to say 120V, rather than just a converter to different outlet/plug/socket sizes - then that's likely the problem.
    All the Apple power units I've seen are rated from 100V to  240V & do not require any sort of voltage converter, just something to let you plug it into a UK outlet (or an Apple cable/connector set). Many cheap voltage converters can cause buzzing as you've described.
    Many supermarkets & hardware/general stores will sell the right 'adaptor' for a couple of £UK - I'd find one rather than continue with the buzzing.

  • When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    Does Firefox switch to full screen if you press F11 ?
    You can also try the F10 key to see if that brings up the menu bar.
    * If the above steps didn't help then see http://kb.mozillazine.org/Corrupt_localstore.rdf
    Note: Do not delete localstore.rdf in the program folder (Windows: "C:\Program Files\Mozilla Firefox\defaults\profile\") (Mac: "/Applications/Firefox.app/defaults/profile/")

  • HT5243 How does one know if they use "java applets"? What do they do? How will I know if I need to 'disable the java web plug-in browser' if I do not use them? ( I'm not very literate in computer-speak.

    How does one know if they use "java applets"? What do they do? How will I know if I need to 'disable the java web plug-in browser' if I do not use them? (Obviously I'm not very literate in computer-speak.)

    Well, when you go to a web page a section of the web page will have a coffee cup picture where the java applet will run. The applet loads then runs. If you are not seeing this behavior then you are not using java. If it make you feel more comfortable then disable the browser java plugin. On my machine I have not disable java- but you
    may what to.

  • How do add a toolbar to the yahoo firefox? I have a program already downloaded. I need help adding the toolbar.

    I use Roboform and after I downloaded Yahoo Firefox it no longer appeared as one of my toolbars. How do I get it back? I need it for those sites I visit once and a while and filling out forms. I'm using MS 8.1. Thanks.

    If Firefox was able to load and activate the Roboform extension, then you should be able to turn on the toolbar using one of these methods:
    * right-click a blank area of the tab bar, then click on Roboform
    * right-click the "+" button on the tab bar, then click on Roboform
    * "3-bar" menu button > Customize > Show/Hide Toolbars > Roboform
    * (classic menu bar) View menu > Toolbars > Roboform
    If Roboform does not appear on the available toolbar list, could you check to confirm that it is enabled on the Add-ons page? Either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions. In the list on the right, the disabled extensions are at the bottom of the list.

  • Is there a short/hotkey to show/hide bookmark toolbar?

    I would like to have in options>bookmark toolbar unchecked, and a hot key or shortcut key to show or hide the bookmark toolbar.
    Having it checked takes room, and the autohide mouse hover addons get annoying when your going type in the URL bar and not use the bookmarks.
    Is there a hotkey for this.
    Thank you in advance.

    ''Is there a short/hotkey to show/hide bookmark toolbar?''
    There is no keyboard shortcut for the bookmarks toolbar.
    "Alt" will display the Menu Bar
    "Ctrl+/" toggles the add-on bar
    "Ctrl+K" displays Search bar because that is its entry area.
    "Ctrl+L" displays Location bar because that is its entry area.
    But there are alternatives, and you could set up zombie mode with the "Auto Hide" extension, so that the that is the only toolbar hidden or not hidden, though I wouldn't do that.
    You can use F11 to toggle Full Screen mode, which hides title bar and toolbars.
    On Windows you can use '''AutoHide -- http://www.krickelkrackel.de/autohide'''
    which provides a Full Window mode("zombie mode") with "Shift+F11" similar to full screen but within the confines of the window that allows you to just show the title bar, with options I use with it always show the tabs bar and addons bar in Full Screen or Full Window mode.
    In Full Screen or Full Window mode you can move the cursor to the top and see toolbars, use F10 or Alt to see menu bar, use Ctrl+K to see search bar, use Ctrl+L to see Location Bar. To see bookmarks bar you would need to show all toolbar toggle F10 or toggle F11.
    My bookmarks toolbar takes very little space less vertical space than shown in this [http://dmcritchie.mvps.org/icons/fx4toolbars.png before/after] picture, see items 61-66 on styling in the following:
    You can make '''Firefox 6.0''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 6.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface
    There is a lot more beyond those first 10 steps listed, if you want to make Firefox more functional.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • So I'm trying to get a window to fit my mac. Its a window on pokerstars if that helps, so no minimize/maximize. The window is actually too long vertical ways to fit the screen so the bottom is cut off? I hid bottom toolbar but still no help :-/ any help?

    So I'm trying to get a window to fit my mac. Its a window on pokerstars if that helps, so no minimize/maximize. The window is actually too long vertical ways to fit the screen so the bottom is cut off? I hid bottom toolbar but still no help :-/ any help? Yeah i have no fit screen button, the top toolbar doesnt have zoom/minimize available... any help???

    Hi RobSten1306
    Send us an email if you need help on this case and we can help look into this for you.
    You can email us using the contact the mods link in my profile under the section 'About Me'.
    Thanks
    Stuart
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • How to get "Layer Mask Hides Effects" from Photoshop Plug-in

    How to get "Layer Mask Hides Effects" from Photoshop Plug-in.

    I don't think there's enough information here to give an answer.  Is this a Plug-in that you're writing or intend to write?  If so, what type of Plug-in is it?
    If you are writing your own plug-in, the header files included in the Photoshop SDK/API have a bunch of defines for the proper codes to use.
    PITerminology.h has a large amount of keys that can be used to query for information.  PIUGetInfo is probably the function that you want to call to determine what you need to know.
    If you're looking for information about a specific layer, you will want to make a new PIActionDescriptor, call sPSActionDescriptor->Make(*PIActionDescriptor), and then call GetLayerInfo on the layer that you're querying information about.
    You can then call sPSActionDescriptor->Get<datatype> on the layer while passing in the key of the data that you want.

  • Toolbar Not Visible: Had to hide by toolbar and now I can't access it. I don't like the Yahoo Toolbar and I can't get rid of it. I've tried RT DBL Click on the open space which takes me back to Yahoo TB. Can't find

    Had to hide by toolbar and now I can't access it. I don't like the Yahoo Toolbar and I can't get rid of it. I've tried RT DBL Click on the open space which only takes me back to Yahoo TB. Can't find anything in the Computer Controls to address this. Any Suggestions??

    you have a ps cs4 license for mac and you have some way of finding your serial number.
    if yes, download an install the installation file.  if you already have the installation file, what is its name and file extension?  (eg, if it's one file, it should be a dmg file.)
    if you need the installation file,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Hide PDF toolbar

    Hi
    I need to hide the save button of PDF file - how can I do it (not via web-dynpro)?
    Thanks in advance
    Avner

    Aravind
    thanx 4 the answer
    but here is what I need:
    I know about file name and directory that the file is in,
    I need to open the file with ABAP program, and i need that the file will open without the toolbar (save button, print etc.)
    I saw option to do it via web-dynpro :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/45/2dbb13d79f3446e10000000a155369/frameset.htm
    but i'm looking 4 different way to do it
    example: maybe convert the PDF to some picture file
    or using CL_GUI_PDFVIEWER or CL_GUI_HTML_VIEWER
    whatever will do it will b gr8
    Thanks in advance
    Avner

  • Hide bookmarks toolbar while surfing. My screen is little and I want space to read

    I would like the tolbar to act like the chrome one. Where is it noly available when opening a new tab.
    Is there a way to do this? Hide the toolbar, temporary hide it or something.
    I was using one addon but it made the close and maximize buttons all glitchy, and It didn't distinct between navigation and bookmarks toolbar, so the two where hidden, and Idon't want that.

    Move your mouse to the top of Firefox at the same level as the tabs,
    in an open area. Then right click. you can turn on or off the toolbars
    as you please. You can also visit the '''''[https://addons.mozilla.org/en-US/firefox/ Firefox add-ons web site.] Firefox add-ons web site.''''' One add-on
    to check out is '''''[https://addons.mozilla.org/en-US/firefox/addon/tabs-always-in-titlebar/?src=external-Add-ons_Manager_Context_Menu-extension Tabs Always In Titlebar] '''''. I forget its name, but there is an add-on that
    will hide all the toolbars until you move your mouse to the top of the page.

  • Need to hide "Evaluating Condition" text in dashboard in OBIEE 11.1.1.6.7

    Hi
    We are using OBIEE 11.1.1.6.7 version and we are getting a message "Evaluating condition" while running a report.This is due to the conditions specified in dashboard section(guided navigation in 10g). So i need to hide those text in obiee 11g .In 10g we can able to make chnages in the backend files and we can hide this by following the url. But i need the similar paths in OBIEE 11g
    http://obiee1000.blogspot.in/2012/01/hide-message-preparing-guided.html
    Regards,
    Diney

    HI,
    I know you already tried below method but it is working for me, could you please cross check.
    Can you edit your dashboard prompt prompt and find show option then select SQL Result please modify statement like below.
    Go--> Edit your prompt--> Show Option--> Select Choice List Values as --> Select Sql result---> change statement like above.
    SELECT "tablename"."columnname" FROM "table" where "tablename"."columnname" is not null
    OR,
    Refer this thread might be helpful for you.
    NULL Value in the prompt
    Thanks
    Satya

  • Do I need a power converter to use my USA purchased MacBook Pro 3,1 in Italy?

    Do I need a power converter to use my MacBook Pro 3,1 in Italy?  I've had it for a few years, purchased and used in USA.

    The block auto-switches to Europe power.  You just need an adapter for the final plug-end appropriate for Italy.

  • Need to hide tabs in CRM 5.0 SAP GUI for a business transaction

    Hi all,
       I've created a custom complaint transaction in CRM 5.0, and I need to hide some tabs and fields when I create it or edit it via SAP GUI. I've searched through the help, and I figured out that probably I have to use transaction CRMV_SSC, but than I'm blocked.
    Has anyone some hints or guides that can help me?
    I you have any documentation, please send to [email protected]
    Thank you a lot,
    Daniele.

    Hi,
    if you activate the technical names in the menu, you'll see that transction for maintaining sales transactions is called:
    crmd_bus2000115
    So there you have it, it's BO BUS2000115
    regards, Rob Dielemans

Maybe you are looking for

  • How do I find contents of PSA in BI 7.0

    I am using BI 7.0. How do I find contents of PSA? Only way I found: 1.     Go to Monitor, Select the Request, Go to Detail tab, right Click to get Context Menu and select PSA maintenance. Is there a transaction code to get to PSA  or other ways of ge

  • Slow RAM-thieving Photoshop CC

    I have already seen a few questions raised about this, but no answers as yet. I have just installed Adobe Photoshop CC and Adobe Bridge CC and the new Photoshop consumes almost all of my 12GB of RAM, slowing the entire system (current model iMac). I

  • CR4E Update Site Failure with Eclipse 3.2.1

    <p> </p><p>I'm getting this error when I try to install in Eclipse 3.2.1 using the udpate site.</p><p>http://www.flickr.com/photos/ctaggart/395847965/</p><p>Not sure why CR4E 1.0.2 is requiring org.eclipse.ui 3.1.0. <br /></p>

  • How to determine allowed names?

    Using Labview and an IVI-COM driver to talk to an oscilloscope. How can I determine the allowed names that I can use?

  • Problems with "old" AppleID and iCloud

    I changed my AppleID from a username to my primary email, but iCloud refused to verify it, or send an additional verification email so I had to change the primary email on that account and create a new account with the email I wanted (the one used on