Sg2.9
Text frames to be converted a...
Recent RSS
Text frames to be converted as flash text - with instance name.
From:  shiva
Date:  17. October 2012, 14:49

Need help!

I am working on a project which needs -

Multiple text frames needs to be converted as flash text >
property changed to dynamic text > writing instance name “_txt”.

so how can i write scripting on above process.

Thanks in advance!

Re: Text frames to be converted as flash text - with instance na
From:  pqbd
Date:  19. October 2012, 00:03

The FlashText Attributes aren't exposed in Scriptographer. I was able to open a file in a text editor and change the values.

• Create a new document with a single text object
• Save as an .ai file WITHOUT compression or PDF compatibility
• Open in a text editor and search for: %AI5_BeginLayer
• You'll see something like:
%AI5_BeginLayer
1 1 1 1 0 0 1 0 79 128 255 0 50 0 Lb
(Layer 1) Ln
%_/ArtDictionary :
%_/XMLUID : (Layer_1) ; (AI10_ArtUID) ,
%_;
%_
0 A
0 Xw
/AI11Text :
0 /FreeUndo ,
0 /FrameIndex ,
0 /StoryIndex ,
2 /TextAntialiasing ,
;

0 1 0 0 0 Xy
0 J 0 j 1 w 10 M []0 d
0 XR
0 0 Xd
6 () XW
LB
%AI5_EndLayer--

• Replace this with:
%AI5_BeginLayer
1 1 1 1 0 0 1 0 79 128 255 0 50 0 Lb
(Layer 1) Ln
%_/ArtDictionary :
%_/XMLUID : (Layer_1) ; (AI10_ArtUID) ,
%_;
%_
0 A
0 Xw
/AI11Text :
0 /FreeUndo ,
0 /FrameIndex ,
0 /StoryIndex ,
2 /TextAntialiasing ,
;

%_/ArtDictionary :
%_/Dictionary :
%_1 /Int (Type) ,
%_() /UnicodeString (EmbeddedChars) ,
%_9 /Int (RenderingType) ,
%_0 /Bool (HasBorder) ,
%_1 /Bool (IsSelectable) ,
%_() /UnicodeString (Target) ,
%_() /UnicodeString (URL) ,
%_(_txt) /UnicodeString (InstanceName) ,
%_() /UnicodeString (EmbeddedCharSets) ,
%_0 /Bool (HasEmbeddedChars) ,
%_0 /Int (CustomAntialiasSharpness) ,
%_0 /Int (CustomAntialiasThickness) ,
%_; (FlashTextAttributes) ,
%_;
%_
0 1 0 0 0 Xy
0 J 0 j 1 w 10 M []0 d
0 XR
0 0 Xd
6 () XW
LB
%AI5_EndLayer--

• Save, and open in Illustrator

Re: Text frames to be converted as flash text - with instance na
From:  peterwall
Date:  4. August 2015, 06:01

Hi,
If you wanna save these complicated steps and find a easy way, you can google PDF to image Converter and you will find many useful tools, or google how to convert PDF to word and vice versa to get instructive articles. I think PDF conversion programmes can enable to quickly convert files. i have use PDF converter which can original layouts hyperlinks, Images and tables retained in word ,text, image, Epub, html.but i forgot download the wedsite ,go to google. By the way , pay attention to your system platform, select the suitable one . I use a PDF converter driver found on the internet . Install it and it becomes a selectable converter option.Then you can convert PDFs to many forms in any program at all, including Adobe Acrobat . Just open a PDF, select convert, and choice a form you want, then you can do pdf to word conversion and vice versa,the task will be finished in several seconds. if you haven't found a good choice , you can have a try. best wishes.

Best regards,
Peter

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Mosaic Staple Raster 24.03.10