43

Circle Volume Indicator

Posted in System by midnighttokerkate 1200 days ago

This is just a simple volume indicator. includes: 3 versions-white, blue and a multi-color. You can download it here >http://midnighttokerkate.deviantart.com/#/d495rk7

Instructions + PSD + everything you need is provided in the zip.

if you are having trouble getting it to run correctly try downloading the alternate script below, which was graciously provided by ~Sam-Pa. You can download it here > http://pastebin.com/pBmGHiXJ


Comments

User Avatar
s_selling 1199 days ago
Actually a very good glet. I have a similar weather icon that it goes great with, Thanks.
User Avatar
midnighttokerkate 1199 days ago
i appreciate that, thank you.
User Avatar
sszever 1199 days ago
Very good! Thanks for it.
User Avatar
superCat 1199 days ago
Two fixes for the applescript:

1) This won't show the muted icon when you press the mute button, at least not on Lion, since "output volume" remains at the last non-muted volume value even if it's muted. So I added a check for "output muted".

2) If the PATH has spaces, the script will break. I enclosed it in " and '.

Here's my fix:

on run

set pathName to "'PATH'"

set volumeSettings to (get volume settings)

if (output muted of volumeSettings) then

set finalVolume to 1

else

set rawVolume to output volume of volumeSettings as integer

set finalVolume to rawVolume * 16 / 100 + 1 as integer

end if

do shell script ("cp " & pathName & "Images_White/" & finalVolume & ".png " & pathName & "/temp.png")

end run
User Avatar
SamFearn 1199 days ago
Hey,

Thanks for this, it's a lovely little geeklet. I'm new to geek tool, so I have a question, in your instructions you suggest setting the refresh times as a minimum of 5s. Is there any reason for not setting it lower. Obviously faster refreshes will put more strain on the system, but is it actually a noticeable problem in this case?

Also, superCat's mod is nice for adding support for mute on Lion, but he has a small typo in that he missed a forward slash before Images_White in his shell script. So if anyone wants to use it it should read...

on run

set pathName to "'PATH'"

set volumeSettings to (get volume settings)

if (output muted of volumeSettings) then

set finalVolume to 1

else

set rawVolume to output volume of volumeSettings as integer

set finalVolume to rawVolume * 16 / 100 + 1 as integer

end if

do shell script ("cp " & pathName & "/Images_White/" & finalVolume & ".png " & pathName & "/temp.png")

end run
User Avatar
superCat 1198 days ago
Actually, I left the leading slash out on purpose because in the instructions included with the original, the example given for the PATH already includes a trailing slash.
User Avatar
midnighttokerkate 1198 days ago
hey supercat, thank you so much for the correction. this was my first official geek tool script so i was sweating it out the whole process. ha

please let me know of any problems and if i can not answer your question i am sure these guys who have more experience can figure it out for you.

and also just a heads up, i have been getting a lot of requests for a multicolor version as well as releasing the PSD so that you all can edit it to your liking.

so i will be releasing that later today,

i'll update you when i do.

thanks again guys.
User Avatar
midnighttokerkate 1198 days ago
hey guys, you can grab the update here
User Avatar
ExitiumArs 1168 days ago
Hey i was just wondering if there was a way for you to code a brightness indicator too. i found someone who had made a battery indicator and i'd like to have a brightness indicator to complete the set
User Avatar
Deep_Winter 1148 days ago
This is fantastic! But, is it possible to get the code to get a circle CPU usage indicator? I've tried playing with the ones that are just text graphs, but I haven't been able to edit them the visual way that I want to....
User Avatar
chimpysgotswag 1108 days ago
Went perfect with my Desktop! Thanks! :)
User Avatar
jimmyhartington 1033 days ago
Has anyone made this work as a CPU indicator
User Avatar
jynxx 979 days ago
What's the point of the temp.png that is being filled into the image glet?
User Avatar
chris_at_uo 889 days ago
The temp.png file is the one being called by GeekTool to display. That is why it is necessary to have a refresh time for the image along with a refresh for the script.
User Avatar
chris_at_uo 889 days ago
I have used a variation of this geeklet to indicate percentage of hard drive space that is used. That geeklets is included in my collection at:

http://www.macosxtips.co.uk/geeklets/collections/geeklets-with-backgrounds-for-each-one-modified-ntika-set/

Log in to comment or register here.