OOPS - Applescript
please try to change this code to apple script.
var myDoc = app.activeDocument; myDoc.guides.everyItem().remove();
tell application "Adobe InDesign CS5"
tell the active document
set fit to page of every guide to true
Perfect, Thank you!! I used a JS to toggle selected guides to Page or Spread Guides. It works, but this is better because there is NO selecting the guides on each page!