Extendscript: Is there a way to work out arguments for [native code] functions?
Posted: August 1st, 2018, 5:29 am
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:
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.
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]
}