tv_GetKey ? if/what key is pressed?

A forum dedicated to George scripting questions
Post Reply
Svengali
Posts: 1557
Joined: 28 Dec 2006, 10:08

tv_GetKey ? if/what key is pressed?

Post by Svengali »

Is there some way to read if (and which) key is pressed using some combination of George commands?

If not, it might be a useful addition... for example, a script assigned to a button could read if the Control or the Shift key was pressed when the button was clicked on and modify the functionality of the button accordingly.

Sven
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18
Location: Viborg,Denmark
Contact:

Re: tv_GetKey ? if/what key is pressed?

Post by Mads Juul »

+1
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: tv_GetKey ? if/what key is pressed?

Post by Mads Juul »

In TVP 10 tv_getmodifiers in added

Code: Select all

tv_getmodifiers -> return shift ctrl alt
-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
Post Reply