PDA

View Full Version : Setting a QuickTime to full screen in AppleScript?




hotwire132002
Apr 12, 2005, 07:42 PM
Hey,

I'm working on an script (using AppleScript) and I need to run a movie full screen on my second monitor. Two quick questions--

1) What command will run the movie full screen (as in Apple-F, so there's no window border showing)? I have QuickTime Pro, but I'm not sure what command to use. My code right now is
set scale of movie "Test.MOV" to screen
But that just "maximizes" the window. I need to run the movie borderless.

Second Question--is there a command to move the window to the second monitor? Right now, I'm using
set position of window "Test.MOV" to {1400, 100}
to move it to the second monitor. Is there a better way to do this?

Thanks in advance!



robbieduncan
Apr 20, 2005, 12:56 PM
If you open the QuickTime Player dictionary in Script Editor you will see a command (in the QuickTime Player Suite):

enter full screen: Enter full screen video mode
enter full screen reference -- display
[bounds point] -- the desired target dimensions of the display (height, width)
[background color rgb color] -- the background color, e.g. {0, 65535, 0}, the rgb value for green