Re: misleading Quark picture box
Re: misleading Quark picture box
- Subject: Re: misleading Quark picture box
- From: Michael Slomski <email@hidden>
- Date: Wed, 26 Nov 2003 19:54:47 +0100
Hello Will,
Every picturebox has a "image 1", so ask image 1 for it's properties.
So try this piece of code:
tell picture box 1
if file path of image 1 is not null then
log ("do something")
else
log ("no picture")
end if
end tell
I'he tested it with Quark 6, but it should work also with 4.1
Best regards
Michael Slomski
---
Computerkartographie M. Slomski
Kartographie Systemberatung & Betreuung
f|r Apple Macintosh
Schnorr-von-Carolsfeld-Str. 19
D-81927 M|nchen
Tel.: ++49 +89-929 40 57 oder ++49 +177-44 57 990
Fax.: ++49 +89-939 311 71
Email: email@hidden
>
Von: "Wallace, William" <email@hidden>
>
Datum: Wed, 26 Nov 2003 11:45:11 -0600
>
An: <email@hidden>
>
Betreff: misleading Quark picture box
>
>
In Quark 4.11, AS 1.8.3, MacOS 9.2.2, a script which has identified a generic
>
box as having picture content will return true for the following:
>
>
>
tell application "QuarkXPress(tm) 4.11"
>
tell document 1
>
tell picture box 1
>
if image 1 exists
>
--do some stuff
>
end if
>
end tell
>
end tell
>
end tell
>
>
this happens whether the picture box actually has a picture in it or not! Is
>
there a way to test reliably if a picture box actually contains a picture?
>
>
B!ll
>
_______________________________________________
>
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.
_______________________________________________
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.