• 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: OS X Preview -- wrong size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS X Preview -- wrong size


  • Subject: Re: OS X Preview -- wrong size
  • From: Martin Orpen <email@hidden>
  • Date: Fri, 25 Feb 2005 13:00:50 +0000

on 24/2/05 2:48 pm, Graeme Gill at email@hidden wrote:

> The newer Quartz services API doesn't even have a method of discovering
> the displays resolution, even though it has stuff like "RefreshRate"
> available.

If anybody's interested, us AppleScriptKiddies have been messing about with
using empty AppleScript Studio or Xcode apps (or any that you've created
yourself) to call obj-c methods:

    tell application "Photoshirk"
        set foo to call method "mainScreen" of class "NSScreen"
        set bar to call method "frame" of foo
    end tell
-->
{
    0.0,
    0.0,
    1280.0,
    854.0
}

Replace "Photoshirk" with any of your own apps or use this background app
(16k) created by one of the guys on the AppleScript-Users list:

<http://www.red-sweater.com/AppleScriptKit.zip>

Quite a useful *method* to extend the capabilities of AS :-)

--
Martin Orpen


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: OS X Preview -- wrong size (From: Graeme Gill <email@hidden>)

  • Prev by Date: Illustrator & Acrobat
  • Next by Date: Re: OS X Preview -- wrong size
  • Previous by thread: Re: OS X Preview -- wrong size
  • Next by thread: OS X Preview -- wrong size
  • Index(es):
    • Date
    • Thread