Error getting tags :
error 404Error getting tags :
error 404 request | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
request
Basics
Expander triangle
Type
Command
Syntax
request expression {of | from} {program | application} programAddress
Introduced
1.0
Environment
Desktop,Server
Platform Support
MacOS,Mac OS X
Security
None required
Summary
The request data gets information from another application via Apple events.
Examples

request "the hilite of button 3" from program "HyperCard"
request field "Appname" from program "Ozone:Geek Paradise:FileMaker"

Additional Comments
Expander triangle

Use the request command to obtain data from another application via the eval Apple event.

Parameters:

The expression is the string you're asking the other application to evaluate. Its exact format and meaning depends on the other application.

The programAddress is the AppleTalk address of the other program. The AppleTalk address consists of three parts, separated by colons: the zone the other computer is in, the name of the computer, and the name of the target program. If the other computer is in the same zone as yours, you can omit the zone. If the other program is running on the same computer, you can omit both the zone and the computer name.

Comments:

The request command sends an eval Apple event to the programAddress. If the program supports this Apple event, it evaluates the expression and sends the result back to Revolution, which places it in the it variable.

If the program sends back an error message, it is placed in the result function.

For more information about Apple events, see Apple Computer's technical documentation, Inside Macintosh: Interapplication Communication, located at <http://developer.apple.com/techpubs/mac/IAC/IAC-2.html>.

User Comments
Expander triangle