Launching a URL in OSX is Cake?

J. Landman Gay jacque at hyperactivesw.com
Thu Jan 24 17:20:01 EST 2002


Geoff Canyon wrote:

> It _is_ slightly more difficult, since you need to watch out for the "/" character in the legitimate path, which will have been translated to a ":"
> 
> You could either escape the ":" which always gives me a headache, or do a character-by-character switch. I generally go the headache route, but I have no aspirin handy at the moment...

I sometimes do it this way:

replace colon with numToChar(8) in tPath
replace "/" with colon in tPath
replace numToChar(8) with "/" in thePath

I like using the ascii for "delete" as a placeholder, because it works
fine and there's no way a user has typed it.

I have some Tylenol if you want it...

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the metacard mailing list