This project consists of some scripts that I find useful
This directory contains 3 stripts for automating use of Google Hangouts:
google_hanguts/toggle_microphone.applescript
: this script can be used as part of an Automator script for muting and unmuting a Google Hangouts microphone without needing to switch to the Hangouts window.google_hanguts/toggle_camera.applescript
: this script can be used as part of an Automator script for toggling a Google Hangouts camera without needing to switch to the Hangouts window.google_hanguts/focus_window.applescript
: this script can be used as part of an Automator script to focus a Google Hangouts window -- THIS IS A WORK IN PROGRESS
I find these scripts to be most useful when implemented as a Service using Automator:
- Start up the
Automator
application - Create a new Service
- set the
Service Receives
dropdown to beno input
and thein
dropdown to beany application
. - Drop in a
Run Shell Script
task - Type in
osascript << wherever you put the applescript file >>
- Start up a Google Hangout in Chrome
- Click the
Run
button and verify that it works - Save the Service with a filename that's relatively short -- there's apparently an upper-limit to the file name if you want to use it along with keyboard shortcuts (see below)
- Start System Preferences
- Open
Keyboard
- Switch to the
Shortcuts
tab - Click
Services
on the left side - Scroll down to the
General
section - Select the row containing the name of the service you just created
- Click
add shortcut
and press the keys you want to use as a global shortcut... e.g. fn-Ctrl-m for mute/unmute and fn-Ctrl-c for camera on/off