Player
Documentation
AppleScript
User's Guide
Chapter 5, Verbs
One Verb Per Page
set: whether to force an app to yield control
Syntax
set forced yield to desiredState
Parameters
desiredState -- true or false
Result
true
Examples
tell application "PreFab Player " -- assume the main dialog is already up
set forced yield to true -- call before the offending dialog
click button "Options"
click checkbox "High speed"
click button "OK" -- dismiss the sub-dialog
click button "OK" -- dismiss the main dialog
set forced yield to false --set to false when done
end tell
Notes
- This verb is often required when a dialog calls up a sub-dialog (and doesn't allow Player to get control to handle the sub-dialog). It should be used only where required, since it slows down the Macintosh.
- How will you know if you need this verb? See the separate Tech Support FAQ document and the new "my script stops" example scripts.
- In many ways, this verb is the opposite of Player 1.03's new yield time; this forces another app to yield the processor to AppleScript and Player, yield time gives time from AppleScript to other apps.
See Also
yield time
set complete match
set case sensitive
set balloon help
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.