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
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments