Page 1 of 2

How to use the multiline Message Box area??

Posted: Sun Feb 17, 2019 7:58 pm
by ValiantCuriosity
Good Mid Morning (my time),

Another "baby" question for you. I'm trying to get the message box to respond to several lines of code. I'm using LC9.02. I put the code into the box and press return. Nada. I get no response. What is the key that I need to make the magic happen?

I have a button ID 1007 on a stack to test this.
messageBoxQuestion.png
messageBoxQuestion.png (5.31 KiB) Viewed 8756 times
Thank you, thank you, thank you. I"m still happy dancing about the code completion help: <Tab> instead of <Return>, who would'a thunk it? :lol:

-Rachel

Re: How to use the multiline Message Box area??

Posted: Sun Feb 17, 2019 8:36 pm
by Klaus
Hi rachel,

RETURN creates a new line, but ENTER finally executes all the stuff!


Best

Klaus

Re: How to use the multiline Message Box area??

Posted: Sun Feb 17, 2019 10:25 pm
by bogs
Erm, what do you do if both keys on your keyboard are marked 'Enter' then? :D
Short answer: to find out (on 'nix), I hit both, the 'enter' key on the numpad actually executed the command, the 'enter' key on the main keyset only sent the cursor to the next line.

IF you have a problem like that Rachel, you can also get it to execute with (depending on OS and Keyboard) [ctrl+Enter] or (I think) [cmd+Enter] :)

Re: How to use the multiline Message Box area??

Posted: Sun Feb 17, 2019 10:59 pm
by Klaus
Erm, what do you do if both keys on your keyboard are marked 'Enter' then?
Get a "correct" keyboard and not this chinese rubbish, old miser! :D
To be precise:
returnenter.jpg

Re: How to use the multiline Message Box area??

Posted: Sun Feb 17, 2019 11:23 pm
by bogs
Sorry, at $26. this keyboard was already 5x the price I used to pay, I ain't goin no higher for NOBODY :P :P :P
(Dang failin eye-sight :shock: )
Selection_005.png
OMG, sticker shock!
I would love to get my old IBM keyboard working again. Used to sound like a machine gun going off in the house :wink:

Re: How to use the multiline Message Box area??

Posted: Sun Feb 17, 2019 11:48 pm
by ValiantCuriosity
<control> + <enter/return> got it! :D I'm on a MacBook pro. No number pad. Thanks guys. You're the best. It's little things like this that make life difficult or easy...

-Rachel

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 9:54 am
by bogs
ValiantCuriosity wrote:
Sun Feb 17, 2019 11:48 pm
I'm on a MacBook pro. No number pad.
Ah well, there's your problem right there! We need to get you a correct laptop, not one of those cheap Chine... oh wait... :twisted:

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 11:34 am
by Klaus
ValiantCuriosity wrote:
Sun Feb 17, 2019 11:48 pm
I'm on a MacBook.
AHA! Not the most unimportant piece of information. 8)

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 12:08 pm
by bogs
:mrgreen: :mrgreen:

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 2:45 pm
by Mikey
You can also use the single-line and separate the statements with a semicolon

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 4:20 pm
by bogs
I thank you for that Mikey, although I knew you could separate statements like that in the code editor, for some reason, I never made the connection for the messagebox :roll:

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 6:16 pm
by Mikey
it's even more convenient if you write a runtime statement interpreter, because then you can just use an answer dialog...

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 6:17 pm
by FourthWorld
ValiantCuriosity wrote:
Sun Feb 17, 2019 11:48 pm
<control> + <enter/return> got it! :D I'm on a MacBook pro. No number pad. Thanks guys. You're the best. It's little things like this that make life difficult or easy...
That key combination also triggers the Apply button in the Script Editor.

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 7:50 pm
by ValiantCuriosity
Bugs, err, Bogs and Klasiman--err, Klaus. As always you two are in rare form. I know, "living on the edge". :D
BTW, people also misspell my name. Now, that isn't a challenge!

Thanks guys.

Mikey,

Yes, thank you, I did note the separator, but really wanted to know what to do regarding the multiline statement.

Fourthworld,
I hadn't realized this could be used on the script editor too.

-Rachel

Re: How to use the multiline Message Box area??

Posted: Mon Feb 18, 2019 8:04 pm
by bogs
Mikey wrote:
Mon Feb 18, 2019 6:16 pm
it's even more convenient if you write a runtime statement interpreter...
Ah, what the heck is that? :x
Bugs
Meh, whats up doc?
ValiantCuriosity wrote:
Mon Feb 18, 2019 7:50 pm
I know, "living on the edge". :D
I used to live on the edge!!
(...but then I fell off...)
:|