You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExtendScript Toolkit 4.0 renders a particular piece of code as:
actionDescriptor1.putString ( idassetRef, """{"local_id" :"urn:uid:local:22998ae8-23c9-4278-bc6c-c2b11783caf2","path" :"""+filename2SaveInDirectory+""","display_name" :"""+filename2Save+"""}""" ); //[All on one line - and it works]
ExtendScript Toolkit 4.0 renders a particular piece of code as:
actionDescriptor1.putString ( idassetRef, """{"local_id" :"urn:uid:local:22998ae8-23c9-4278-bc6c-c2b11783caf2","path" :"""+filename2SaveInDirectory+""","display_name" :"""+filename2Save+"""}""" ); //[All on one line - and it works]
However, ExtendScript Debugger v2.0.3 renders the code as:
actionDescriptor1.putString(idassetRef, ""
"{"
local_id " :"
urn: uid: local: 22998 ae8 - 23 c9 - 4278 - bc6c - c2b11783caf2 ","
path " :"
"" + filename2SaveInDirectory + ""
","
display_name " :"
"" + filename2Save + ""
"}"
""); //[On separate lines - and it gives error 25]
I.e., the second line above.
This behaviour affects other code containing multiple consecutive double quotes, and gives error 25.
The code was copied from ScriptListener, and forms part of the PS code to save in the Cloud..
The text was updated successfully, but these errors were encountered: