Re: Quark 5 can't copy selection w/styles
Re: Quark 5 can't copy selection w/styles
- Subject: Re: Quark 5 can't copy selection w/styles
- From: Glenn Kowalski <email@hidden>
- Date: Tue, 7 Jan 2003 08:53:34 -0500
Arrrgghh! I used to do it that way! And I might have to resort to it.
The real pisser here is that Quark 4 works fine, but 5 won't
cooperate. If anyone else has any ideas on how to replace the current
text selection with text from another text box (while retaining
styling), that would be wonderful.
Glenn Kowalski
Macintosh Systems Consultant
Studio 405, Inc. | MacLab Division
http://www.studio405.com
At 12:32 AM +0100 1/7/03, Hans Haesler wrote:
Yes, I see what you mean. At best the copy ends up in... text box 1.
One suggestion: save story 1 as XPress Tags and import the file to replace
the selection. The check box "Include Style Sheets" of the "Get Text..."
dialog must be activated (else the text is saved as ASCII), hence the
command 'set import styles to true':
---
set tmpFile to (path to startup disk as string) & "tmp.xtg"
tell application "QuarkXPress 5.01"
set import styles to true
tell document 1
save story 1 in tmpFile as "TEXT"
set contents of selection to alias tmpFile
end tell
end tell
---
That's all I can think of, for the moment.
---
Hans Haesler <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.