Article View: adobe.scripting.indesign
Article #8081How to paste from clipboard with specified font
From: Jumbo_Meddley
Date: Thu, 09 Nov 2006 08:54
Date: Thu, 09 Nov 2006 08:54
9 lines
1414 bytes
1414 bytes
Hi. Yup, I'm a newbie, so I apologise for that. I've written a script that grabs field data from FileMaker, copies it to the clipboard and then pastes it into an InDesign document. What I want to do next is apply a specific font (type, style, size, etc) to the copied text. ie each block of text pasted from the clipboard needs to have whatever font settings I require. So far I am grabbing the FileMaker data correctly and pasting it into InDesign but I can't change the font settings - "unable to change font to "Helvetica" type errors on compiling. I've searched for what seem like an age - could someone help me out here? Cheers!
Technical Details
Message-ID:
<3bc239d1.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!npeer.de.kpn-eurorings.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,bb393d40d5117b7 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Jumbo_Meddley@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!npeer.de.kpn-eurorings.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: How to paste from clipboard with specified font Message-ID: <3bc239d1.-1@webcrossing.la2eafNXanI> Date: Thu, 9 Nov 2006 00:54:39 -0800 Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit