|
|
Switch desktops in Desktop Manager via a physical touch
Would be nice if some geek out there could create a trigger for scripts. Smacking your macbook runs the script.
Switch desktops in Desktop Manager via a physical touch
Perhaps you misunderstand this hint, the code you get is exactly what you are looking for, just ignore all the code injection in DesktopManager and have the perl script play a sound file instead.
Switch desktops in Desktop Manager via a physical touch
Specifically, change this line in the perl
system "./notify SwitchTo${foo}Workspace\n";
to be a terminal command to play your sound file.
Switch desktops in Desktop Manager via a physical touch
I liked the idea about the computer complaining, when smacked, so I began looking for a simple player that could be used from the commandline. I ended up with Play Sound (free):
http://microcosmsoftware.com/playsound/ I must admit I was looking for a text-based player, but Play Sound seems like an ok solution for now. If anyone knows a better/ fast commandline player I would like to know about it :-) The line in the smackbook perl-script should then look something like: system "open -a '/Applications/Play Sound.app' 'path-to-your-sound' &"; ~ Jørgen
Switch desktops in Desktop Manager via a physical touch
It might be noted that the AMSTracker application with an update interval of 0.01 seconds, will take up about 17% (measured in top) of my Core 2 Duo 2ghz processor... Might not be such a good idea anyway :-/
Switch desktops in Desktop Manager via a physical touch
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|