Details This is a simple script that updates a series of beautifully crafted images to reflect the current volume level.
The script has been optimized as much as possible so as to cause little to no impact on system performance. Nonetheless there is always room for improvement so if you spot a bug or improve on the script please let us know.
Other than that... Enjoy. We had fun making it for you all!
Update v1.1 - Script now uses geeklet names rather than IDs making initial setup easier; - There is now a landscape and portrait version. - Script now accommodates for other images (Read instructions) - Updated instructions making them clearer and fixing some errors report by users. Thanks - Now with a Quickstart Guide Please let me know if you have any troubles with this update
FAQ The script isn't working. What's wrong? - Make sure you have a refresh rate set. - If your path has spaces then enclose it in quotes.
How can I troubleshoot errors? Open the script in applescript editor, change the volume and click on run. Usually the error is simple but if you have trouble the note me and I'll do my best to help
Note People, the graphics here belong to Allucard9 so if you wan't to use them in your projects then you need to ask him for permission, however the applescript that puts it all together is GPL so you can use it with your own graphics
All I ask is maybe mention or let me know if and how you used my script. I'd love to see it!
Mountain Lion Fix
Mountain Lion change the Volume Output integers ever so slightly so in order for this to function correctly in ML you will have to rename the foreground images accordingly. Here's the list to help you out
UPDATE - Lion Fix To all those who are having troubles getting this working under Lion ~Sam-Pa has figured out a solution. My thanks to him. Once I have time I will update the instructions and original script in the download with this information
This has been tested with Lion and geekool from AppStore
If you are not able to open the .glet files check here: [link] To Summarize:
You have to get GeekTool Helper out of the package, copy it to the Applications folder, change the Open With on all .glet files to that, then delete the GeekTool Helper app from Applications again.
~Sam-Pa's revised and corrected version of the script can be found here: [link]
Every time GeekTool runs the AppleScript via osascript, both the .scpt and .plist file gets written to, regardless whether the volume has changed or not.
Once again, Props to those who helped and contributed towards VolumeBar Indicator
Yeah, I bet its my fault, even though it may not work on ML 10.8.4 and I really tried everything I can think of. Given that I have no other issues with any other Geeklets... oh well, never mind. I came up with a different solution. Thx for the reply, appreciate it.
It doesn't work for me I double clicked each Glet (using GeektoolHelper), opened the script editor and set the path to my VolIndicator folder and my Portrait folder, and nothing happened at some point i got an error that said "cannot get all the items in the name of volIndicator_FG.glet"
Sorry for taking so long to reply but I've been away from dA for a while now.
First things first. Are all files located in the same place, that is, did you extract everything together? If so, is the a space in the path? If there is then you need to place all indications to the plist file and stuff in quotes ("path to file with space")
If you're still stuck then get back to me. I'll do my best to help you out.
hi! sorry i dont have an account. just wanna ask if BF64C588-334F-46B5-953B-8F555132A7D5 is the kind of ID you expect to be written on property fgGeekletID : "BF64C588-334F-46B5-953B-8F555132A7D5" here? thx so much.
As for your questions: - Yes it works with the latest version of geektool. - Which original Volume bar do you mean? This is just and Volume Level Indicator (as the name suggests). There are one or two volume widgets (dashboard widgets) that allow you to change volume level. This does not. Keep an eye out for ~kirykid because he should have a cool surprise for everybody some time soon
OK. Let's take it slow then. I'm assuming you have geektool installed. If not then do so now. Get it here.
Now open geektool and drag to your desktop an image geeklet. You will notice that at the bottom of the geeklet properties there is an ID. That's the ID you will have to replace in property fgGeekletID : "id of volume level image geeklet" and property bgGeekletID : "id of background image geeklet" respectively.
As far as property theWorkFolder : "path where your volume indicator files are", this is to be replaced by the path to where you unziped the folder with all images and script file. Ex.: