rndmcnlly (rndmcnlly) wrote,
rndmcnlly
rndmcnlly

DVD Monkey.app

They wanted me to stand next to a laptop for a few hours to press play whenever the dvd finished its 5 minute show.... No way, applescript can do this for me.

on idle
	tell application "DVD Player"
		if dvd menu active then
			repeat 5 times
				press down arrow key
			end repeat
			press enter key
		end if
	end tell
	return 5 -- sleep for 5 seconds
end idle
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

  • 2 comments