Created
February 19, 2011 03:18
-
-
Save tmiz/834791 to your computer and use it in GitHub Desktop.
Sample Apple Script for SimplyRec + ChromeLauncherWithExtraAudio with Google Chrome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Sample Apple Script for SimplyRec + ChromeLauncherWithExtraAudio with Google Chrome | |
-- SimplyRec http://tg.tmiz.net/softwares/sr/index-e.html | |
-- ChromeLauncherWithExtraAudio http://tg.tmiz.net/softwares/clwea/ | |
-- Google Chrome for Mac http://www.google.co.jp/chrome/ | |
-- SoundFlower http://code.google.com/p/soundflower/ | |
-- This scirpt can be executed by iCal and Automator, Apple Script Editor | |
-- Please select input device "SoundFlower" on SimplyRec before executing. | |
tell application "ChromeLauncherWithExtraAudio" | |
activate | |
-- terminate chrome | |
terminate chrome | |
-- set timing | |
delay 1.0 | |
--select device (1 is SoundFlower(2ch) on my environment) | |
set CurrentOutputDeviceIndex to 1 | |
-- set URL | |
set StartURL to "http://www.youtube.com/watch?v=OlVbEclPj4c" | |
-- execute chrome | |
execute chrome | |
end tell | |
tell application "SimplyRec" | |
activate | |
-- start recording | |
set Recording Status to yes | |
-- start path thru | |
set Playthru Status to yes | |
-- set recording time | |
delay 60.0 * 2 | |
-- stop recording | |
set Recording Status to false | |
-- quit | |
quit | |
end tell | |
tell application "ChromeLauncherWithExtraAudio" | |
activate | |
-- terminate chrome | |
terminate chrome | |
quit | |
end tell | |
display dialog "Finish Recording" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment