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
}
}
}
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.
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.
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.
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.
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....
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...