Search found 20 matches

by kaspar128
09 Jul 2021, 11:32
Forum: George scripting
Topic: SDK doesn't let me "loadImage" with spaces in path-name, ..on windows
Replies: 1
Views: 4005

SDK doesn't let me "loadImage" with spaces in path-name, ..on windows

I am creating a plugin, with the SDK, to load images: On linux it works fine, but apparantly, on windows I have to encapsulate my path-string with `'"'` (single-double-single-quotes) But! ..also, because on windows, I have to encapsulate my path with double-quotes first, (because of the `:`) I ...
by kaspar128
08 Jul 2021, 15:17
Forum: Technical Support
Topic: tv_loadImage does not load psd-file
Replies: 2
Views: 3179

tv_loadImage does not load psd-file

Hi everyone, It is really cool that tvpaint can import a photoshop-file. However, I cannot find a way to do that with a george-command: tv_loadImage "psdfile.psd" tv_loadsequence "psdfile.psd" ..both result in an error. Is there a possible method for importing psd's through Georg...
by kaspar128
31 May 2021, 17:34
Forum: George scripting
Topic: Check for unsaved changes
Replies: 2
Views: 3941

Re: Check for unsaved changes

Thanks!
Hopefully it gets implemented, as It would be a handy feature!
by kaspar128
27 May 2021, 15:18
Forum: George scripting
Topic: Check for unsaved changes
Replies: 2
Views: 3941

Check for unsaved changes

Is there George or SDK-method to see if a tvpaint-project has any unsaved changes? In some other programs they call an unsaved workfile, a 'dirty' workfile, or so.. I have searched, but I cannot find anything in the SDK or George-library. I need to do something like this: if (tv_project_has_unsaved_...
by kaspar128
16 Jun 2020, 11:23
Forum: Technical Support
Topic: List of all ENV-variables that TVPaint uses/reads?
Replies: 0
Views: 7717

List of all ENV-variables that TVPaint uses/reads?

I want to use some custom made plugins for TVPaint. The only way I know to use them is to copy them into the TVPaint's pluginfolder. The plugins are not for every production so for us it would be more managable to be able to change an ENV-variable to let it point to the specific plugin-location. We ...
by kaspar128
18 Sep 2018, 10:03
Forum: George scripting
Topic: tv_saveSequence with half the resolution
Replies: 5
Views: 1359

Re: tv_saveSequence with half the resolution

I tried the above code, but it crops the image instead of scaling it down to half the resolution. I think I should have asked more clearly that I was looking for a scaled down-export. But thanks for the code anyway, sure it will come in handy in th efuture! tv_resizepage has the same effect(crop ins...
by kaspar128
14 Sep 2018, 08:09
Forum: George scripting
Topic: tv_saveSequence with half the resolution
Replies: 5
Views: 1359

Re: tv_saveSequence with half the resolution

:D Thanks a lot for the quick reply! Looks exactly what I need.. We have our own routines for handling the separate layer-export so that will probably be fine.
I will implement this right away & will post about the results soon!

..to be continued..
by kaspar128
13 Sep 2018, 09:07
Forum: George scripting
Topic: tv_saveSequence with half the resolution
Replies: 5
Views: 1359

tv_saveSequence with half the resolution

Hello everyone..
maybe I am overlookign something, but is there a way to export an imagesequence in 50% of the original resolution?
I now use the "tv_SaveSequence" command, but it provides no such option..
I want to be able to do a quick check of a lot of exported layers(imagesequences)
by kaspar128
15 Jun 2018, 11:25
Forum: George scripting
Topic: George-command(or method) to load a CustomPanel
Replies: 0
Views: 646

George-command(or method) to load a CustomPanel

Hello everyone, for our production I would like to automate the re-installing of a custom-panel that is saved as a .tvpx-file. We have a custom panel that we use as a palette-list. The reason we use a Custompanel for this, is because this provides a better interface for managing the large list of ch...
by kaspar128
15 Jun 2018, 09:21
Forum: George scripting
Topic: Execute command line with TVP
Replies: 21
Views: 4348

Re: Execute command line with TVP

I found a way! In Linux, (on windows possibly too), one can create a FIFO, a named pipe that can act as a file(but is just a buffer ). With george it is possible to write text to it : tv_WriteTextFile "Append" /tmp/TVPAINT_FIFO "<functionname> <argument>" Now one only needs a pyt...
by kaspar128
16 Mar 2018, 16:40
Forum: George scripting
Topic: Execute command line with TVP
Replies: 21
Views: 4348

Re: Execute command line with TVP

Would it also be possible, with this method, to run a shell-script on Linux system?

On a Linux-install I tried using the tv_runscript -command. But it only accepts "*.grg" files.
Everything else results in an error.
by kaspar128
16 Mar 2018, 16:28
Forum: Feature & Improvement requests
Topic: GEORGE: execute system command/program
Replies: 2
Views: 12994

Re: GEORGE: execute system command/program

According to this thread: https://forum.tvpaint.com/viewtopic.php?f=34&t=9281&p=85530&hilit=batch#p85530 .. it is possible to execute a batch-file with the windows-version of TVPaint. I could not get this to work when running a George-cmd thorugh the embedded-script-option.. But running:...
by kaspar128
21 Feb 2018, 14:02
Forum: Feature & Improvement requests
Topic: GEORGE: execute system command/program
Replies: 2
Views: 12994

GEORGE: execute system command/program

Hello TVPaint-Developers! for our current production I would like to have a GEORGE-command that can execute a python-script externally. This would give me the option to dynamically request data(through an intermediate/temporary textfile) for processing an export-batch of certain TVPaint-layers. Some...
by kaspar128
06 Sep 2013, 09:44
Forum: George scripting
Topic: run multiple instances of TVPaint
Replies: 0
Views: 556

run multiple instances of TVPaint

I have a pythonscript that exports the animation of a list op TVPaint-projectfiles. When this script runs I want to be able to continue my other work in TVPaint, i.e. preparing TVPaint-projectfiles. Is it possible to run multiple instances of the program TVpaint? Now, when I run TVPaint and execute ...
by kaspar128
26 Feb 2013, 11:07
Forum: George scripting
Topic: Importing/loading movie and soundfiles
Replies: 11
Views: 1560

Re: Importing/loading movie and soundfiles

:D IT WORKED!!! :D

I must hold my enthausiasm, but this is really cool!!
This really opens perspectives to save a lot of time.
Being able to automate lots of import/export/saving makes people happy!

Thanks for the great support Mike, and the rest of course!