Article View: adobe.scripting.indesign
Article #9031(AS) Add a Zapf Dingbat to the end of text boxes
From: Michelle_A_Dick
Date: Wed, 13 Sep 2006 14:22
Date: Wed, 13 Sep 2006 14:22
9 lines
1539 bytes
1539 bytes
I'm trying to add a Zapf Dingbat character to the end of my text boxes in InDesign. The character signifies the end of a story. I had the following AppleScript that use to work in QuarkXPress. I figured it would work in InDesign if I replaced the "QuarkXPress" with "Adobe InDesign CS2." How silly of me-if it were only that easy! When I try to run the AppleScript in InDesign I get the error message "AppleScript Error! Error Number: -2710, Error String Adobe InDesign CS2 got an error; Can't make a class character." Here's what I'm using...
tell document 1 of application "Adobe InDesign CS2"
--this script adds a dingbat character
make character at end of every story with properties �
{contents:"v", font:"Zapf Dingbats", size:11}
end tell
I want to achieve this with a little code as possible. Thanks for any help!
Technical Details
Message-ID:
<3bc19982.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!news.motzarella.org!news.isoc.lu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,6d912378dacdbabc,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII From: Michelle_A_Dick@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!news.motzarella.org!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: (AS) Add a Zapf Dingbat to the end of text boxes Message-ID: <3bc19982.-1@webcrossing.la2eafNXanI> Date: Wed, 13 Sep 2006 07:22:22 -0700 Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit