Hi Jackie. hmmm, thanks for this below re backslashes eh. so I understand this now, that when you need to include a backslash in a directory path, you need to include a double. but, um, I'm still a tincy bit fogged, could you please just perhaps elaborate a little further on exactly what you meant by your saying that backslash was an "escape character?" escape from what, might I ask? <grin> sorry for the ignorance. ----- Original Message ----- From: "Jackie McBride" <abletec@xxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Wednesday, May 19, 2010 2:25 PM Subject: [jawsscripts] Re: How to read bottom line of string only? > Geoff, the double backslash is when an actual backslash is required, > as per a filename, e.g., c:\\golf. (note it's double, if your > punctuation isn't on). The backslash is an escape character & is used > in front of things like quotation marks, apostrophes, &, yeah, > backslashes! > > On 5/18/10, Geoff Chapman <gch@xxxxxxxxxxxxxxxx> wrote: >> Yep that's right Soronel. >> Ok cool, Thanks very much for this. >> That's AWESOME. >> >> it seems to work! >> thank you thank you. >> >> I only used "\n" and it seems to be doing the trick? >> I thought though, that there was some talk of you having to use two >> backslashes in some instances or something? what was I mixing that up >> with >> do you think? >> >> >> thanks very much for that snappy response also Soronel eh.. >> ----- Original Message ----- >> From: "Soronel Haetir" <soronel.haetir@xxxxxxxxx> >> To: <jawsscripts@xxxxxxxxxxxxx> >> Sent: Wednesday, May 19, 2010 1:23 PM >> Subject: [jawsscripts] Re: How to read bottom line of string only? >> >> >>> Windows controls generally need a \r\n pair. (certainly the edit and >>> rich text box controls do). >>> >>> StringSegment() looks like it could do what you're after (basically >>> the last line of a multi-line string, right?). >>> >>> On 5/18/10, Geoff Chapman <gch@xxxxxxxxxxxxxxxx> wrote: >>>> HI Scripters. I wish to work out, from a bunch of text in a frame, how >>>> I >>>> can string monipulate such that I can read only the bottom line of a >>>> stack, >>>> which in this case will be the last call put on Hold, and which the >>>> keyboard >>>> focus will thus operate on when HoldRetreave is pressed from within >>>> this >>>> telephony interface application I'm scripting for? I know it must >>>> probly >>>> have something to do with grabbing the whole MultiLine string of the >>>> text >>>> in the frame, and somehow getting jaws to search from the right hand >>>> end >>>> of >>>> the string, backwards along the bottom line, until it reached a >>>> newLine/Carriage return character, then chopping everything from their >>>> to >>>> the left, returning the remainder botttom line? but, I'm just a bit >>>> fogged >>>> as to how to exactly code this type of funcionality? Could anyone >>>> steer >>>> me >>>> on the right path here? and, is it a "\r" or "\n >>>> that I'd be looking for here? and is it double backslash that you have >>>> to >>>> enclose in quotes when looking for one of these? ive just forgotten >>>> somehow. >>>> thanks so much for any pointers/info. >>>> >>>> geoff >>>> >>>> __________� >>>> >>>> View the list's information and change your settings at >>>> http://www.freelists.org/list/jawsscripts >>>> >>>> >>> >>> >>> -- >>> Soronel Haetir >>> soronel.haetir@xxxxxxxxx >>> __________� >>> >>> 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 >> >> > > > -- > Change the world--1 deed at a time > Jackie McBride > www.abletec.serverheaven.net > Please join me Saturday, 11/7, on my walk against breast cancer by > making a donation at: > http://main.acsevents.org/goto/larkspur> > __________� > > 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