PreFab...Player...Documentation...Frontier...User's Guide...Chapter 5, Verbs...One Verb Per Page...

Player.typeCombination


Syntax

Player.typeCombination(modifierKeys, textOrKeys)


Parameters

modifierKeys is one or more modifier keys (command, shift, option, control, caps lock) or their abbreviations (cmd, shft, opt, ctrl, caps), added together in any order.

textOrKeys is a string of text and/or special keys, concatenated with the "+" operator.


Action

Holds down the specified modifier(s) and types the indicated text or special keys.


Returns

True.


Examples

with Player « ", modifiers" was required in 1.0x but is optional in 1.1
   typeCombination(command, "s")
with Player « mixing text & keys
   typeCombination(cmd + opt, upArrow) « to summit ("home") in MORE
   typeCombination(shift, rightArrow + rightArrow) « select text


Errors

Unrecognized modifier. Unknown key.


Notes



See Also

Player.typeText
Player.typeKeys
Player.setTypingDelay


Keywords

keyboard[3] modifiers

| Top |


toggleCheckbox| Prev | Home | Next |typeKeys

Updated on 2/5/97 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.