Illustrator Scripting :: Special Characters - Wrong Result With Bridge Talk In Loaded Script

Jun 10, 2013

Why is this so and what can I do?
 
I use several scripts in Illustrator. Some of them I use in this way: [URL] ....
 
Now I tried to built in two other scripts in the palette. In this scripts it is required to use special characters in variables. Standalone these scripts are work correct. Here is an simple example:
 
// exampleScript.jsx
var a = 'u201d'+" example "+'u201d';
alert(a)
 
I get this (correct) result:
 
But when I call this example script with bridge talk:

var scriptToLoad = new File(pathToScript + "/exampleScript.jsx");
var win = new Window('palette', 'own palette');
var btnSelect = win.add('button', undefined, 'example');
[Code] .....
 
Here is the same script and the wrong result:

View 9 Replies


ADVERTISEMENT

Illustrator Scripting :: Palette Disappears When Script Is Loaded?

Apr 23, 2013

When I run a script that brings up a palette window from ExtenScript toolkit the window behaves as I expect.But when I load the same script from illustrator (ctrl+12) the window does not show, or is instantly closed.

View 5 Replies View Related

Illustrator Scripting :: Iterate Through Selected Characters

May 3, 2012

Code snippet to show me how to iterate through the selected text (not the frame!, not the words, only the selected chars) and make any change on the characterAttributes (size, color, etc.)?
 
In the property "app.activeDocument.selection" usually the selected objects are stored as an array. Now when I select characters in a textframe (or TextPath, whatever) there is a [Textrange] in it. I already tried some combinations like this snippet underneath but I still get errors, that selectedChars[i] is undefined.I'm on Illustrator CS4, Mac OS X, Javascript
 
var selectedChars = app.activeDocument.selection.characters;
for (i = 0; i < selectedChars.length; i++ ){                           
selectedChars[i].characterAttributes.fillColor = myNewCMYKColor;

View 14 Replies View Related

Illustrator Scripting :: How To Set Character Attributes On A Range Of Characters At Once

Jan 11, 2014

Illustrator Version CS3-CC
Preferred scripting: Visual Basic (VBScript)
 
In the Adobe Illustrator CS5 Scripting Reference (VBScript), I see the following code for setting character attributes.
 
iCount = textRef.Characters.Count
i = 1
Dim charRef
Do While (i < (iCount + 1))
dSize = dSize * 1.1
textRef.TextRange.Characters(i).CharacterAttributes.HorizontalScale = dSize
textRef.TextRange.Characters(i).CharacterAttributes.VerticalScale = dSize
i = i + 1
Loop
 
Is there a way to set character attributes on a range of characters at once?
 
Iterating through the characters one by one is really slow, especially in higher versions of Illustrator (like CS6).
 
I want to be able to set character attributes, for example, from the third character to the sixth character of a paragraph textrange.
 
Basically, I want to do something like itembyrange in InDesign scripting.

View 3 Replies View Related

Illustrator Scripting :: Divide Characters In Text Frame

Oct 23, 2012

I'm sending this message regarding this link : URL....Just need a favor with all my respect to you and i think you will not let me down asking u for 2 script to divide characters in the textbox like the following:
 
1st : (TEXT FRAME) : Each letter alone and delete the space character .. with out moving any character from it's position
2nd : (TEXT FRAME) : Each word alone and keep the space character
 
"both in multiple text frame".

View 5 Replies View Related

Illustrator Scripting :: Remove Horizontal Scale On Circular Characters Only?

Sep 18, 2013

Lino's CrTronic used to have a command to set horizontal scaling to 100% for these 3 characters, and leave the rest alone.

® circle R
© circle C
• bullet
 
Because those 3 characters are circles we often want them proportional even if the rest of the copy is horizontally scaled.

View 18 Replies View Related

Photoshop :: How Do I Insert Special Characters In PS6?

Aug 15, 2003

how d I insert special charecters "like copyright" into a photoshop 6.

Or for that fact a place to find the list of PC Photoshop keyboard shortcuts. Besides the one thats missing from my book.

View 15 Replies View Related

InDesign :: Some Special Characters Are Displays As Box?

Feb 14, 2014

I've exported the ePub file from InDesign CC and found some special characters are looks as box i.e., as junk. But while unzip the ePub and open the particular XHTML in internet explore, it displays fine.

View 3 Replies View Related

Photoshop :: Special Characters Ignore Formatting?

Aug 2, 2012

I've been wanting to upgrade to CS6 but have one issue that is preventing me from using it exclusively during testing that did not occur in CS5.
 
When typing special characters the formatting jumps all over the place and the speical characters end up at the end of text and not where I typed them. 
 
For instance, if I type ALT+0169 (The copyright symbol ©) then my name, the © ends up at the end of my name.   I have to reopen CS5 to do any speical characters using the ALT key + number combinatiion.  
 
To try it, just type [Space][Space][ALT+0169] then any text.   If your system is doing what mine does, the text jumps around and puts the © at the end of the text not the start. 
 
I've tried to copy and put the character at the end of the text but to no avail.  It seems CS6 only allows the character at the end of the text line.
 
It's the only thing keeping me from upgrading to CS6 which otherwise I really like. 

View 5 Replies View Related

VideoStudio :: Entering Special Characters With Alt-xxx Into Titles?

Apr 28, 2011

It seems that I cannot enter a special character into the text of a title with Alt-0xxx, even though this works with just about all other Windows applications. Is this a feature or a bug? Or is there a way to do this that I'm unaware of?

For the moment I'm entering the special characters into a text editor, then copying and pasting them into the title, which works, but is awkward. I don't understand why VideoStudio doesn't let me enter the characters directly.

The characters in question are things like typographic quotes, some accented characters, bugs like copyright and registered trademark, and other things that are not unusual to need to use in a title.

View 3 Replies View Related

Photoshop :: Accessing Font Special Characters

Feb 17, 2005

I'm experiencing a very bizarre problem in CS with a font special character. I used Extensis Suitcase to examine all the font characters for a particular font that I'm using on a project. The character mapping shows the key combination for the character I want is (on a Mac) Option/Alt + Z.

This works in every other application on my computer, including my email application, but for some reason, within CS it brings up the Omega character. Any idea why this happens and how I change it? I even tried to type the character in Word and cut and paste it into Photoshop and it changes! What gives?

View 8 Replies View Related

Paint.NET :: Insert Symbols And Special Characters (R)(T)(C)

Sep 6, 2005

Its seems important to be able to insert and use special characters in text, as much of the graphics from Paint.net are used on web pages, etc.

When I try to cut & paste text with special chacters it substitutes things like â for ®.

Or did I overlook this feature?

View 9 Replies View Related

AutoCad :: Finding Special Characters And Symbols

Mar 14, 2012

I need to find the tool bar or palette that has the special characters and symbols ( Microns, Center Line, etc.)

ACLT 2012

View 8 Replies View Related

GIMP :: Type Language Special Characters?

Feb 7, 2013

I want to type in gimp(using text tool) with some special characters from my native language like(ā, ē, č, ķ, ģ). If i try to do it in gimp I get á, é, ć, ḱ, ǵ. Are there some settings or plugins that allow me to type these non-English characters like I do it usually.

View 5 Replies View Related

Lightroom :: Special Characters In Text Search

Jan 3, 2012

I am starting to use LR3 on my iMac (Lion OS)
 
I noticed that when I search for a filename that contains special characters (e.g. "é" or "ç" or "à"), Lightroom cannot find the word.
 
So if I look for file petit-dejeuner, LR3 will find it but when I look for petit-déjeuner, LR will not find any picture that contains this word.
 
I have a lot of pictures with special characters (french)
 
See picture name below has "déjeuner", it shows in lightroom catalog

When I add "déj" in the text search filter, picture disappears from search results

View 2 Replies View Related

VideoStudio :: Couldn't Enter Special Characters In Titles

Dec 19, 2010

when I used VS 10 and VS 11, I was able to enter special characters in Titles (captions) by pressing [alt] and the special character number. For example, when I need a ñ (n with a tilde on top, found in Spanish words), I pressed [alt] and 164 at the same time. However with VS X2, it does not work and I could not enter special characters in Titles. is this no longer available in VS X2 or I did something wrong in the settings/configuration of VS 12?

View 5 Replies View Related

AutoCAD 2013 :: Typing Special Text Characters

Mar 6, 2013

Years ago I was able to type %% and a letter so the diameter symbol appeared.

I have forgottoen all the codes over time

Is there an easier way to get those symbosl inserted in a text string (diameter, degree etc) with 2013?

I'm specifically needing to put a superscript number in a text item (eg cubic meteres...).

Does any table of those codes?

View 3 Replies View Related

AutoCAD Inventor :: Excel Linking / Special Characters?

Aug 30, 2013

As everybody know copy/paste excel file into an inventor drawing is sometimes difficult. As you can see in the printscreen a special character is not converted. I supposed it's because this special character is not in the AIGDT or is in the extended character set wich is not considered in Inventor?

View 2 Replies View Related

Photoshop :: CS6 Type Tool - Copy / Paste Special Characters From Character Map?

Aug 17, 2012

Windows 7; Photoshop 13 (CS6).I am typing some text in a new layer; no problem so far.  I need to insert some special characters that are not on the keyboard, e.g.TōkaiThat also was not a problem; I copied the character from the Windows Character Map.
 
Now I want to copy/paste more special characters from the Character Map, e.g.
☏ (U+260F) or
✉ (U+2709)
 
Now all of a sudden this does not work; the pasted characters appear in Photoshop  as a boxed X.The font I have been using was Arial, but when I pasted these Unicode characters, the font automatically changed to Myriad Pro.  Changing the font back to Arial does not alter the boxed X.
 
I took these Unicode characters from the Character Map using font Arial Unicode MS.  That font does not appear in Photoshop.Questions:are there any Unicode fonts available in Photoshop?is there any other way to paste such characters into Photoshop? 

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Finding And Replacing Very Special Characters

May 15, 2013

Is there a way to find and/or replace "very" special characters like [carriage return], [backspace] or even [tab mark], considering that the first thing that comes to mind when saying special characters is the standard and extended ASCII only.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Using Special Characters In Custom Command

May 4, 2012

I'm trying to write a simple Custom Command that sets any layer that matches "$-*" to a specific color. But as soon as AutoCAD sees the $, it thinks I'm trying to do a DIESEL expression. Supposedly, the quote marks specify that the enclosed characters should be treated as plain text, but that doesn't happen.Here's what I've got:

^C^C-LAYER;C;252;"$-*";;

And this is what I get:

Command: -LAYERCurrent layer: "$-HATCH-00-002-PW-BOAT"Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile]: CNew color [Truecolor/COlorbook] : 252Enter name list of layer(s) for color 252 <$-HATCH-00-002-PW-BOAT>: "No matching layer names found.Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile]:
It stops, hanging at the incompleted -LAYER command prompt. 

View 4 Replies View Related

InDesign :: Export XML Error Break / White Space / Special Characters

Mar 12, 2014

I'm running into an issue when conducting an XML Merge.The situation:

- Document has been structured using tags so that it could be exported to XML
- The XML document was then translated by professional translators into Russian from English
- All XML tags in English/Russian version are the same, no XML has changed
- XML Merge is conducted and all content is placed into the the InDesign document and the English/Russian content both has the proper tags selected
- Russian content however, does not include any special characters such as line breaks, or spaces. This is causing Paragraph Styles to be wrong, and essentially the whole document is formatted incorrectly 
 
The Question:

- How can you include special/hidden characters such as line breaks into the original XML Export? I keep getting the error "Content contains characters that can not be encoded"
- If line breaks are included and are inserted into XML, when I conduct the XML Merge will InDesign recognize these codes/characters that are between the XML Tags?

View 13 Replies View Related

Illustrator Scripting :: Pie Chart Slices Sizes Wrong Using Visual Basic Script

Jan 25, 2012

We have a Visual Basic Script that creates pie charts using Adobe Illustrator along with an internally created app called Chart Generator. An xml file that contains a markup for a set of pie charts is imported into Chart generator and by using Illustrator it generates all of the pie charts and saves them as individual eps files.
 
It was recently discovered that not all of the pie slices are proportioning correctly. In some cases a slice that is 10% of the pie appears larger than a slice that is 13% of the pie. We can’t determine a pattern that might be causing this issue. We think that the problem is in the Visual Basic coding.

View 3 Replies View Related

AutoCad :: Area Function Gives Wrong Result

Feb 17, 2013

I have a simple rectangle 17.619units x 1.499units = 26.41units². The units are supposed to be meters.

Why does the area function (Home, Utilities, Measure, Area) give a result of 423.3422? I don’t know what units this is in.

I have tried this on several rectangles and all come out with a strange result.

This is a drawing I have inherited. When I do the same thing in a new drawing or one of my own drawings the result is correct.

View 4 Replies View Related

Illustrator Scripting :: Convert Inks To Pantone Color Bridge CMYK

Nov 11, 2011

I work with a large number of Illustrator files daily that all use the Pantone Solid Coated library for their swatch color scheme. This color library will be used whether customers provide the art pieces or if I design the pieces for them.
 
However, I have found that in order to best match our digital press we must to convert the inks to the Pantone Color Bridge CMYK PC library before printing. 
 
Basically the same color number just the different library (eg  PMS 200C would convert to PMS 200PC if outputing in-house to the digital press).
 
My question - is it possible to create a script that would swap out all the colors in a document (that are in a specific library) with the same colors from a different library?
 
*More specifically what I am wanting to do is if I have a document that has a dozen solid coated colors swap them for their same numerical equivelant in the Color Bridge CMYK PC library.

View 16 Replies View Related

AutoCAD 2010 :: Paste Special / Link - Excel On DWG Shows Wrong Data On XP Workstations

Sep 18, 2012

I have an issue between XP 32 bit ACAD 2011 workstations and Windows 7 64 bit ACAD 2011 workstations...

1 - A Windows 7 user does a Paste Special>Paste Link>Microsoft Excel to insertembed a portion of an Excel worksheet into the DWG.

2 - various win7 and XP users make changes to the Excel worksheet directly in Excel

3 - Win7 users open the DWG to see the correct and updated Excel data in the DWG

4 - XP users open the same DWG to see OLD data from a previous save and not the correct updated data on the linked worksheet

5 - XP users directly open the Excel file in Excel and are able to view the correct updated data BUT NOT IN THE DWG

6 - XP users see old incorrect excel worksheet data in the DWG. Win7 users see the correct data in the DWG.

View 5 Replies View Related

Photoshop :: Adobe Photoshop Hacking For Working Special Characters?

Oct 30, 2012

of Adobe Photoshop v6.0.1 (quite old, I know, but it do all I want and on my old HW I did not plan/want to use any more recent version, because they are HUGE and with just a little preferences trick, I did not need to reinstall my PS - ever ), yet as Czech user, I need my software to type some special characters as well. These are looking like this:
 
[URL]...

Now the only problem is, that some of them PS just refuse to type. Seven small and seven caps are just wrong. See the line "for PS:"...
 
I battled the problem even by editing the fonts itsels, because that seems to work with Adobe Illustrator, yet this also cause the edited fonts to be useless in another programs. So I looked deeply and in the Adobe settings in directory Fonts / Reqrd are directory CMaps and perhaps editing the character map used will be better and usable solution? how to do it or even determine with file from the 96 files in the CMaps directory are right now used by Adobe Photoshop?

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Converting Special Layer With Special Line Weight To Special Layer Name

Aug 9, 2013

i have line in the drawing that exists on layer A-Wall it has different lineweight 0.05 from true wall. Now usually my routine : i select this line and then select similar to convert it to layer glazing.

i need lisp that by one command convert the objects on layer A-wall with layer 0.05 only to glazing.

View 9 Replies View Related

Illustrator Scripting :: How To Automate Importing Variable And Datasets Into Graphs Via Scripting

Dec 18, 2012

I'm try to automate the importing of the Varaible and datasets into my graphs via Scripting, but the ImportVaraibles() function doesn't seem to work.  Here is my Script, mostly copied from the example script provided with Illustrator (CS5).  And, this works manually, using the file names in the script, via Load Variable Library
 
    Set appRef = CreateObject(strIllistratorVersion)
   
       'Open the file and import the datasets
        Set docRef = appRef.Open(strTemplate & "200-500.ai")
        'docRef.Datasets.RemoveAll
        docRef.Variables("Yearbook").Delete
 
Here is the problem, after I delete the previous library, then this next line, right from the example, does nothing
The script then exits with 'No Datasets in this document'
       
docRef.ImportVariables (strXMLFolder & "Lumber_200-500.xml")
'appRef.DoJavaScript "alert('Template:" & strTemplate & strRange & ".ai  |  XML file:" & strXMLFolder & ""  & objFile.Name & "^')"
        If (appRef.Documents.Count > 0) Then
            Set docRef = appRef.Documents(1)

 [Code]....
 
If I remove that delete line, the script runs, but just uses whatever Variables I had last loaded, not the XML file.
 
It's simply not loading.  What do I need to do to get it to load?

View 8 Replies View Related

Illustrator :: Save As PDF - Result Is Blurry

Nov 2, 2013

How to save an Illustrator document as pdf and preserve good quality of its objects. Let's say I create a rectangle, save the document as pdf, see result - the rectangle is blurry.

View 12 Replies View Related

Illustrator Scripting :: Access Graph Data Through Scripting DOM?

May 6, 2012

Can you access graph data through the scripting DOM?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved