Message Box useage from scripts

MisterX b.xavier at internet.lu
Mon Jul 26 02:59:22 EDT 2004


actually it's easier than that...

put the time -- no need to put into msg but you can...

put the date after msg

put empty -- clear msg

Im coming up with a stack soon that will let you record and save
and reuse the msg history...

cheers
Xavier




> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Jeanne A.
> E. DeVoto
> Sent: Monday, July 26, 2004 01:48
> To: How to use Revolution
> Subject: Re: Message Box useage from scripts
> 
> 
> At 10:38 AM -0700 7/25/2004, Jim Ault wrote:
> >How do I set the command line in the message box?
> >None of the documentation or examples I have read covers this.
> >(I have read Receipe for Find field).  I am an old Hypercard programmer.
> >[...]
> >Is there a message box property to set?
> >Is there a message to send up the heirarchy?
> 
> There's no supported API for it, although since the message box is 
> just a stack, you can use something like
>      put "Hey there" into field "Message Field" of stack "Message Box"
> This might stop working in the future if the Rev developers work on 
> the message box and change the field name, though.
> 
> You might want to consider using a field in your stack, or else a 
> substack, to hold the "find" command - then use a returnKey handler 
> in the field with "do the text of me" to execute what's in the field. 
> This approach provides you with a "cheap message box" that's under 
> your control.
> -- 
> jeanne a. e. devoto ~ revolution at jaedworks.com
> http://www.jaedworks.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution


More information about the use-livecode mailing list