Request info on "request"

J. Landman Gay jacque at hyperactivesw.com
Sun Dec 7 14:59:17 EST 2003


On 12/7/03 12:17 PM, Jim Hurley wrote:

> 
> In the documentation under "request" there are the following two examples:
> 
> request "the hilite of button 3" from program "HyperCard"
> request field "Appname" from program "Ozone:Geek Paradise:FileMaker"
> 
> I have tried multiple variation of each with no results.
> 
> I have a button 3 in an open Hypercard stack.
> 
> The following produces only "x" in the message box.
> 
> request "the hilite of button 3" from program "HyperCard"
> put "x" && it

I'm not sure it will make a difference, but try "card button 3". If I 
remember right, HyperCard needs a full reference to the object when 
using AppleScript. (Also, it won't accept abbreviations like "btn" or 
"cd", you've got to spell it all out.)


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list