Convert Path strings to POSIX strings
Mark Schonewille
m.schonewille at economy-x-talk.com
Mon Nov 18 15:25:24 EST 2013
Hi Brahmanathswami,
Can you give an example of a JS script you'd like to run? What are you
using to run it? LateNight Software's file extension perhaps?
Perhaps you need to write a JS function to escape characters. What do
you expect to see instead of the asterisk and percent sign? The same
escaped by a backslash or something else?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
colour spaces. http://www.color-converter.com
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/
On 11/18/2013 20:32, Brahmanathswami wrote:
> Those functions only deal with colons --> slashes and back
>
> But I was looking to auto escape "bad chars" for Javascript
>
> This apple script works:
>
> get POSIX path of "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus
> /Google Image Result for
> http___f33.yahoofs.com_mapann_1000_sr_22692099138f2f.jpg%3Flc_____DWcnzQJ1P.jpg"
>
>
>
> but my result is not what I expected: it is unchanged.
>
> the *Asterisk and the percent sign in the path are unchanged.
> I thought POSIX conversion would do something with those, but it doesn't.
>
> I'm still missing something...
>
More information about the use-livecode
mailing list