Re: misleading Quark picture box
Re: misleading Quark picture box
- Subject: Re: misleading Quark picture box
- From: Hans Haesler <email@hidden>
- Date: Thu, 27 Nov 2003 14:50:01 +0100
On Wed, 26 Nov 2003, Michael Slomski wrote:
>
I've checked it just again. With a pasted picture Quark 6 will say:
>
"no disk file"
>
>
So it will work with Quark 6 an I hoped, that this will also be true for
>
Quark 4. Just try it.
I've tried it. But it doesn't work. The file path 'no disk file'
for pasted PICTs has been introduced with QXP 5.
With QXP 4.x the result is 'null' in both cases: when the box is
empty and when it contains a pasted PICT. So you must make sure,
either by asking for the 'bounds' or for 'data size' as has been
suggested by Ian King.
Asking for the bounds is twice as fast as getting the data size.
But -- with QXP 4.x -- the latter is more reliable because there
is one exception: if the size of the image is 1 by 1 pixel and
if it is not an EPS and if the resolution is not a multiple
of 72 (i.e. other than 72, 144, 216, 288 ...) then the result
of 'bounds of image 1' will be {0, 0, 0, 0}.
Regards,
Hans
---
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.