Confusing API Documentation for PProPanel
See original GitHub issueThere are several APIs listed in the PProPanel sample project’s api_doc.html
documentation that have misleading explanations. Specifically, the return value explanation is frequently at odds with the actual value returned. An example is Project.ImportFiles
:
Returns 0 if Premiere Pro successfully imports the array of file paths. If
suppressUI
is true, no UI will be presented. ifimportAsNumberedStills
is true, Premiere Pro will attempt to import the array as a still image sequence.
The documentation suggests that the function should return a falsey 0
in the case that the import was successful. Currently, and this is another bug, the example above always returns a boolean
value of true
, both on success and failure (testing was conducted with audio files).
This is the case for Premiere Pro 2017.1.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
VERY true—and it’s a worthwhile pursuit.
void
functions.) Much of the documentation effort could be thought of as pre-empting questions. 😉I wish you and the team luck on the documentation work!