Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Use an enhanced location changer script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use an enhanced location changer script
Authored by: gghose on Aug 10, '06 11:35:59PM

1. For me the value in the script works fine SETTLETIME=10. But mileage may vary, so simply play with it for your networking environments and see what works.

2. OK, here's what to do for volume changes. Right above the line that reads "osascript /tmp/ascript"

insert the following

#System Volume
if [ -n $VOLUME ]; then
PROGRAM='"System Events"'
echo tell application $PROGRAM to set volume $VOLUME >> /tmp/ascript

Then if you want a location to change the volume simply define VOLUME in the location specific settings, e.g. VOLUME=0 will mute your machine.

If VOLUME is not defined for a particular location, no change will be made.

[ Reply to This | # ]