Created
February 27, 2015 21:46
-
-
Save agorman/8d63f989871b6ea79693 to your computer and use it in GitHub Desktop.
ExtendScript Method Reflection 2
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 = app.project; | |
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
---------------- | |
bind(string eventName, any function) | |
unbind(string eventName) | |
setTimeout(string eventName, any function, number milliseconds) | |
openSequence(string sequenceID) | |
importFiles(any arg1) | |
importSequences(any arg1) | |
createNewSequence(string sequenceName, string placeholderID) | |
deleteSequence(Sequence sequence) | |
exportFinalCutProXML(string exportPath, number suppressUI) | |
exportTimeline(string exportControllerName) | |
exportOMF(Sequence sequence, string filePath, string OMFTitle, number sampleRate, number bitsPerSample, number audioEncapsulated, number audioFileFormat, number trimAudioFiles, number handleFrames, number includePan) | |
saveAs(string saveAsPath) | |
save() | |
pauseGrowing(number pausedOrNot) | |
closeDocument() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment