How to set my tool once I have tv_getActiveTool

A forum dedicated to George scripting questions
Post Reply
Kylerk
Posts: 47
Joined: 18 Jun 2011, 13:43

How to set my tool once I have tv_getActiveTool

Post by Kylerk »

Here is my code at the beginning of my script.

Code: Select all

tv_getactivetool
activetool= result
At the end of my script, after the tool has been changed by the program, I would like to switch back to the tool that is stored in activetool.

Unfortunately there doesn't seem to be a tv_setactivetool command. How do I make this work?

Thanks

Kyler
Svengali
Posts: 1553
Joined: 28 Dec 2006, 10:08

Re: How to set my tool once I have tv_getActiveTool

Post by Svengali »

try tv_cmd ActiveTool
(non-obvious I know, but it works)

Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Kylerk
Posts: 47
Joined: 18 Jun 2011, 13:43

Re: How to set my tool once I have tv_getActiveTool

Post by Kylerk »

Yay. Thank you. That works exactly right!
Post Reply