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
Automatorapplication - Create a new Service
- set the
Service Receivesdropdown to beno inputand theindropdown to beany application. - Drop in a
Run Shell Scripttask - Type in
osascript << wherever you put the applescript file >> - Start up a Google Hangout in Chrome
- Click the
Runbutton 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
Shortcutstab - Click
Serviceson the left side - Scroll down to the
Generalsection - Select the row containing the name of the service you just created
- Click
add shortcutand 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