- Timestamp:
- Nov 29, 2009, 7:15:02 PM (15 years ago)
- Branches:
- master, debian, mac, no-cups, web
- Children:
- a411a9f
- Parents:
- bd7b4f8
- git-author:
- Jessica B. Hamrick <jhamrick@…> (11/29/09 19:15:02)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (11/29/09 19:15:02)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
gutenbach-itunes-plugin/gutenbach - Volume Get.applescript
rbd7b4f8 re520009 1 1 -- ------------------ 2 -- iTunes -> sipbmp32 -- iTunes -> gutenbach 3 3 -- ------------------ 4 4 … … 11 11 12 12 -- Usage: 13 -- This script will get the volume of sipbmp3 and put it on your iTunes volume scaled to the max value of 31 (which is the max volume for sipbmp3at the time this script was written).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). 14 14 15 15 16 16 tell application "iTunes" 17 set currentVolume to (do shell script "/usr/local/bin/remctl zsrvolume get")17 set currentVolume to (do shell script "/usr/local/bin/remctl hostname volume get") 18 18 set currentVolume to currentVolume / 31 * 100 19 19 set the sound volume to currentVolume
Note: See TracChangeset
for help on using the changeset viewer.