property alt

(r/w) bool alt;

Typ

Zugriff

This property is used to get and set the alt attribute for a key.
function onSample()
{
    var keyGroup = scene.getKeyGroupById("myKeyGroup");
    if (keyGroup)
    {
        var key = keyGroup.getCommandById("myKey");
        if (key)
        {
            shell.print("key id = " + key.id);
            shell.print("key command = " + key.command);
            shell.print("key shift = " + key.shift);
            shell.print("key alt = " + key.alt);
            shell.print("key key = " + key.key);
        }
    }
}