Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.clickSequence
Syntax
Player.clickSequence(listOfTargets)
Player.clickSequence(listOfTargets, holding: modifierKeys)
Parameters
listOfTargets is a list of locations, item names and/or item ID numbers.
holding: modifierKeys, an optional parameter, 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.
Action
Clicks the mouse in a sequence of locations and/or items.
Returns
True.
Examples
Player.clickSequence( {4, 27}, {4, 60}, {28, 60} ) « draw a polygon
Player.clickSequence( point.set(4, 27), point.set(4, 60), point.set(28, 60) ) « for Frontier 2.0
Player.clickSequence( "Auto Save", "Smart Quotes" , 12, "OK" ) « radio buttons, icons (by ID), etc.
Notes
- This verb may operate too quickly for an application to keep up. Use setMouseDelay(...) to set a short delay.
- By default, coordinates are relative to the frontmost dialog or window. Changing to a different screen size or having the window come up in a different location should have no effect.
- Use screenCoordinates(...) to treat coordinates as an absolute screen position.
- In most applications, the location is relative to the inside of the window. Negative y values reach into the title bar (if any).
- The holding label may be left off, though the result may be less readable.
See Also
Player.clickMouse
Player.dragSequence
Player.setCheckboxSequence
Player.setMouseDelay
Player.setTargetWindow
Player.screenCoordinates
Player.clickItem
Player.setCompleteMatch
Keywords
mouse[4] location modifiers sequence
disableUserInput
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.