Created
June 25, 2015 11:26
-
-
Save undavide/c1849b3ff918a7d4c32b to your computer and use it in GitHub Desktop.
Toggle ScriptingListener Logging
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
// Credits: Tom Ruark | |
// Switch OFF ScriptingListener output | |
var listenerID = stringIDToTypeID("AdobeScriptListener ScriptListener"); | |
var keyLogID = charIDToTypeID('Log '); | |
var d = new ActionDescriptor; | |
d.putBoolean(keyLogID, false); | |
executeAction(listenerID, d, DialogModes.NO); | |
// Switch ON ScriptingListener output | |
var listenerID = stringIDToTypeID("AdobeScriptListener ScriptListener"); | |
var keyLogID = charIDToTypeID('Log '); | |
var d = new ActionDescriptor; | |
d.putBoolean(keyLogID, true); | |
executeAction(listenerID, d, DialogModes.NO); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment