• 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: What's the easy way to do this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the easy way to do this?


  • Subject: Re: What's the easy way to do this?
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 28 Jun 2002 16:05:42 +1000

On 28/6/02 2:43 AM +1000, Michael Sullivan, email@hidden, wrote:

>> On 26/6/02 10:42 PM +1000, Steve, email@hidden, wrote:
>>
>>> I have a script controlling Xpress 4.11
>>>
>>> It brings in some artwork into a picture box and then does this...
>>>
>>>
>>> tell image 1
>>> set scale to {"70", "70"}
>>> set bounds to centered
>>> set tempbnds to the bounds of me as list
>>
>> Be warned that the bounds of an image is unreliable.
>
> You bet it is -- I was going to suggest roughly what you did below, but
> tried it in SD first because I know how Xpress is...
>
> It won't get left, or top of bounds.
> What's really interesting is that if I convert *any* bounds to a "fixed
> rectangle", then I can't use Xpress to get the individual pieces via
> 'top' or 'left'.
>
> There also doesn't seem to be any way to pull out strings from this
> either, pretty much anything I try to do with that errors.

Either get the left and top separately:

set theLeft to left of bounds

or use coerce:

set theBounds to coerce bounds to list

--
Shane Stanley, 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.

  • Follow-Ups:
    • Re: What's the easy way to do this?
      • From: email@hidden (Michael Sullivan)
References: 
 >Re: What's the easy way to do this? (From: email@hidden (Michael Sullivan))

  • Prev by Date: Re: puzzled with script syntax error
  • Next by Date: Re: Email with Multiple Attachments for Eudora
  • Previous by thread: Re: What's the easy way to do this?
  • Next by thread: Re: What's the easy way to do this?
  • Index(es):
    • Date
    • Thread