I am trying to figure out arguments for native functions / methods that don't appear in any documentation (that I can find) - in my current project I am using extendscript within Premiere Pro but the issue would be the same if I was working with extendscript in After Effects.
Trying to probe a native function / method code via .toSource() or .toString() just comes back with variations on:
Code: Select all
function Function() {
[native code]
}
Is there any way to figure out the number of arguments expected and their type? Extendscript's reflection object unfortunately only reveals the existence of these functions / methods but not the input arguments they require in order to execute.