Article View: adobe.scripting.indesign
Article #14575JS: setting font style in find/change preferences (Windows)
From: Peter_Kahrel
Date: Thu, 22 Jan 2004 16:38
Date: Thu, 22 Jan 2004 16:38
11 lines
1132 bytes
1132 bytes
I have a problem setting a font style such as italics in the find/change preferences. The font name works ok: app.findPreferences.appliedFont="Minion Pro" According to the scripting guide, to set a fontstyle, you do a tab after the font name, then you type a stylename (there's a tab there but you see it as a space): app.findPreferences.appliedFont="Minion Pro Italic" But this doesn't work. Nor do "^t", "\t", etc. Any ideas? Thanks. Peter
Technical Details
Message-ID:
<2ccf8376.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!easynet-monga!easynet.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,ed7aeaf60e2e5e40,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-22 09:07:53 PST From: Peter_Kahrel@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!easynet-monga!easynet.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: JS: setting font style in find/change preferences (Windows) Message-ID: <2ccf8376.-1@webx.la2eafNXanI> Date: Thu, 22 Jan 2004 08:38:20 -0800 Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit