-
escaping windows backslashes
Hi I am using the layer object “applyPreset” method which requires a file path as the argument. When I use a window file path that has backslashes I either have to double up all the backslashes or change them all to forward slashes before it will work. Is there a way to have the javascript interpret the backslashes correctly. I was hoping “escape()” would work but no dice it seems.
Pete
Sorry, there were no replies found.