Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
on roomChange(roomName)
-- blog post about this here:
-- this is going to call a python script (i named "") in my root directory
-- and pass the roomName string along as a command line argument
if application "Terminal" is running then
tell application "Terminal"
# terminal is running, so we likely don't need to spawn a new window
do script "python ~/ " & roomName in window 1
end tell
tell application "Terminal"
# open terminal and run this script in a new window
do script "python ~/ " & roomName
end tell
end if
-- you can grab CurrentKey Stats at:
end roomChange