Re: some questions on iTunes scripting
Re: some questions on iTunes scripting
- Subject: Re: some questions on iTunes scripting
- From: Gnarlodious <email@hidden>
- Date: Thu, 27 Jul 2006 20:20:30 -0600
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
_______________________________________________
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