From: Rodimus_Prime on
I'm trying to set up a system message box that comes up after a user enters in
some text. If what they typed in equals a stored system variable, then it comes
up to warn them. Is there a way to have the message box display a variable. I
want it to say, "Sorry, the term {system variable entered by user} already
exists". I've tried playing around with the equals sign, quotation marks,
brackets etc, but can't get it to work.

Any suggestions would be awesome, thanks

From: Chris Forecast on

"Rodimus_Prime" <webforumsuser(a)macromedia.com> wrote in message
news:fncmov$5u0$1(a)forums.macromedia.com...
> I'm trying to set up a system message box that comes up after a user
> enters in
> some text. If what they typed in equals a stored system variable, then it
> comes
> up to warn them. Is there a way to have the message box display a
> variable. I
> want it to say, "Sorry, the term {system variable entered by user} already
> exists". I've tried playing around with the equals sign, quotation marks,
> brackets etc, but can't get it to work.

"Sorry, the term "^sys_var_name^" already exists"

Chris Forecast


From: Rodimus_Prime on
Maybe I used the wrong words. I would like the message box to display a user created variable in it's text. Something like, "happy go lucky", that was created by the user.
From: Erik **AdobeCommunityExpert** on
Chris's reply is correct and pretty much the only way to do it.
If your user enters a term, like 'happy go lucky', where are you storing
that term?
Whatever variable stores that term is what needs to come between the
^carats^ to concatenate it to the rest of "the text"

"Sorry, the term "^your_variable^" already exists"
Erik

Rodimus_Prime wrote:
> Maybe I used the wrong words. I would like the message box to display a user created variable in it's text. Something like, "happy go lucky", that was created by the user.

--
Erik Lord
http://www.capemedia.net
Adobe Community Expert - Authorware
http://www.adobe.com/communities/experts/
------------------------------------------------------------------------
http://www.awaretips.net - samples, tips, products, faqs, and links!
*Search the A'ware newsgroup archives*
http://groups.google.com/group/macromedia.authorware
From: Amy Blankenship-Adobe Community Expert on

"Rodimus_Prime" <webforumsuser(a)macromedia.com> wrote in message
news:fncou6$87n$1(a)forums.macromedia.com...
> Maybe I used the wrong words. I would like the message box to display a
> user created variable in it's text. Something like, "happy go lucky", that
> was created by the user.

Are you writing a KO or Command? Users cannot create variables in a
packaged file, though you could fake this with a property list.

HTH;

Amy