Escape "Quotes" in Photoshop Scripts
Hi
I have several scripts in which our php systems generates a JSX file based on mysql data.
Some of these data values have quotes in the text value, which causes errors in photoshop due to the syntax.
Can anyone confirm how we can escape these quotes in photoshop scripting?
For example i have the below code
activeDocument.activeLayer.textItem.contents="' . $text1 . '";
For example the $text1 value could contain
"Test Value"
With quotes either side.
So how would we go about escaping the two quotes in script?
Thanks
