Remove all bookmarks in the Document

Anyone happen to know how to delete all guides in a document? I am aware that I can use Ctrl + Alt + G and then press DELETE to remove the guides on a single page or spread, but in the whole document open (all pages at once)? I did research some and located the following script:

myDoc var = app.activeDocument;

If (myDoc.guides.length > 0) {myDoc.guides.everyItem () .remove () ;}

I am sorry to say that this script has not worked for me. This is the error message I received:

Error number: 1025

Error string: due to end of the declaration

Engine: by default

File: C:\Users\...etc.

Line: 1

Source: var myDoc = app.activeDocument;

If anyone knows a way around this or knows how to fix this text please let me know and anyone else that might interest you.

myDoc var = app.activeDocument;

If (myDoc.guides.length > 0) {}

myDoc.guides.everyItem () .remove ();

}

The same as that found like you. Works for me in CS5 Mac. Removes all the guides, including master pages. Just change one of the exisitng javascripts and do a save as to a new name.jsx.

Tags: InDesign

Similar Questions

  • A document of several pages and the need to remove all other pages.  Document to wholesale remove each page separately.

    I have a multi page document (1, thousands of pages) and you need to delete all the other pages.  I can't understand how to do this and I know it's doable.  I haven't the time to delete this one page at a time.  Help, please.

    If you have Adobe Acrobat DC Pro, you can create a custom command using the following JavaScript code to remove all pages:

    // process document from the last page to the first page
    for (var i = this.numPages-1; i>=0; i--) {
        if (i % 2) { // this will delete all even numbered pages
            this.deletePages(i);
        }
    }
    

    To find out how you can create a custom command, follow the steps detailed here: create orders customized in Adobe Acrobat DC Pro - KHKonsulting LLC

    If you want to remove all odd numbered pages, simply change the line #3 to this:

    if (!(i % 2)) { // this will delete all odd numbered pages
    

    If you use an earlier version of Acrobat Pro, you can use an Action to accomplish the same thing. If you use Adobe Acrobat Standard, you do not have access to the action Wizard or custom orders, and you have to write a script of folder level to create a new menu item that can remove odd or even numbered pages.

  • How to remove all information from the computer so I can sell it?

    How to remove all information from the computer so I can sell it?

    Hello

    You will want to format the hard disk:

    1. you can use DBAN - http://www.dban.org/

    or

    2. you can follow this tutorial to clean install up to the step where you format the disk, in which you would then STOP (because you just want to get rid of the files on the hard drive, do not install Windows) - http://www.sevenforums.com/tutorials/1649-clean-install-windows-7-a.html

    Kind regards

    Patrick

  • I get to level my windows in Windows 7 PC.  My old PC had CS6, Bridge, and Lightroom installed 5.7.  I want to remove all three of the old and install the new.  How do I do that?

    I get to level my windows in Windows 7 PC.  My old PC had CS6, Bridge, and Lightroom installed 5.7.  I want to remove all three of the old and install the new.  How do I do that?

    First of all make sure you disable / disconnect in order to save the number of activations.

    Click the help menu, and then select disable / disconnect .

    Then you can uninstall in Control Panel uninstall process as normal.

    Later, you can download and install CS 6 app link below:

    Download Creative Suite 6 applications

  • How use Bridge to rename the batch to remove all characters after the 32nd character?

    I would like to batch rename to remove all characters after the 32nd character. Is this possible?

    Substitution string use with use of regular expressions is selected.

    In the use of the search field

    ^(.{32})(.*)
    

    In the field using replace

    $1
    
  • How to remove all items in the download under bookmark folder in the shortest time?

    I understand that all downloads from the internet and yahoo/google mail are stored in the "Download" folder I bookmarked when I want to delete. I think that if the download folder is never empty, then my mac will slow down. So I want to remove these downloads that I've seen. How can I remove all THE items in the shortest time? Deleting items, even in groups, takes a long time. Is there a method I can use so that all the items in the folder are deleted in one fell swoop?
    Thank you.
    Unguja

    Yes, it worked. Thank you very much.
    Unguja

  • How to remove all bookmarks in double?

    My Favorites are sorted from A to Z; After the last record (W in my case), the individual bookmarks are correctly sorted from A to Z, which is as it should be. However, after the last bookmark correctly sorted, there a horizontal line and the sort of records starts again. This type is not fooled by the first type 100%, but most are. What is the meaning of the horizontal line and the two why separate kinds? How can I get all the bookmarks (above and below the line) to sort as a single list of A to Z?

    The line is a separator that you can add and remove as needed. Kind works independently in separate lists.

    Open the bookmarks library

    1. Firefox Button-> Bookmarks-> show all bookmarks
    2. Click a separator and right-click to delete,
      (or click where you want and right click to add)

    I have not tried, but you will find the add-on useful check places

  • Apply a table style to all tables in the document

    I can't find a way to apply certain style of table for all tables in a document of p. 200.

    Specifically, clear any formatting within the cells (cell and replacements styles) would be a plus. All tables must have a unique look with a header cell style preset and style of cell in the body properly defined by a table style.

    All, even partial-help tips will be appreciated because they can save me time.

    I can't believe there is no way to do as other more complicated things are possible using find it & change don't function, for example objects, GREP, you name it.

    Roman

    This javascript will apply the table Style "tabs" to all the tables in the entire document and removes the replacements the (I'm not sure that this will happen automatically when you apply a table style). You set the header & body styles in the style of your table, and they should be applied automatically.

    for (s=0; s
    
    Copy, paste into a text editor (Notepad; TextEdit in plain text mode. best is the editor ESTK delivered installed with InDesign). Save as "ApplyTableStyles.jsx" in your own folder User Scripts, and it will appear in the Scripts panel. Double-click it to run it, and then sit down and relax.
  • Impossible to import all bookmarks in the IE 11, only some. How to do it.

    When you import IE 9 or 11 IE only a few bookmarks are imported. Why?

    The format for the imported bookmarks has folders alphabetically with individual bookmarks. The desire of records that are in front of individual bookmarks.

    If there are problems with importing IE bookmarks in Firefox, then export favorites in Internet Explorer to a HTML file and import this file in the Firefox Bookmarks Manager.

    If you don't have the menu bar in Internet Explorer, and then right-click on the toolbar above to activate the menu bar.

    • Export Favorites in Internet Explorer to a file (bookmarks.html) HTML:
      File > import and export
    • Import HTML file in Firefox:
      Bookmarks > show all bookmarks > import and backup > import bookmarks HTML

    See "Import from another browser" and "import from file":

  • Is there a way to delete more than one email in the Inbox. In addition, how to remove all mail in the subfolder "delete"?

    I found a response to remove the Inbox of emails using the "shift" key, but it's a slow process, as I have 8 k emails. I think they're all in the folder 'delete' I need to go through the same process as indicated above to remove them permanently. The "Trash" folder I can do a right click on it and select "Empty trash" and it is gone. This feature is not available for the record of 'delete '. Has anyone found an easy way to empty folder "remove"?

    CTRL + a will select all of the emails currently displayed. In delete folder it just select emails by using ctrl +, then delete them using delete key on your keyboard, or the context menu.

  • remove all duplicates in the computer

    can help any one, I want to remove all duplicates of photos music files floders etcetcetc

    can help any one, I want to remove all duplicates of photos music files floders etcetcetc

    a lot of free progs on the web

    http://www.Google.co.UK/search?q=duplicate+file+Remover+freeware&RLS=com.Microsoft: en - gb:IE - SearchBox & ie = UTF-8 & oe = UTF-8 & sourceid = ie7 & rlz = 1I7GGLT_en & redir_esc = & ei = LXlITcmFDMew4QaIr7CYBQ

  • Remove all tags from the Windows Photo Gallery

    I deleted all the pictures in Windows Photo Gallery, but I can't find out how to remove all the tags at the same time. I really want to remove several hundred tags one at a time.

    This thread does not remove the tags of your files. http://social.answers.Microsoft.com/forums/en-us/vistapictures/thread/399801ba-4824-4293-b135-94513d744911

    I want to completely erase these files and database.  Thanks for any help

    See if that helps any: Removing tags in Windows Vista Photo Gallery
    Microsoft® Security MVP, 2004-2010

  • Z10 blackBerry how to remove all entries from the Local calendar?

    My calendar shows my email entered account and all is well.  However, I think that when I transferred all of my Bold 9900 he faces a bunch of entries in the local calendar (House) that I don't want.  I would like to delete all entries in the local calendar.  How can I do this?  Thank you!

    Unfortunately you can't remove individual events right now. The fastest way to remove events is the 'Month' tab, then tap and hold events in the list and select 'Delete' from the side menu.

  • Remove-TagAssignment removes all tags of the entity.

    Say we have 5 tags in an entity (such as a Virtual machine)

    Category1 TagName1

    Category2 TagName2

    Category3 TagName3

    Category4 TagName4

    Category5 TagName5

    And you want to remove TagName5 with "TagNameX".

    You can't assign just with the New TagAssignment command because the New TagAssignment command sets the cardinality only Tag if there is not already defined entity tags. It must remove the tag first and then set with the New TagAssignment command. But the command Remove-TagAssignment removes all tags, not a single label. And when you do it on multiple virtual machines with a script it takes too much time to remove and each of them. Is tere a way to remove the tag with an entity without removing all the.

    Something like that?

    Get-TagAssignment-category Category5 | Delete-TagAssignment

  • How can I add bookmarks to the documents in Adobe Acrobat format

    How can I add bookmarks to a document in Adobe Acrobat format

    Open the bookmarks on the left panel and click the new bookmark inside or simply press Ctrl + B.

Maybe you are looking for