Home
Download
Screenshots

Wiki
Plugins
Translations
Developers
Donate

Forums/Help
Contact Us

StrokeIt

New-lines in a msgbox

Posted by sum1 
sum1
New-lines in a msgbox
July 21, 2006 09:48AM
Hi all,

Is there a way to add new-lines to the text in a msgbox?
I hope \n or \\n can be used.
Leo
Re: New-lines in a msgbox
July 21, 2006 02:48PM
Hi sum1,

Can you give an example please ?

with best regards

Leo
Re: New-lines in a msgbox
July 22, 2006 09:02PM
I've added so many actions that sometimes I forget which is which. So I added another action -- Gesture a "?" to pop up a msgbox, showing me the actions I want to remind myself.
I hope the text would be displayed like this:
Action 1 [Gesture 1]
Action 2 [Gesture 2]
Action 3 [Gesture 3]
...
That is, multiple lines. -- Tidy and clear.

So, I hope the escape sequence "\n" can be used in the Text textbox of the Messagebox command.
If I input the text like this:
Action 1 [Gesture 1]\nAction 2 [Gesture 2]\nAction 3 [Gesture 3]
I hope StrokeIt will transform it into multiple lines.

And of course, it would be best if you would offer a multi-line textbox for the Messagebox command rather than a single-line one.

BTW, a bug:
If I add ONE "\n" into the textbox of the Send Keystrokes command, StrokeIt will send TWO new lines.
prathap reddy kandati
Re: New-lines in a msgbox
September 19, 2006 08:34PM
for multiple line in the message box i guess these commands can sure come to aid

Msgbox("first line" & vbNewLine & or & vbCrLf & "second line"... so on and so forth).

try this.... this worked for me.
prathap reddy kandati
Re: New-lines in a msgbox
September 19, 2006 08:34PM
for multiple lines in the message box i guess these commands can sure come to aid

Msgbox("first line" & vbNewLine & or & vbCrLf & "second line"... so on and so forth).

try this.... this worked for me.
Sorry, you can't reply to this topic. It has been closed.