something about APPLE here: I am APPLE fans and like their products. By open this blog, I am not trying to BIAS toward APPLE company. Some of the fact below supported my decision. They introduced the computer MOUSE to the world. They changed the way we look at SMART Phone. They boosted up the use of 3G network. They were the first to use USB port as the main connection for computer system. They were the one who able to make a media centre to sync with every devices in your family. They made thing that work magically simple for us. Everything above and more to come... APPLE

Monday, January 10, 2011

4 quicktime player on one screen

Today I am going to share this DIY project which feature 4 different Movies play on the same screen in different position so that can view it all in one shot.

First of all, position the screen to 4 different corner and grab the full properties of the screen by using the code below

tell application "QuickTime Player" to get the bounds of the first window

You will get a code something like this {0, 22, 660, 394} -- "full properties"

Grab the result and paste on the script below to fulfill the need of the code

set qtMovie1 to "Location of Movie 1"
set qtMovie2 to "Location of Movie 2"
set qtMovie3 to "Location of Movie 3"
set qtMovie4 to "Location of Movie 4"
tell application "QuickTime Player"

open qtMovie1

set the bounds of the front window to {"
full properties of Movie 1"}

open qtMovie2

set the bounds of the front window to {full properties of Movie 2}

open qtMovie3

set the bounds of the front window to {full properties of Movie 3}

open qtMovie4

set the bounds of the front window to {full properties of Movie 4}

-- if you wanted to play all, add in the below code
play documents

end tell

They were kind of lag on my almost 3 years old MacBook. But I am able to multi movie in 1 go... Greedy man

No comments:

Post a Comment