• 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
Re: Quark 5 can't copy selection w/styles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark 5 can't copy selection w/styles


  • Subject: Re: Quark 5 can't copy selection w/styles
  • From: Hans Haesler <email@hidden>
  • Date: Mon, 6 Jan 2003 23:30:33 +0100

On Mon, 6 Jan 2003, Glenn Kowalski wrote:

>Does anyone have any ideas here? QuarkXpress 5 cannot copy a text
>selection while retaining styles. QuarkXPress 4 and 3 work fine.
>
>This works in QuarkXpress 4 but not 5. 5 says "Can't make or move
>that element into that type of container."
>
>tell front document
> tell page 1
> copy selection to story 1 of text box 1 of page 1
> end tell
>end tell

Hi Glenn,

why do you use 'page 1' twice? This works for me:
---
tell document 1 of application "QuarkXPress 5.01"
delete story 1 of text box 1 of page 1
copy contents of selection to after story 1 of text box 1 of page 1
end tell
---
The second line is for deleting any text which could be in text box 1.

Another possibility:
---
tell document 1 of application "QuarkXPress 5.01"
set story 1 of text box 1 of page 1 to ""
copy contents of selection to end of text box 1 of page 1
end tell
---

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.

  • Follow-Ups:
    • Re: Quark 5 can't copy selection w/styles
      • From: Glenn Kowalski <email@hidden>
References: 
 >Quark 5 can't copy selection w/styles (From: Glenn Kowalski <email@hidden>)

  • Prev by Date: Fwd: Dictionary Error in mail.app
  • Next by Date: Re: Quark 5 can't copy selection w/styles
  • Previous by thread: Quark 5 can't copy selection w/styles
  • Next by thread: Re: Quark 5 can't copy selection w/styles
  • Index(es):
    • Date
    • Thread