• 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: getting height x width of image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting height x width of image


  • Subject: Re: getting height x width of image
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 20 Jun 2007 15:31:21 -0400

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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: getting height x width of image
      • From: TjL <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>)

  • Prev by Date: Re: satimage OSAX list folder problem
  • Next by Date: Re: getting height x width of image
  • Previous by thread: Re: getting height x width of image
  • Next by thread: Re: getting height x width of image
  • Index(es):
    • Date
    • Thread