Aqua-Soft Forums: OSX Volume Indicator - Aqua-Soft Forums

Jump to content

  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

OSX Volume Indicator Rate Topic: -----

#41 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 25 April 2006 - 08:07 PM

oh ya.. I love easy questions, makes me feel smart :P

You want to change the xml hot keys to be something like this:




Either add it to the current hotkeys or replace them.
0

#42 User is offline   Eiraku Icon

  • Group: Member
  • Posts: 49
  • Joined: 02-May 05

Posted 27 April 2006 - 02:19 PM

Sweet... Tried it out and voila! Bye, bye 3mb of ram eating MacSound... :)

I'm curious by the way, is there any way to bind a sound to the VolumeUp and VolumeDown action, for instance, a simple beep to indicate just how loud four bars on the indicator sounds like... Just curious is it can be done... :)

Again, thanks a million! :)
0

#43 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 27 April 2006 - 02:39 PM

Yes it can be done to bind a sound.

I didn't do it, since I needed to find a "good" sound. But you can by just

add the following in the updatedisplay() function.

desklet.MultiMedia('tick.wav',1);

tick.wav is the filename of the wave file, you could use the clock tick, it works
0

#44 User is offline   cysco Icon

  • Group: Member
  • Posts: 139
  • Joined: 01-April 03

Posted 27 April 2006 - 04:45 PM

Wonderful!! Thanx a lot!! :)
0

#45 User is offline   Zxian Icon

  • Group: Member
  • Posts: 119
  • Joined: 01-November 04

Posted 27 April 2006 - 04:55 PM

Wow... this thing just keeps getting better and better. Keep up the great work pcm. :)
0

#46 User is offline   Eiraku Icon

  • Group: Member
  • Posts: 49
  • Joined: 02-May 05

Posted 27 April 2006 - 06:19 PM

Woah, nice... Thanks dude...

About the sound thing, what file do i need to modify again? The VBS script or the XML file? And where should i place the "tick.wav" (or whatever else) file? In the desklet directory?

Now i'm starting to sound pushy... Man, sorry dude...

Again, congrats on the creation of one of the most useful avescripter desklet on earth! :)
0

#47 User is offline   Zxian Icon

  • Group: Member
  • Posts: 119
  • Joined: 01-November 04

Posted 27 April 2006 - 07:52 PM

You place the code in the updatedisplay() function in the .js script.

The tick.wav file - I put it in the desklet folder, but I'm guessing that you might be able to put it anywhere listed by PATH. pcm - am I right on this?
0

#48 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 28 April 2006 - 12:39 AM

yes...

If no path is supplied, avescripter will autofill the path with the resource directory of the desklet. So if you put a hardcoded path it will work. You can also use variable paths, example %MYDOCUMENTS% etc..
0

#49 User is offline   Eiraku Icon

  • Group: Member
  • Posts: 49
  • Joined: 02-May 05

Posted 28 April 2006 - 04:01 AM

Sweetness... Thanks people... :)
0

#50 User is offline   verbalhijacker Icon

  • Group: Member
  • Posts: 162
  • Joined: 11-July 05

Posted 28 April 2006 - 10:01 PM

Hey PCM thanx for supplying the adding a sound to the desklet code, ive added it and it works a treat. As before it still loads the desklet with avedesk at the start for a split second, since i added the sound code, it also produces the sound aswell when the desklet appears, have u figured out a away i can sort this out?

Anyone interested in a sound to add to the desklet can use this one, its has a cool blip sound ideal for this desklet

Attached File(s)

  • Attached File  blip.zip (4.81K)
    Number of downloads: 32

0

#51 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 04 May 2006 - 04:14 PM

I've updated the OSX Volume desklet with the following.

I think I got all the "suggested" features.

1.02

Will not be displayed on startup.
Always popup even if the volume is at 0
When you right click on the desklet (when its visible) it will not fade away, allowing you to select bar or ticks.
Added Sound to it.
Default hotkeys are the multimedia keys.
If you want to do Ctrl Up and Down just edit the xml file and uncomment in the hotkey sections the two other keys.


May the 4th be with you.
0

#52 User is offline   verbalhijacker Icon

  • Group: Member
  • Posts: 162
  • Joined: 11-July 05

Posted 04 May 2006 - 08:07 PM

Outstanding PCM, thankyou:)
0

#53 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 05 May 2006 - 01:05 PM

Np problem.

Also if anyone is getting problems with hotkeys, you might have another software that is binding the hot key. You can just remove all the hotkey reference in the xml code
0

#54 User is offline   shmengie Icon

  • Group: Member
  • Posts: 2,929
  • Joined: 31-August 03

Posted 05 May 2006 - 01:44 PM

hi. just updated to 1.02 and the desklet isn't working. here's the log:

5007  Microsoft JScript runtime error
'desklet.IDesklet' is null or not an object  Line:6   Column:2   
-------------------------------
5007  Microsoft JScript runtime error
'desklet.IDesklet' is null or not an object  Line:6   Column:2   
-------------------------------
5007  Microsoft JScript runtime error
Object expected  Line:72   Column:2   
-------------------------------
5007  Microsoft JScript runtime error
Object expected  Line:72   Column:2   
-------------------------------

0

#55 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 05 May 2006 - 05:04 PM

Oh... that would mean you don't have the latest version of the avescripter beta.

I added 1 line of code to put the desklet always ontop. you could just comment that line if you don't want to download it.
0

#56 User is offline   shmengie Icon

  • Group: Member
  • Posts: 2,929
  • Joined: 31-August 03

Posted 05 May 2006 - 05:13 PM

ah so...thx. i'll check it out when i get back home.
0

#57 User is offline   Zxian Icon

  • Group: Member
  • Posts: 119
  • Joined: 01-November 04

Posted 05 May 2006 - 05:36 PM

I'm running the latest AveScripter Beta (1.0.5.7) and I'm still getting script errors.

5007  Microsoft JScript runtime error

'SubMenu(...)' is null or not an object  Line:28   Column:2   

-------------------------------

5007  Microsoft JScript runtime error

'SubMenu(...)' is null or not an object  Line:28   Column:2   

-------------------------------


Any ideas pcm?

I also tried out the bar setting, and it seems like there's some "tearing" at certain volume levels. I'll try to get a screenshot up later, but has anyone else noticed this?
0

#58 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 05 May 2006 - 08:28 PM

Yes I know exactly what that is.. That's me being a total @#$@. Sorry about that. I hate it when I do rookie mistakes.

I had started to add something. Then ran out of time and just deleted what I started but forgot to delete 1 line.

I'll be uploading in a few mins a better version. I've delete 1 line of code that wasn't used. You can delete that line too if you want to avoid the download time.

Just delete line 28 as the message states:
Menus(0).SubMenu(3).Checked = Parameters('AlwaysPopup').Value;


if your hearing some tearing or "double" clicks of sound.. make sure its not actually doing 2 updates. IE another software that is also uploading the volume on those same exact hotkeys. And also, (it happened to me, don't laugh :P) you don't have 2 osxvolumes that overlap each other exactly and each playing the sound.
0

#59 User is offline   Zxian Icon

  • Group: Member
  • Posts: 119
  • Joined: 01-November 04

Posted 06 May 2006 - 04:39 AM

Ok. Sounds good about the coding error.

As for the tearing, I wasn't referring to the sound produced, but the line that was showed in place of the ticks. Bah... girlfriend is calling. I'll post a screenie of what I mean tomorrow.... :P
0

#60 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 06 May 2006 - 01:23 PM

I used the sound that verbalhijacker gave me.. Didn't want to use same tick sound. I'm hoping to get the sound like osx.
0

  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic