• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Get text from Quark 7.2 doc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get text from Quark 7.2 doc


  • Subject: Get text from Quark 7.2 doc
  • From: "Ian Buttery" <email@hidden>
  • Date: Fri, 24 Aug 2007 09:19:44 +0200
  • Thread-topic: Get text from Quark 7.2 doc

I’ve completed a script that extracts image information (file path, name, resolution) for each Quark page and exports the information into a csv file. Once all the csv files for every page are created I have a terminal command to concat them into one large file, this works fine.

 

One challenge however is as well as getting the image info I would like to be able to extract one line of text from the Quark pages into the csv file. This line of text always starts with "Holiday no." but with a different number for each item.

 

The idea here is to be able to reference the image information with it's relevant holiday number.

 

I thought something like this would work . . .

 

tell application "QuarkXPress Passport"

tell document 1

get text of every text box of every story whose text contains "Holiday no."

end tell

end tell

 

 

I also tried this code just to see if I could extract by style but to no avail . . .

 

tell application "QuarkXPress Passport"
tell document 1
get text of every text style range of every story whose paragraph style is "6 top ten body"
end tell
end tell

 

Any help appreciated, thanks.

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Printing postscript files from Indesign
  • Next by Date: Re: Printing postscript files from Indesign
  • Previous by thread: Re: Printing postscript files from Indesign
  • Next by thread: Everyone's favorite: scripting Mail.app
  • Index(es):
    • Date
    • Thread