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

Player.setTargetWindow


Syntax

Player.setTargetWindow(theWindow)


Parameters

theWindow is either a name or number (by stacking order).


Action

Specifies the target window for subsequent commands.


Returns

True


Examples

Player.setTargetWindow("Tools") « Photoshop palette
Player.setTargetWindow("Untitled") « the image
Player.setTargetWindow(1) « set back to the default


Errors

The window does not exist.


Notes



See Also

Player.screenCoordinates
Player.clickMouse
Player.dragMouse
Player.setCompleteMatch


Keywords

windows[1] mouse dialogs

| Top |


setMouseDelay| Prev | Home | Next |setTypingDelay

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.