Here is my work around if anyone wants it...
What (CP1) has found (special characters enumerations) works in a .jsx file, but don't use it as a string, set your type to number .
Use it like this in your .jsx file:
app.findPreferences = app.changePreferences = null;
var myFound = app.activeDocument.search( "1397909876" ); /* you can put any code in your xml as long as you reference it here */
myFound[0].contents = 1397909876;
Here is all the special characters enumeration codes for CS2
[Link removed by moderator]
Enjoy!
davekinross wrote:
Here is all the special characters enumeration codes for CS2
[pirated site reference]Enjoy!
Sorry, but I'm not enjoying that reference you gave. That site is a plain copy of my hard work, unattributed, and with advertisements sprinkled on top. It's a piece of blatant theft. (The site producer even refers to himself "an XML expert" -- ha ha. I would laugh if only it weren't so pathetic.)
For the original, see http://www.jongware.com/idjshelp.html or its online incarnation at MIT: http://jongware.mit.edu/idcs5js/pe_SpecialCharacters.html
Do you have the Decimal codes on your site? That is why I pointed to [Link removed by moderator]
Special Characters
Decimal code
auto Page Number
1396797550
next Page Number
1397649518
previous Page Number
1397780590
section Marker
1400073805
bullet Character
1396862068
copy right Symbol
1396929140
degree Symbol
1396991858
ellipsis Character
1397518451
forced Line Break
1397124194
paragraph Symbol
1397776754
registered Trademark
1397904493
section Symbol
1400073811
trademark Symbol
1398041963
right Indent Tab
1397909876
indent Here Tab
1397319796
em Dash
1397058884
en Dash
1397059140
discretionary Hyphen
1396983920
nonbreaking Hyphen
1397645928
end Nested Style
1396855379
double Left Quote
1396984945
double Right Quote
1396986481
single Left Quote
1397967985
single Right Quote
1397969521
em Space
1397058899
en Space
1397059155
flush Space
1397124179
hair Space
1397256787
nonbreaking Space
1397645907
thin Space
1398042195
figure Space
1397122899
punctuation Space
1397780051
column Break
1396927554
frame Break
1397125698
page Break
1397778242
odd Page Break
1397715010
even Page Break
1397059650
footnote Symbol
1399221837
North America
Europe, Middle East and Africa
Asia Pacific