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 6/20/07, TjL <email@hidden> wrote:
Haven't had any problems with multiple . in OS X. Windows, yes....

Well, exactly. Files that I create have this tendency to wind up on other systems running other OSes... :)

screenshot-344.0x87.0-2007-06-20_15.18.30.png


Could I be potentially rude and ask another question/favor?

Not rude to ask. What we're here for.


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

Sure. Do this after the tell block but before building the string:

set W to W as integer
set H to H as integer


THANKS! This is already much better than what I had.

        TjL





--
Mark J. Reed <email@hidden>
_______________________________________________
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.