Page 1 of 1
Command to check paper attributes?
Posted: 25 Sep 2009, 12:53
by KenC
I'm writing some stuff to make paper management faster, toggle paper on and off, rotate, size it etc.. just making some popup menus to quickly change angle size etc.. without going to the paper palette.
If there a command that fills Result with the current paper attributes?
I found tv_paper that the gui will stick on buttons when you capture a brush but in my george version there's no reference to to tv_paper or other functions related to paper.
Re: Command to check paper attributes?
Posted: 25 Sep 2009, 13:22
by ZigOtto
tv_paperinfo
tv_warn result will display all the parameters of your active paper.
nb: (little bug ?) the "paper-name" last info is displayed as "/paper-name",
with a slash preceding the name.
Re: Command to check paper attributes?
Posted: 25 Sep 2009, 13:34
by Hervé
* tv_paperInfo -> return the current paper configuration
* tv_paper ["Active" 0/1] ["OffsetX" value] ["OffsetY" value] ["FlipX" 0/1] ["FlipY" 0/1] ["Hardness" value] ["Invert" 0/1] ["Size" value] ["Angle" value] ["Name" name]
* tv_paperenum index
Re: Command to check paper attributes?
Posted: 25 Sep 2009, 13:55
by KenC
Thanks much, one more dialog window I don't have to keep opening, I loves me some shortcuts
Will there be an updated george reference at some point?
Re: Command to check paper attributes?
Posted: 25 Sep 2009, 14:06
by KenC
On a related note, is there anyway tv_ListRequest can do submenus?
Re: Command to check paper attributes?
Posted: 25 Sep 2009, 14:36
by Hervé
KenC wrote:On a related note, is there anyway tv_ListRequest can do submenus?
No, not in the current release but I can add it on the next update.
Re: Command to check paper attributes?
Posted: 25 Sep 2009, 15:59
by KenC
If you have the time that would be a great addition I think. For example right now you have to create say 5 different scripts that each pops up a list of related choices and bind each one to a key, wasting 5 keys or create a huge popup menu with all the choices making it hard to overlook it all.
With popup submenus you could just have one menu with a bunch of submenus and bind that to one key.
Re: Command to check paper attributes?
Posted: 09 Oct 2009, 09:49
by KenC
Yay.. submenus are in new version