• 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 & Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark & Applescript


  • Subject: Re: Quark & Applescript
  • From: Hans Haesler <email@hidden>
  • Date: Wed, 8 Nov 2000 12:14:27 +0100

On Wed, 08 Nov 2000, Shane Stanley wrote:

>Gee, I'm not having much luck today. Here's my log:
>
>tell application "QuarkXPress 4.11"
> get object reference of text box 1 of document 1 whose selected = true
> --> generic box 1 of spread 1 of document "Document1"
> get offset of last character of last line of generic box 1 of spread 1 of
>document "Document1"
> --> 18
> save text from character 1 to character 19 of generic box 1 of spread 1 of
>document "Document1" in "Macintosh HD:Sometext"
>end tell

I restarted my machine. Here is my log:
---
tell application "QuarkXPress 4.11"
get object reference of text box 1 of document 1 whose selected = true
--> QuarkXPress 4.11 a genere une erreur : Impossible de rendre les donnees dans le type attendu.
---
I replaced the accented characters by less offending ones.

I tried it with facing and non-facing pages, with the item tool
and the content tool. Same thing.


>Any ideas of why the difference?

1) You are looking at this from upside down ;-)
2) I'm using the Passport version (the log doesn't say so because
I've shortened the name: stripped out the trade-mark character
and "Passport"). This could be an explanation. It happens that
I'm seeing things which are not there for others.
3) Another problem with the 'whose' clause?

Cheers,

Hans

---
Hans Haesler | email@hidden


  • Follow-Ups:
    • Re: Quark & Applescript
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Quark & Applescript (From: Hans Haesler <email@hidden>)
 >Re: Quark & Applescript (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Another FMP question
  • Next by Date: Re: Scriptable postscript downloader?
  • Previous by thread: Re: Quark & Applescript
  • Next by thread: Re: Quark & Applescript
  • Index(es):
    • Date
    • Thread