New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Import a character style to InDesign


Post Reply New Thread Subscribe

 
Thread Tools
nellbern

 
Member Since: May 30, 2008
Posts: 8
nellbern is on a distinguished road
Mac Specs: Intel 10.5.8

nellbern is offline
I want to select a group of Indesign docs & import 1 character style called Moon from the source document. So far what I have is the looping thru different ID docs can anyone guide me? I can see in the ID dictionary that is possible but I'm still learning don't how to put it together:

Code:
set source_folder to choose file with prompt "Select folder containing InDesign Docs to have a Sku's report" with multiple selections allowed without invisibles

tell application "Finder" to set item_list to every item of source_folder

--loop thru all ID docs
repeat with this_item in item_list
   set doc_kind to kind of (info for this_item as alias)
   if doc_kind contains "Indesign" then
       tell application "Adobe InDesign CS4"
           activate
           set user interaction level of script preferences to never interact
         set import styles from ???
 set  set myCharacterStyle to import styles
           
           --XXXXXXXXXXX The guts import Moon character style
           
           
           
           --close document 1 saving no
       end tell
   end if
end repeat
QUOTE Thanks

Post Reply New Thread Subscribe


« execution of c and c++ programs on mac x | Pass Arguments to Package Maker Contents Install Destination from Command line (Termi »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Finder won't start laurag OS X - Operating System 5 04-13-2012 06:46 PM
Virtual Box Seamless mode NyoGoat Running Windows (or anything else) on your Mac 2 09-18-2010 05:16 AM
IWork files import into indesign? ghsusaxa75 Images, Graphic Design, and Digital Photography 0 03-08-2008 11:32 PM

All times are GMT -4. The time now is 07:34 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?