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
- To be consistent with other verbs that use modifiers, typeText(...) and typeKeys(...) accept the optional holding parameter, and may be used in place of typeCombination(...).
- For additional notes and a complete list of keys, see Chapter 6.
See Also
Player.typeText
Player.typeKeys
Player.setTypingDelay
Keywords
keyboard[3] modifiers
typeKeys
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.