At 10:57 PM -0700 8/26/2001, Michael J. Lew wrote:
>Yes, a straightforward mouseUp script in button 1 yields false, a
>mouseDown script yields true.
Now that I look at this again, I think Jacque's absolutely right in her
earlier post: the problem you're seeing is very likely that the expression
you're asking for has to be quoted, or else Revolution evaluates it before
it sends it. In other words, given the statement
request the hilite of button 3 from application "HyperCard"
it gets the hilite of button 3 (in the current Revolution stack), which
evaluates to, let's say, true. Then the statement reads
request true from application "HyperCard"
and since "true" is a HyperTalk constant, naturally HyperCard always
returns true - since it never got the original query about the hilite of
button 3. So the original statement ought to be written like this:
request "the hilite of button 3" from application "HyperCard"
I've corrected the example in the docs to include the quotes. Very sorry
about the confusion.
--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!