Created
January 23, 2015 05:13
-
-
Save milligramme/82b95c12b18d108c1536 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #target "indesign" | |
| var dismiss_grids = function () { | |
| var doc = app.documents[0]; | |
| var grid_pref = doc.gridPreferences; | |
| var cjk_grid_pref = doc.cjkGridPreferences; | |
| grid_pref.baselineGridShown = false; | |
| grid_pref.documentGridShown = false; | |
| cjk_grid_pref.showAllFrameGrids = false; | |
| cjk_grid_pref.showAllLayoutGrids = false; | |
| cjk_grid_pref.showCharacterCount = false; | |
| } | |
| if (app.documents.length > 0) { | |
| dismiss_grids(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment