debianmacno-cupsweb
Last change
on this file since 722845e was
30beeab,
checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago
|
Remove "gutenbach-" from directory names and rename "gutenbach" to "gutenbach-server"
|
-
Property mode set to
100644
|
File size:
636 bytes
|
Rev | Line | |
---|
[bd7b4f8] | 1 | -- ------------------ |
---|
[e520009] | 2 | -- iTunes -> gutenbach |
---|
[bd7b4f8] | 3 | -- ------------------ |
---|
| 4 | |
---|
| 5 | -- Changelog: |
---|
| 6 | -- |
---|
| 7 | -- 10 Oct 2009 -> pquimby created initial version |
---|
| 8 | -- |
---|
| 9 | |
---|
| 10 | --For installation instructions see the INSTALL file in the snippets/sipbmp3-iTunes folder |
---|
| 11 | |
---|
| 12 | -- Usage: |
---|
[e520009] | 13 | -- This script will get the volume of gutenbach and put it on your iTunes volume scaled to the max value of 31 (which is the max volume for gutenbach at the time this script was written). |
---|
[bd7b4f8] | 14 | |
---|
| 15 | |
---|
| 16 | tell application "iTunes" |
---|
[e520009] | 17 | set currentVolume to (do shell script "/usr/local/bin/remctl hostname volume get") |
---|
[bd7b4f8] | 18 | set currentVolume to currentVolume / 31 * 100 |
---|
| 19 | set the sound volume to currentVolume |
---|
| 20 | end tell |
---|
Note: See
TracBrowser
for help on using the repository browser.