[jawsscripts] Re: Putting a slash at the end of a text string
- From: "Jackie McBride" <abletec@xxxxxxxxx>
- To: jawsscripts@xxxxxxxxxxxxx
- Date: Tue, 30 Sep 2008 17:14:04 -0700
Sue, see below. It works.
include "hjconst.jsh"
include "hjglobal.jsh"
Script testing ()
var
string path
let path = "c:/mypath/mydir/"
EndScript
On 9/30/08, Sue B <sueb@xxxxxxxxxxxxxx> wrote:
> Jackie,
>
> Yes, everything in the code works normally until I put the string that
> has the slash at the end. Then I'm given a message telling me that I
> haven't added the closing quotes, which I have. I also tried this with a
> TypeString function as well as with the string as a variable. Neither
> works. In both cases the slash causes the error message and removing the
> slash allows it to compile normally.
>
> Sue B.
>
> Jackie McBride wrote:
>> U didn't show us your code. It compiles fine if u put the string in
>> quotation marks.
>>
>> On 9/30/08, Sue B <sueb@xxxxxxxxxxxxxx> wrote:
>>
>>> Hi all,
>>>
>>> I hope someone here has a good answer to this question. I was creating a
>>> script in which I was holding a text string in a variable. The string of
>>> text ended in a forward slash. The problem was that the file would not
>>> save and compile when the slash was there. Now this string was a path
>>> statement so it had three other forward slashes in it and these didn't
>>> seem to be a problem, just the one at the end. I won't bore all of you
>>> with the specifics of the script or why the slash had to be at the end
>>> of the string, but take my word for it the reason for doing this would
>>> have saved my user some time while completing a repetitive task if I can
>>> make it work. Any suggestions will be much appreciated. Can I use an
>>> ascii representation of this character to do this?
>>>
>>> Thanks in advance for any help you can offer.
>>>
>>> Sue B.
>>> __________
>>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>>
>>> View the list's information and change your settings at
>>> http://www.freelists.org/list/jawsscripts
>>>
>>>
>>>
>>
>>
>>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> 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
Check out my homepage at:
www.abletec.serverheaven.net
& please join my fight against breast cancer
<http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
- Follow-Ups:
- References:
- [jawsscripts] Use statements and .jsd processing
- From: Jamal Mazrui
- [jawsscripts] Putting a slash at the end of a text string
- From: Sue B
- [jawsscripts] Re: Putting a slash at the end of a text string
- From: Jackie McBride
- [jawsscripts] Re: Putting a slash at the end of a text string
- From: Sue B
Other related posts:
- » [jawsscripts] Re: Putting a slash at the end of a text string
- » [jawsscripts] Re: Putting a slash at the end of a text string
- » [jawsscripts] Putting a slash at the end of a text string
- » [jawsscripts] Re: Putting a slash at the end of a text string
- » [jawsscripts] Re: Putting a slash at the end of a text string
- » [jawsscripts] Re: Putting a slash at the end of a text string
- » [jawsscripts] Re: Putting a slash at the end of a text string
- » [jawsscripts] Re: Putting a slash at the end of a text string
- » [jawsscripts] Re: Putting a slash at the end of a text string
- » [jawsscripts] Re: Putting a slash at the end of a text string
- [jawsscripts] Use statements and .jsd processing
- From: Jamal Mazrui
- [jawsscripts] Putting a slash at the end of a text string
- From: Sue B
- [jawsscripts] Re: Putting a slash at the end of a text string
- From: Jackie McBride
- [jawsscripts] Re: Putting a slash at the end of a text string
- From: Sue B