volume sys

By blackvenomm666 on Nov 10, 2010

yea i was bored yet again no one will prolly use it but oh well. i made it cause i've been having a problem with my computer the volume icon on the menubar at the bottom won't stay on it so i made this to make things easier to control volume. if when you click on the sound main button you get an error you can try changing this line /run C:\Documents and Settings\All Users\Start Menu\Programs\Accessories\Entertainment\Volume Control to
run sndvol32.exe if that doesnt fix it umm contact me and i'll see if i can help ya haha ok its been edited it now displays what percent your volume is at eg 50% 45% and also displays if its muted when you hit mute. ok can now control not only main volume but also wave volume

Menu Menubar,Nicklist,Channel {
  Volume Control System
  .VenomVolumeSys: dialog $iif($dialog(volume.System),-v,-md volume.System) volume.System 
}
Dialog Volume.system {
  icon $mircdirspeaker.ico, 0
  title ""
  size -1 -1 220 105
  box "Main Vol", 12, 02 0 67 69
  button "up", 1, 02 16 67 25
  button "down", 2, 02 43 67 25
  box "Wave Vol", 13, 76 0 67 69
  button "up", 6, 76 16 67 25
  button "down", 7, 76 43 67 25
  button "mute", 3, 150 16 67 25
  button "unmute", 4, 150 43 67 25
  button "sound main", 5, 02 74 216 25
}
on *:DIALOG:Volume.system:*:*:{
  if ($devent == sclick) {
    if ($did == 1) {
      vol -v $calc( $vol(master) + 1000)
      dialog -v Volume.system
      dialog -t Volume.system Vol: $int($calc(( $vol(master) / 65535) * 100)) $+ %
    }
    if ($did == 2) {
      vol -v $calc( $vol(master) - 1000)
      dialog -v Volume.system
      dialog -t Volume.system Vol: $int($calc(( $vol(master) / 65535) * 100)) $+ %
    }
    if ($did == 3) {
      vol -vu1
      dialog -t Volume.system Vol:muted
    }
    if ($did == 4) {
      vol -vu2
      dialog -t Volume.system Unmuted
      .timer 1 2 dialog -t Volume.system Vol:              $int($calc(( $vol(master) / 65535) * 100)) $+ %
    }
    if ($did == 6) {
      vol -w $calc( $vol(wav) + 1000)
    }
    if ($did == 7) {
      vol -w $calc( $vol(wav) - 1000)
    }
    if ($did == 5) {
      /run sndvol32.exe 
    }
  }
}

Comments

Sign in to comment.
NocturnalGuy   -  Nov 16, 2010

I just seen the comment about Linux users having too much time on there hands. Eh not really once you get the hang of it, its really easy. I have never really used a mac on a normal basies, so can't comment on that. Hehe I kinda been busy with stuff in real life so am not on as much.

 Respond  
Jonesy44   -  Nov 14, 2010

I have been for the past 10 years so I'm trying something new out for a change :p

 Respond  
Jethro   -  Nov 14, 2010

Image
Image

 Respond  
blackvenomm666   -  Nov 14, 2010

ah well in that case not as bad as i thought it was but im still a pc man:)

 Respond  
Jonesy44   -  Nov 14, 2010

Well mIRC's a Windows application. But with some simple applied knowledge you can use Parallels to run mIRC beautifully, and fully integrated with Mac.

 Respond  
blackvenomm666   -  Nov 14, 2010

to each their own i just don't like mac doesnt help there is no version of real mirc for it. least not last i checked it has its own version of mirc but it is nothing like mirc for pc and it blows monkeychunks

 Respond  
Jonesy44   -  Nov 14, 2010

Fair enough. Doesn't bode well for me that I just ordered a new Mac eh.

 Respond  
blackvenomm666   -  Nov 13, 2010

i have used mac. and i don't like it i prefer pc. which is why im running a dell.

 Respond  
Jonesy44   -  Nov 13, 2010

Why do you hate mac? Are you just jumping on the bandwagon with ever other prude idiot?

 Respond  
blackvenomm666   -  Nov 12, 2010

i hate mac and i hate w7 and vista im running a 2001 dell poweredge 400sc runs like brand new and it doesnt crash only problem is the problem with my sound button when it dissapears but i seem to have fixed it its staying where its sposed to be now haha

 Respond  
Jonesy44   -  Nov 12, 2010

Well, I'm a PC user, a Linux (Ubuntu, KDE enviro's for people with far too much spare time), and soon to be a mac user too!

They all work. As far as PC crashing issues now-a-days, with w7, there's virtually no room to bitch about it crashing. If a 1GHz (1GB ddr3) Intel Atom can handle w7, the aero theme and quite a lot of apps open too, i can't see the faults.

But mac's are beautiful, and i'm vain.

 Respond  
NocturnalGuy   -  Nov 12, 2010

The attack I made on Teen was becouse his putting windows all high and mighty, and then coming back and basically saying that me and all other Linux users do not matter or count. Yes I admit it would be a little hard to do for linux, as its very wide range and open, however most people on linux use alsa for the sound. Alsa would be easy to emu through mirc. Wine is only one of many examplease I could have used, there is also wmware, vbox, ect. They all basically do the same. As far as the comments about wine's compability issues, I have yet to find anything that was made for windows that doesnt work on wine. Sure some things take a little editing of config files, but then the same thing can be said about windows. I used to be a faithfull windows user, untell anytime I pushed it at all, it crashed. I am the kind of person who likes to tweak things, bend them, use them for other things then what they where made for (like the steak knife example). So with that in mind you could say I am a hacker. I know alot of mIRC snippits that work in linux, like for example most perl snippits. Its really just a matter of personal choice, I like to know what my computer is doing at any given time. Not just "oh everythings fine, don't worry about it" like windows does. But getting back on topic. Its a great snippit, and with a little .dll coding wouuld be great for linux, and even MAC.

 Respond  
Jonesy44   -  Nov 12, 2010

Quit bitching.

"Yea ok, if thats the case why am I a computer programmer with over 12 years experience?" That sir, is because you need more hobbies.

 Respond  
blackvenomm666   -  Nov 12, 2010

yes it may be a windows application jaytea but the functionality of it on wine needs to be taken into consideration because even though it is a window app obviously other os's such as linux have found a way to use it therefore they have to be taken into consideration as well not just windows. thats kinda like saying hey look i invited a steak knife it cannot be used to cut anything else. the knife was invented for STEAK but is not only going to be used on steak. it will be used on fish and chicken and other meats and stuff thats not meat as well. point is is if it can be used for things other than what it was created for it then needs to be taken into consideration for those other things as well.

 Respond  
jaytea   -  Nov 12, 2010

hold on a second. why are we (or 'were we') talking about the functionality of a snippet with performance on platforms other than Windows in mind? mIRC is a Windows application; how it behaves on WINE or other virtual Windows environments should be of little concern to the scripter looking to release his work for public scrutiny. regular users of WINE should be well aware of its limitations (for example, its inability to properly represent almost 95% of the Unicode code space) and must accept that there are some features that simply cannot be taken advantage of under present conditions. pardon the sidetrack, i just found NocturnalGuy's attack on Teen to be unjustified and even, in parts, nonsensical.

 Respond  
Gummo   -  Nov 12, 2010

I was just explaining the reason for the path not existing.

 Respond  
blackvenomm666   -  Nov 11, 2010

wasnt talking bout doc and settings so with vista it could be change to users directory start blablablablabla

 Respond  
Gummo   -  Nov 11, 2010

Vista and 7 have a Users directory, not Documents and Settings.

 Respond  
blackvenomm666   -  Nov 11, 2010

my bad you have 7 sory i meant vista has it

 Respond  
Nuk3d   -  Nov 11, 2010

is it the ultimate version then?
thats what i have and it doesnt have it at all

 Respond  
blackvenomm666   -  Nov 11, 2010

it does have accessories and it has entertainment i just checked on moms computer its just set up diff entertainment is not located ni the accessories fodler like on xp it is right in the start menu i all programs

 Respond  
Nuk3d   -  Nov 11, 2010

7 doesnt have a 'entertainment' folder.
hell accessories isnt even in documents and settings, which doesnt exist by default..

pretty sure vista doesnt since 7 is really just based off of that

 Respond  
blackvenomm666   -  Nov 11, 2010

and how do you know the original will not work on 7 or vista?

 Respond  
Nuk3d   -  Nov 11, 2010

i agree with teen, couldve made it work with all windows os's from the beginning because not every person that wants it will know what to change or what to change it to

 Respond  
_Teen_   -  Nov 11, 2010

/\ damn i will not read all this crap... ignored

 Respond  
NocturnalGuy   -  Nov 11, 2010

Teen

I am a dumbass? Yea ok, if thats the case why am I a computer programmer with over 12 years experience? Sorry bud shit does not come out of my mouth, only words of truth. I can't speak for what comes out of your mouth though, as everyone can see what it is. I was simply making a statement that would be clear to most people....but I forgot to break it down for stupid people like you. You say its not meant for me...yet I am using it just fine. So stfu untell you know what your talking about. K? thanks. Also you say windows is all systems, which shows you know very little (or nothing at all) about anything other then windows operating system. Most people who use linux do so because they are tired of bugs, system crashes, weak security and massive cpu usage. So keep talking about stuff you know nothing about, your foot could always go in your mouth a little farther....

 Respond  
napa182   -  Nov 11, 2010

if you meant all window systems then you should have said that instead of saying all systems. No matter what the path said.

 Respond  
_Teen_   -  Nov 11, 2010

when i said in all systems, its all windows systems... all windows versions... i didnt contradict myself, cause this path its for windows

 Respond  
napa182   -  Nov 11, 2010

Teen You contradict yourself.
Teen Said:

using a command that will not work in all systems, its not a brilliant idea...
windows is not all systems...

also NocturnalGuy does have a point. maybe blackvenomm666 should find away to incorp a mac/linux rework.

 Respond  
_Teen_   -  Nov 11, 2010

NocturnalGuy
do me a favor you dumbass, if you stop throwing up sh**t with your mouth, you will see that this was made for windows, not for linux users, and not was made for you...

i just gave a comment, cause i saw that this

/run C:\Documents and Settings\All Users\Start Menu\Programs\Accessories\Entertainment\Volume Control

its a windows path... not a mac, or linux path...

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.