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

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
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

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"
Svengali
Posts: 1571
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