Endless thanks to Kevin, Scott, and Andu for answering my question so
well. The examples were greatly appreciated! I had missed the point
that the "message" had to be a quoted message handler name (not some
text destined for the message box). I made a similar mistake when I
first tried to use the "send" syntax, and forgot to quote the message
handler I was sending. Sometimes the chameleon-like character of name
reference syntax in scripting languages throws me off, although I
usually do get it eventually ;-)
Regards,
David
Kevin's example:
At 2:14 AM -0800 2/8/00, [EMAIL PROTECTED] wrote:
>Try something like:
>
>on mouseUp
> load "http://www.xworlds.com/" with message "urlIsDone"
>end mouseUp
>
>on urlIsDone
> put "got it all"
>end urlIsDone
Scott's example:
>The message is sent to the object whose script executed the "load"
>command:
>on mouseUp
> load url "http://www.metacard.com/index.html" with message "tellmeaboutit"
>end mouseUp
>
>on tellmeaboutit which
> put "Download of" && which && "done!"
>end tellmeaboutit
--
David Cramer, Process Innovation Evangelist 87-1313 Border Street
PBSC Computer Training Centres (an IBM company) Winnipeg MB R3H 0X4
Corporate Office Research & Development Canada
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm