• 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: Count selected pixcel with Photoscripter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Count selected pixcel with Photoscripter


  • Subject: Re: Count selected pixcel with Photoscripter
  • From: What does not kill you only makes you stronger <email@hidden>
  • Date: Thu, 16 Nov 2000 21:27:11 -0600

on 11/16/00 8:32 PM, email@hidden wrote:

>> tell application "Adobe. Photoshop. 6.0"
>> tell document 1
>> set kPixelWidthHeight to {width as real, height as real} --in pixels
>> end tell
>> end tell
>
> I don't have v6.0 yet so I can't test, but I'm curious why you chose "as
> real" instead of "as integer"? Won't pixels always be an integer by default?

Yes, you are right, but I did not want to mess with the default result.
Note the following:

set kPixelWidthHeight to {width, height}

--returns {pixels 504.0, pixels 360.0}


References: 
 >Re: Count selected pixcel with Photoscripter (From: email@hidden)

  • Prev by Date: QuarkXpress current page number
  • Next by Date: Re: Offset in paragraphs
  • Previous by thread: Re: Count selected pixcel with Photoscripter
  • Next by thread: Re: Count selected pixcel with Photoscripter
  • Index(es):
    • Date
    • Thread