[jawsscripts] Re: JawsMessage Box: HowTo force new/blank lines in message?

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 30 Oct 2007 14:56:36 +1100

ah, but, it was not wasted jackie! because, in martin's example, which was the only type I'd ever seen myself,

before I noted yours below, we had it such as it became necessary
to start a new, let =sMessage + "newBit"
type thing, as the concatination grew,
as opposed to your way, which just continues the one let statement, with pluses on the next line! and I didn't know that could work, so that's heaps valuable to know too, as it seems somewhat simpler than having to restart the let statement every time you want a concatination.

so, thanks for replying!
----- Original Message ----- From: "Jackie McBride" <abletec@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Saturday, October 27, 2007 3:08 AM
Subject: [jawsscripts] Re: JawsMessage Box: HowTo force new/blank lines in message?


Woops, I c that as I was sending this Martin already replied & so did
u--man, am I slow or what!  Sorry.

On 10/26/07, Jackie McBride <abletec@xxxxxxxxx> wrote:
It looks like this, my brother:
Script test ()

var
string s_message
let s_message = "first, go to control panel.\n 2nd, choose add remove
programs\n"
+"3rd, choose the program u wish 2 remove"
messagebox(s_message)

EndScript

On 10/27/07, Geoff Chapman <gch@xxxxxxxxxxxxxxxx> wrote:
> That's Great!
> ----- OThank you martin.
> Sorry I haven't gotten back to email until now, so am a little late in
> thanking/replying to this one.
>
> I'd forgotten about that concatination thing, but did recall it after > I'd > sent my message, but sure didn't know about \n, so that's very useful > code
> example.
>
> thank you.
>
> geoff c.
>
>
> From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Tuesday, October 23, 2007 10:38 PM
> Subject: [jawsscripts] Re: JawsMessage Box: HowTo force new/blank lines > in
> message?
>
>
> > Geoff,
> >
> >  It is \n within a string that forces a new line.  To keep message
> > segments
> > short, just concatenate them.  Combining both approaches, we have:
> >
> > ---code segment---
> > Var string msg
> >
> > Let msg = "first line\n"
> > Let msg = msg + "second line\n"
> > Let msg = msg + "third line"
> >
> > MessageBox (msg)
> > ---code ends---
> >
> >  hth
> >
> > Martin
> >
> >
> > ----- Original Message -----
> > From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
> > To: <jawsscripts@xxxxxxxxxxxxx>
> > Sent: Wednesday, October 24, 2007 3:32 AM
> > Subject: [jawsscripts] JawsMessage Box: HowTo force new/blank lines > > in
> > message?
> >
> >
> >> guys, could any of you indicate to me how one forces > >> newLineCharacters
> >> and/or blank lines in a message contained in the Jaws MessageBox
> >> function,
> >> to improve Formatting and readability of the end resultant onScreen
> >> message?
> >> And, also how one goes about making it more readable/editable itself
> >> whilst constructing it, within the script manager, such that it > >> doesn't
> >> just scroll off the screen as one is composing?
> >> Thanks so much.
> >>
> >> geoff c.
> >
> > ---snip---
> >
> > __________ View the list's information and change your settings at
> > http://www.freelists.org/list/jawsscripts
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>


--
Jackie McBride
Please sign the Yahoo Accessibility petition at:
<http://www.petitiononline.com/yabvipma/petition.html>
& Check out my homepage at:
www.abletec.serverheaven.net



--
Jackie McBride
Please sign the Yahoo Accessibility petition at:
<http://www.petitiononline.com/yabvipma/petition.html>
& Check out my homepage at:
www.abletec.serverheaven.net
__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts

__________ 
View the list's information and change your settings at http://www.freelists.org/list/jawsscripts

Other related posts: