Last active
April 23, 2021 12:42
-
-
Save agorman/0671717c825dc54448fb to your computer and use it in GitHub Desktop.
ExtendScript Method Reflection
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
var obj = qe.source; | |
var props = obj.reflect.methods; | |
$.writeln(); | |
$.writeln('----------------'); | |
for (var index in props) { | |
var prop = props[index]; | |
$.write(prop.name + '('); | |
var signature = []; | |
var args = prop.arguments; | |
for (var j in args) { | |
var arg = args[j]; | |
signature.push(arg.dataType + ' ' + arg.name); | |
} | |
$.write(signature.join(', ') + ')'); | |
$.writeln(prop.description); | |
} |
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
---------------- | |
openFilePath() | |
toLocaleString(unknown arg1) | |
hasOwnProperty(string name) | |
propertyIsEnumerable(string name) | |
isPrototypeOf(Object what) | |
toSource() | |
unwatch() | |
watch() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment