How to rename bookmarks

I'm simply trying to rename a bookmark via javascript, and keep running into the notallowederror: security settings... Previously, when I ran into this problem, I could avoid it by certifying the document, which would allow the javascript to run as privileged.  However, renaming bookmarks is apparently quite a sinister activity, and needs extra security??  I made folder level scripts:
var renameBook = app.trustedFunction(
  function(thisPage)
    app.beginPriv();
    var books = this.bookmarkRoot.children;
    for (var i = 0; i < books.length; i++) {
      var vNotes;
      if (books[i].name == "Visit Notes") {
        vNotes = books[i].children;
        for (var j = 0; j < vNotes.length; j++) {
          if (vNotes[j].name == thisPage)
            vNotes[j].name = vNotes[j].name + "-signed: " + new Date();
    app.endPriv();
and call that from my document-level script, but I get the same problem...  what am I doing wrong?

Thanks for the response.  No, I'm not trying to use it in Reader.  I'm working exclusively in Acrobat.  But since you brought it up, what you're saying is that even if I got this working in Acrobat and saved it as Reader Enhanced, it wouldn't be able to change the name of the bookmark using Reader? 
When I use either the trusted function (in the folder level script) or try to change the bookmark name directly in my local scripts, I get:
NotAllowedError: Security settings prevent access to this property or method.
Preferences:
Javascript:
enable acrobat javascript "On"
enable menu items javascript execution privileges "On"
enable global object security policy "Off" (although I've tried it both ways)
Security (Enhanced):
enable enhanced security "Off" (tried it both ways)
I noticed that I could make it work correctly through a menuitem, but that I want this to be affected when I sign a digital signature.  Perhaps there's a workaround on this using the menuitem (perhaps make a hidden menuitem, and execute that? I'm not quite sure how to make that work, but maybe that's a possibility).  I'd prefer to make this work the way it seems like it's supposed to...  Thanks again.

Similar Messages

  • How do i rename bookmarks

    Help...How do I rename bookmarks

    Hi cheyenee starr,
    To rename bookmarks in a PDF file, open the PDF in Acrobat, display the bookmark pane, and then right-click the bookmark that you want to rename and choose Rename from the pop-up menu.
    Please let us know if you need additional help!
    Best,
    Sara

  • Batch renaming Bookmarks

    I currently have Acrobat X Professional.  I have a 3000+ page document with several hundred bookmarks.  I want to split the document, but unfortunately the bookmarks are not unique and contain "/", which prohibit the split.  Is there a java script or program that will batch rename the bookmarks replacing "/" with dashes and adding a unique identifier to the end of a bookmark name (like 001, 002, etc)?

    I figured it out. As you saw above, I wasn't having a problem batch renaming the title of the clips. I was having a problem with the counter. I learned in a previous posting that when you change the name of a subclip of a clip, it changes the name of both the original clip (clip in event browser, not hard drive) and the other subclips associated with it. It doesn't matter how you rename the clip (changing the name in the Name box of the Inspector, change it by clicking the name of the clip once in the event browser and typing it in, or using custom naming (click on the gear button in Inspector to find it), the name will always change correctly. For some reason (I guess a FCPX thing lol), you can't use the counter in custom naming correctly unless you change the original name through custom renaming. If you change the original name of a clip the other two ways, then try to change the new name of the clip using custom renaming with the counter, the counter will always stay the same number.

  • How to rename a column name in a table? Thanks first!

    I tried to drop a column age from table student by writing the
    following in the sql plus environment as :
    SQL> alter table student drop column age ;
    but I found the following error
    ORA-00905: &#32570;&#23569;&#20851;&#38190;&#23383; (Lack of Key word)
    I have oracle enterprise edition 8.0.5 installed at windows 2000
    thank you
    And I want to know how to rename a column name in a table?
    thanks

    In Oracle 8i, your syntax would have worked.  However, if I
    recall correctly, in Oracle 8.0, you can't rename or drop a
    column directly.  One way to get around that problem is to
    create another table based on a select statement from your
    original table, providing the new column name as an alias if you
    want to change the column name, or omitting that column from the
    select statement if you just want to drop it.  Then drop the
    original table.  Then re-create the original table based on a
    select statement from the other table.  Then you can drop the
    other table.  Here is an example:
    CREATE TABLE temporary_table_name
    AS
    SELECT age AS new_column_name,
           other_columns
    FROM   student
    DROP TABLE student
    CREATE TABLE student
    AS
    SELECT *
    FROM   temporary_table_name
    DROP TABLE temporary_table_name
    Something that you need to consider before doing this is
    dependencies.  You need to make a list of all your dependecies
    before you do this, so that you can re-create them afterwards. 
    If there are a lot of them, it might be worthwhile to do
    something else, like creating a view with an alias for the
    column or just providing an alias in a select.  It depends on
    what you need the different column name for.

  • How to Rename a Topic ID in Map File to Avoid Conflict with Another Program?

    Robo 8 HTML:
    Can somebody assist me in understanding how to rename a topic ID in my map.h file?
    An application programmer informs me there are nine topic IDs (shown below) in my project map file which conflict with predefined names of constants/functions from the Visual Studio Libs program and, is requesting I change the names of the topics listed below to resolve topic ID conflict in order to enable F1 call for these topics.
    #define Open    59
    #define Save    60
    #define Print   63
    #define Cut     72
    #define Copy    73
    #define Paste   74
    #define Clear   75
    #define Status  81
    #define Substructure  139
    Can I simply alter the topic names and retain their associated map numbers in <Create/Edit Map ID> dialog to resolve the map file conflict with Visual Studio Libs program functions? Or, is there more work involved in changing a topic name in a map.h file?
    Any assistance with this question is greatly appreciated.
    Thanks,
    robert

    Hi,
    Simply renaming the TopicID's in the .h file won't work. The TopicID is used in the alias file (projectname.ali) to link a map number with a topic. Also, you can use either TopicID's or map numbers to call the help. (Using TopicID's only works for WebHelp afaik.)
    If you use map numbers to call the help, you can rename the TopicID using the mentioned dialog. No problem.
    If you want to change the ID from the files, you have to change both the .h file as the .ali file. No changes to topics needed.

  • How to rename a macbook pro 13 inch 10.7.3 version

    how to rename a macbook pro 13 inch 10.7.3 version?

    As for the Users...
    Go to system preferences - users and groups - click the plus sign - add the name you want.
    Restart your MB - login with your username.
    go back to users and groups - highlight your uncles name - click the minus sign.

  • Can't figure out how to rename css style in mx

    Hello,
    I can't figure out how to rename css style in mx. I have the
    style selected in the proprety inspector. Is there supposed to be a
    rename option at the bottom of the same dropdown box? There is
    option to edit style and a few others in same dropdown box... but
    no rename option. Please be specific... I have looked it up on the
    internet... but still cant find the option.
    Thanks,
    PoJ

    Do a Find and Replace to find name1 and replace with name2.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "computerpain" <[email protected]> wrote in
    message
    news:ed43p3$m9h$[email protected]..
    > Hello,
    > I can't figure out how to rename css style in mx. I have
    the style
    > selected
    > in the proprety inspector. Is there supposed to be a
    rename option at the
    > bottom of the same dropdown box? There is option to edit
    style and a few
    > others in same dropdown box... but no rename option.
    Please be
    > specific... I
    > have looked it up on the internet... but still cant find
    the option.
    >
    > Thanks,
    > PoJ
    >

  • How to transfer bookmarks from one computer to another?

    how to transfer bookmarks from one computer to another?

    Export your bookmarks (file menu in Safari, from the Show All Bookmarks option in Firefox) and save to your HD. Copy the saved .html file to the other Mac over the network, or by copying the file to a USB stick and copying to the other Mac, or emailing them to the other Mac. On the other Mac import the Bookmarks file into your browser of choice,

  • Had to wipe my drive so I could do a clean install of snow leopard Now I look every where on how to move bookmarks, address book and I cal settings.  I have them back up on a external drive with Time machine but can not move, copy or restore my old sett d

    Had to wipe my drive so I could do a clean install of snow leopard.   Now I have look every where on how to move bookmarks, address book and I cal settings.  I have them back up on a external drive with Time machine but can not move, copy or restore my old settings.  The instructions I have found or no help or needs more clarafication on what to do.

    Use migration assistant to move your files.  http://support.apple.com/kb/HT4889

  • How to rename a file in Application server

    Hi All,
    Here I have a issue with  the present file which is being generated in application server.
    Before the completion of the file the EDI tool is extracting the file from the app server.So here I would like to generate the file with a temp name and then rename to the actual file name which EDI recognises and fetches.
    Please correct me If I am wrong and let me know how to rename the file in application server.
    Thanks,
    Vijay N

    you can try using unix command , if your application server is unix.
    use move command
    mv   <source>  <target>
    REPORT ZUNIX line-size 400
                    no standard page heading.
    data: unixcom like   rlgrap-filename.  
    unixcom = 'mv file1 file2'.
    data: begin of tabl occurs 500,
            line(400),
          end of tabl.
    data: lines type i.
    start-of-selection.
      refresh tabl.
      call 'SYSTEM' id 'COMMAND' field unixcom
                    id 'TAB'     field tabl[].
    or else you can open dataset/ read the dataset and move it to another file and delete the old file.

  • How to rename the column name in oracle 8i?

    hi,
    Does anyone know how to rename the column name in oracle 8i?My method was drop the relationship key first then delete the old column,finally add the new column.
    Thanks for your replay.
    jing

    There is no facilty to rename a column name in Oracle 8i. This is possible from Oracle 9.2 version onwards.
    For you task one example given below.
    Example:-
    Already existed table is ITEMS
    columns in ITEMS are ITID, ITEMNAME.
    But instead of ITID I want ITEMID.
    Solution:-
    step 1 :- create table items_dup
    as select itid itemid, itemname from items;
    step 2 :- drop table items;
    step 3 :- rename items_dup to items;
    Result:-
    ITEMS table contains columns ITEMID, ITEMNAME

  • How to create bookmarks in adobe reader 9

    In adobe reader 7 you could create bookmarks so the viewer could click on them and go to that section of the document. I cannot seem to find it on version 9. All you can do is create thumbnails. Any ideas on how to create bookmarks in the newest version?

    Adobe Reader can't create bookmarks. Adobe Acrobat can create bookmarks.

  • How to sync bookmarks with those on my iMac?

    IT would really be helpful to have the bookmarks on my iMac on my iPad Air as well, but i cannot figure out how to do it. I usually use Chrome on my macs, but i've also exported those bookmarks to Safari on the Mac. Can anyone please tell me how to sync bookmarks.
    THanks!

    Hi there
    I bought an Ipad AIR yesterday, and noted that chrome will run on it as per all my other devices, HTC android, PC, Linux.
    While I can see all the history of the other devices and the bookmarks, the tabs and listed favs do not appear in Chrome on the Air when I login
    I've logged in / out across all devices still no joy.
    Any one any thoughts ?or is this an apple feature on the AIR.
    thanks
    IanS
    1st Post

  • How to rename folder in Final Cut Pro X project library?

    How to rename folder in Final Cut Pro X project library? I can't double click on folder, when I right click it just gives options to erase. Can someone help?

    I think you may have misunderstood - the question is regarding renaming a project "folder", not a project name.
    Still, the accepted answer here makes no sense to me at all - it's about renaming an event. So we're all confused ;-)
    BTW as of 10.0.5, I still cannot rename a project folder while background tasks are running - no clue is given that this is what's going on, second-clicking on the folder just (frustratingly) does nothing. When background tasks finish, it works again.

  • Help!!! Can Anybody tell me how to read bookmarks of MS word using ABAP?

    It took me around 3 days , but there is still no solutions...
    Can Anybody tell me how to read bookmarks of MS word using ABAP ?
    Many thanks.

    Dear Nick  ,
    Thanks for your attention!
    I have MS word installed in the R3 server , and I uploaded my word doc with some self-defined bookmarks into SAP R3 system.
    Now I want to read these bookmarks using ABAP in this R3 system...
    Is it clear enough?
    Looking forward to your solution ...
    Thanks again..
    Best Regards,
    Leon.

Maybe you are looking for

  • How to fix sever error in my mail

    out going mail is not sendingout mail becouse of a server conection error i am singed in under the right username and password but it is not going out? can some one help me?

  • Is it possible to recreate (med & large format) negatives to standard size?

    I have a medium format negatives and large 6x7cm ideal format negative sizes. How can I recreate the negatives to 35mm standard negative size: 24mm x 36mm with the least compromise in quality? Thank you.

  • Concept of object oriented programming

    does anyone have notes on concepts of object oriented programming language (Encapsulation,polymorphism,messages,class,inheritance and all that) i tried to find them but i only got definitions for them but i want advantages and disadvantages of concep

  • Spinning beach ball of death when turning on wifi

    Whenever I try turning on wifi via the wifi icon on the top dock, I get the beach ball of death for about 2-3 minutes. then everything just runs slow. I can do it much quicker from System Preferences. it's like what ever is happening with the icon is

  • What would be the best way to have a man pull down a (AE CS6 designed) banner?

    I have keyed footage of a guy pantomiming pulling down a banner, but I can't for the life of me get it to look right.... He is using both hands, facing the camera he reaches up and pulls it down, I am trying to make it look slightly realistic, with w