Run George Script From Command Line

A forum dedicated to George scripting questions
Post Reply
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18
Location: Viborg,Denmark
Contact:

Run George Script From Command Line

Post by Mads Juul »

Is It possible to Run A George script in TVPaint through the Windows Command Line?
-mads
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com

Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18
Location: Viborg,Denmark
Contact:

Re: Run George Script From Command Line

Post by Mads Juul »

Ahh ok I found it in the SDK changes file

tvpaint.exe "cmd=tv_warn coucou"
tvpaint.exe "script=test.grg"
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com

Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Svengali
Posts: 1553
Joined: 28 Dec 2006, 10:08

Run a plugin from within a George Script

Post by Svengali »

I wanted to be able to execute a plugin command from within a script, specifically, I wanted to "refresh" the ppalette plugin display of APen and BPen after my script adjusted either or both colors... Mark suggested this line which works well with his plugin:

tv_plugin ppalette cmd r

I have not tried it with other plugins but I suppose it works with those as well?

Sven
User avatar
KenC
Posts: 174
Joined: 14 Aug 2009, 09:28
Location: Denmark

Re: Run George Script From Command Line

Post by KenC »

There's also supposed to be startup.grg which should be executed on startup of TVPaint, but for some reason it doesn't work for me. (Threw in hello world and nothing happens.)
There's no place like ~/
Post Reply