Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 18, 2008, 06:35 PM   #1
the vj
Banned
 
Join Date: Nov 2006
Wake up, play full video and sleep.. how?

Ok, this is very silly but I do not know how...

I need my Mac Mini to wake up at 8pm, start up a quicktime video full screen in a loop until 2am, then shut down again. And I need it to do that over and over again for a month.

How can I do that?

I want to tell the computer what video to play back once. Probably I may create a new video later on and I would have to switch videos and play the new one only in a loop as well.

The thing is...

I have this projector that is gonna be playing back a video during nightime. No one is going to controll it. In order to power down the projector I need to put the computer to sleep and not sending any video signal at all. That way the projector will go to sleep and it will wake up again by itself when receiving a video signal.

Thank you very much for your help.
the vj is offline   0 Reply With Quote
Old Sep 18, 2008, 08:14 PM   #2
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Dallas, TX
From system preferences, choose energy saver, then "Schedule". You can then set your wake and sleep times. Then you can set up an applescript to launch your video. I would just set an alarm in iCal to run the apple script. It shouldn't be too rough using the quicktime or VLC dictionary.

-Lee
lee1210 is offline   0 Reply With Quote
Old Sep 19, 2008, 03:54 PM   #3
the vj
Thread Starter
Banned
 
Join Date: Nov 2006
Duh, if I am placing a question here is to actually have some one figure out the apple script for me.
the vj is offline   0 Reply With Quote
Old Sep 19, 2008, 04:03 PM   #4
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Dallas, TX
Quote:
Originally Posted by the vj View Post
Duh, if I am placing a question here is to actually have some one figure out the apple script for me.
Good luck, with that attitude! You didn't even mention an intent to use applescript for this task, and you certainly didn't say "I'm trying to start a video in quicktime in full-screen mode in a loop, i'm having trouble doing this with applescript, here's what i've tried, any tips?". Open Script Editor, under file choose Open Dictionary, and choose the program you want to play the movie with. All of the available actions will be listed. Chances are it will be something like:
Code:
tell application "x"
  play "Macintosh HD::Movies::My Movie.mpg"
  fullscreen
  repeat on
end tell
-Lee
lee1210 is offline   0 Reply With Quote
Old Sep 19, 2008, 07:24 PM   #5
the vj
Thread Starter
Banned
 
Join Date: Nov 2006
Mmmm....! thank you. Ages without using it since OS9.

Dude, I am doing 387581273487623498726 a minute, I wish I could be a programmer, 3D animator and a bunch stuff, no time. I even wish i had a boyfriend for my girlfriend, no time.

Thanx.
the vj is offline   0 Reply With Quote
Old Sep 19, 2008, 07:27 PM   #6
Hawkeye411
macrumors 68000
 
Hawkeye411's Avatar
 
Join Date: Jun 2007
Location: Canada EH!!!
lol ... I wish I had a girlfriend for my wife
Hawkeye411 is offline   0 Reply With Quote
Old Sep 19, 2008, 09:06 PM   #7
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Dallas, TX
Code:
tell application "QuickTime Player"
	activate
	open "Path:To:Movie:Here"
	set doc to (get document 1)
	set doc's looping to true
	present doc
end tell
lee1210 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Error when waking up MacBook Pro ThePixelMan MacBook Pro 1 Oct 10, 2011 12:34 PM
2010 iMac randomly wakes up from sleep i4Collin iMac 17 Jul 30, 2011 06:05 AM
imac 10.6.5 freezes after wake up from sleep polo3400 OS X 2 Jun 20, 2011 03:25 PM
App that allows me to wake up my computer with sound? Snoogans925 Mac Applications and Mac App Store 4 Jan 1, 2011 12:47 PM
Waking up lid-closed MBP with Remote and playing music in iTunes? milan.smart MacBook Pro 2 Dec 5, 2010 04:02 AM


All times are GMT -5. The time now is 03:46 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC