RE: some questions on iTunes scripting
RE: some questions on iTunes scripting
- Subject: RE: some questions on iTunes scripting
- From: "Philip Lukidis" <email@hidden>
- Date: Fri, 28 Jul 2006 17:21:59 -0400
- Thread-topic: some questions on iTunes scripting
> -----Original Message-----
> From: applescript-users-bounces+plukidis=email@hidden
> [mailto:applescript-users-bounces+plukidis=guillemot.com@lists
> .apple.com
> ]On Behalf Of Gnarlodious
> Sent: Thursday, July 27, 2006 10:21 PM
> Cc: email@hidden
> Subject: Re: some questions on iTunes scripting
>
>
> On 7/27/06, Philip Lukidis <email@hidden> wrote:
> >
> > b) I need a way to maximize the video screen size (e.g.
> during video file
> > playback) via a script. So far, I have not found a
> property that allows for
> > this. This window does not seem to exist within the
> application object. So
> > far, I've not seen any publicly available script which can
> do this. Does
> > anyone know how to accomplish this?
> Someone mentioned an Automator metheod a few weeks ago:
>
> tell application "Automator" --or Daniel's AppleScriptKit in Panther
> set foo to call method "mainScreen" of class "NSScreen"
> set bar to call method "visibleFrame" of foo
> --set bar to call method "frame" of foo
> end tell
> --> {
> 50.0,
> 0.0,
> 1200.0,
> 1898.0}
>
> Looks like NSScreen may be a Cocoa API, check it out.
>
> -- Gnarlie
Thanks, that gives me a starting point for some research. Much appreciated.
Philip Lukidis
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden