• 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: Alter Script for OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alter Script for OSX


  • Subject: Re: Alter Script for OSX
  • From: Simon Manning <email@hidden>
  • Date: Mon, 26 Apr 2004 16:53:36 +0100

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

  • Prev by Date: Re: Permissions when new folder made
  • Next by Date: Re: Permissions when new folder made
  • Previous by thread: Re: Alter Script for OSX
  • Next by thread: Re: Alter Script for OSX
  • Index(es):
    • Date
    • Thread