Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE:AS or Quark cannot count



> Hi everyone,
> I am trying to use search and replace in a QuarkXpress 6.5 document 
with a AS...

Hi Ed,

Could you just do something like this instead to replace everything 
(this code will run somewhat slow if the file is huge though):

tell application "QuarkXPress"
tell document 1
repeat with x from 1 to (count text boxes)
tell text box x
set (every text where it is "<BR>") to return
end tell
end repeat
end tell
end tell

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

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.