Created
July 23, 2013 03:11
-
-
Save milligramme/6059582 to your computer and use it in GitHub Desktop.
This file contains 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" | |
// run script without install to ScriptPanel | |
(function(){ | |
var script_path = File.openDialog(); | |
try { | |
script_path ? $.evalFile(script_path) : exit(); | |
} | |
catch(e){ | |
alert(decodeURI(script_path) + "\n" + e); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment