tv_GetKey ? if/what key is pressed?

A forum dedicated to George scripting questions
Post Reply
Svengali
Posts: 1575
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

Re: tv_GetKey ? if/what key is pressed?

Post by Mads Juul »

+1
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

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
Post Reply