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: getting height x width of image



On Jun 20, 2007, at 12:24 PM, TjL wrote:

that works (*) except that you have to tell Image Events to launch (I dunno why, you'd think it'd be implied since you wanted to use it, but all the examples I saw used it), so I put it like this:

No, you shouldn't have to tell it explicitly to launch.

Rather than 344.0x87.0 is there a way to drop the .0 so it's just 344x87?

sure:

set {W, H} to {W div 1, H div 1}

-- Michelle

--
Failure is not an option.  It comes bundled with the software.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >getting height x width of image (From: TjL <email@hidden>)
 >Re: getting height x width of image (From: "Mark J. Reed" <email@hidden>)
 >Re: getting height x width of image (From: TjL <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.