Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >some questions on iTunes scripting (From: "Philip Lukidis" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.