🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19812

Re: Can I define a key command (like Cntrl+Num 1) to a style (WIN)?

#19812
From: Olav Kvern
Date: Fri, 15 Nov 2002 20:12
9 lines
1485 bytes
Erwin-- 

I think that I don't understand what you want to do. If you're asking how to apply a style via scripting, that's fairly easy to do. I thought you were asking for a keyboard shortcut for a script. 

If what you want to do is provide a way for users entering text in a VB form apply styles in an InDesign document, there are lots of ways you can do it. One way would be to insert tags in the text and then save the text as InDesign tagged text and import it into InDesign (via script). Another would be to assign a paragraph style to text coming a specific field on your VB form as the text is sent to InDesign. There are lots of ways to do this--it's up to your VB program. 

Thanks, 

Ole
Technical Details
Message-ID: <1de697ed.6@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!sn-xit-04!supernews.com!news.maxwell.syr.edu!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de697ed.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,3b01201da99d99d5
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-15 12:48:08 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!sn-xit-04!supernews.com!news.maxwell.syr.edu!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Can I define a key command (like Cntrl+Num 1) to a style (WIN)?
Message-ID: <1de697ed.6@WebX.la2eafNXanI>
Date: Fri, 15 Nov 2002 12:12:15 -0800
References: <1de697ed.-1@WebX.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit