Re: Quark & Applescript
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