Delete all Guides in Document


does happen know how delete guides in document? i'm aware can use ctrl + alt + g press delete delete guides on single page or spread, in entire opened document (every page @ once)? i've researched , located following script:

 

var mydoc = app.activedocument;

if(mydoc.guides.length > 0){mydoc.guides.everyitem().remove();}

 

i'm sorry script didn't work me. error message received:

 

error number: 1025

error string: expected end of statement

engine: default

file: c:\users\......etc.

line: 1

source: var mydoc = app.activedocument;

 

if knows way around or knows how fix script please let me know , else might interested.

var mydoc = app.activedocument;

if(mydoc.guides.length > 0){

    mydoc.guides.everyitem().remove();

}

 

 

 

found same 1 you. works me in mac cs5. deletes them guides including master pages. edit 1 of exisitng javascripts , save new name.jsx.



More discussions in InDesign


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support