Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alter Script for OSX



Hi Hans/Applescript user group,

That seems to have done the trick, thank you v much - although just after
that line is another line that is now failing with Quark error (BTW its
Quark 6.0):

"Can't set vertical of scale of image 1 of picture box "footerlogo" of
page 3 of document 1 to 31"

This is the line:

Set vertical of (scale of image 1 of picture box BoxName) to
FooterLogoScale

and there is a line after that which I suspect will also fail for the same
reason which is:

Set horizontal of (scale of image 1 of picture box BoxName) to
FooterLogoScale

Any ideas? Thanks again

Best regards,

Simon Manning
Systems Developer
Information Management
Cambridge University Press
University Printing House
Cambridge CB2 2RU
Tel: + 44 (0)1223 325132 (direct)
Email: email@hidden



Hans Haesler <email@hidden>
26/04/04 04:25 pm

To
AS users list <email@hidden>
cc
Simon Manning <email@hidden>
Subject
Re: Alter Script for OSX






On Mon, 26 Apr 2004, Simon Manning wrote:

<snip>

>"set image 1 of picture box BoxName to LogoPath" - this line gives an
>Applescript error: "QuarkXPress got an error: Can't make some data into
>the expected type", which suggests to me a casting issue.

Simon,

are you using QuarkXPress 6.1? Insert 'as alias' and try again:
---
set image 1 of picture box BoxName to LogoPath as alias
---

I haven't taken the time to try your script. But starting with
QXP 5 an alias is required.

---
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.


References: 
 >Re: Alter Script for OSX (From: Hans Haesler <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.