Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require a specific script extension when running script from command prompt #4447

Open
PascalLemieuxS opened this issue May 17, 2022 · 0 comments

Comments

@PascalLemieuxS
Copy link

Is your feature request related to a problem? Please describe

When running OpenToonz from windows command prompt, filePath argument can accept a path to a scene file or a script to be run, but for the script to be executed the it require a very specific extension - ".toonzscript" - which I saw nowhere in the documentation. In fact, from toonzscript documentation the only exemple of extension used is ".js". I think it's confusing and there is no good reason to be limited to this specific extension or to not mention this requirement in the help function of OpenToonz.exe

Describe the solution you'd like

Add a note to tell the required script extension is ".toonzscript" in the -help function of OpenToonz.exe or allow any extension that is not a scene file: ".tnz".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant