Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hotwire132002

macrumors 65816
Original poster
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!
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.