• 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
QuarkXpress find and replace with a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuarkXpress find and replace with a variable


  • Subject: QuarkXpress find and replace with a variable
  • From: Aaron Miller <email@hidden>
  • Date: Wed, 24 Jan 2001 13:22:45 -0700

Does anyone out there know why this droplet isn't working? I am trying to
get QuarkXpress to replace a word in a flow of text with a corresponding
word. Here is the script, simplified:

on open x
tell application "QuarkXPress(tm)"
activate
open x
tell document 1
tell text box 1
tell story 1
repeat with i from 1 to count of usenglish
set (every text where it is item i
of list1) to item i of list2
end repeat
end tell
end tell
end tell
end tell
end open

All items in list1 and list2 are strings. Also, it seems to work fine if I
type in text strings in the place of the variables from each list (i.e.
typing "Bob" instead of "item i of list1").

Any help would be much appreciated.

Aaron
> Aaron Miller - Macintosh Specialist
> Morinda, Inc.
> email@hidden
> (801) 234-2609


  • Prev by Date: Re: Desktop question
  • Next by Date: Re: newbie: how to get result of "cancel"
  • Previous by thread: re: Unmount network volume
  • Next by thread: Re: QuarkXpress find and replace with a variable
  • Index(es):
    • Date
    • Thread