If you have multiple displays hooked up to your Mac, is it possible to tell QT or Finder or something to play a movie on one of those displays specifically?
Thanks,
-Rob
If you have multiple displays hooked up to your Mac, is it possible to tell QT or Finder or something to play a movie on one of those displays specifically?
Thanks,
-Rob
You can move a window’s position. You can find the screen properties with this:
tell (do shell script "defaults read /Library/Preferences/com.apple.windowserver DisplaySets | awk '/ Height =/||/ Width =/'") to set screenRes to {word 6 as integer, word 3 as integer, word 12 as integer, word 9 as integer}
Then move the QuickTime window where you want it.
tell application "QuickTime Player"
set position of window 1 to {500, 500} -- moves the top left hand corner to those coordinates
end tell
The following code works to show a movie full-screen in my two-screen setup (change display 1 to display 2 for the other display).
tell application "QuickTime Player" to present first document scale screen mode normal display 1
Model: iBook G4 933
AppleScript: 1.10.7
Browser: Safari 4.0.4 (4531.21.10, r53456)
Operating System: Mac OS X (10.4)