[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - Help with volume icon

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 16th, 2024, 11:45 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Help with volume icon
PostPosted: August 25th, 2012, 10:28 pm 
Offline

Joined: August 25th, 2012, 9:43 pm
Posts: 22
Hi, I have no idea how to code but for the past few days I've been modifying other people widgets to create my own set



As you can see, they're not very good looking :? but incredibly useful to me since they rest upon the taskbar (as topmost) and can be accessed at any time.
Anyways, my question is, is there a way to make the volume icon change depending of the volume percentage or if it's muted? if there's such an option I couldn't find it...
if you can show me a template it would be awesome.

Thanks for your help and excuse my poor english :oops:

Edit: Also, is there a way to make the mail core to play a sound when new mail arrives?


Top
 Profile  
 
PostPosted: August 30th, 2012, 2:07 am 
Offline
User avatar

Joined: August 29th, 2012, 2:34 am
Posts: 56


Attachments:
File comment: Widget preview
VolumeControl.png
VolumeControl.png [ 13.37 KiB | Viewed 5057 times ]
Top
 Profile  
 
PostPosted: August 30th, 2012, 4:38 am 
Offline

Joined: August 25th, 2012, 9:43 pm
Posts: 22
Thank you so much vlad!! this is exactly what I wanted.
if (volCore.IsMute) didn't work for me either, though. It's a shame cause it was so close to be perfectly functional...

Again, you're a genius man. I wish I could come up with this stuff by myself.

Do you have any idea about my other question? I think the mail core without a sound warning is kind of incomplete. Maybe there's an easy way and I'm missing it.


Top
 Profile  
 
PostPosted: August 31st, 2012, 1:56 am 
Offline
User avatar

Joined: August 29th, 2012, 2:34 am
Posts: 56


Top
 Profile  
 
PostPosted: August 31st, 2012, 2:36 am 
Offline

Joined: August 25th, 2012, 9:43 pm
Posts: 22
Thank you so much for taking your time to answer.
I'm sorry but , can you make me a template like the last time? I know it's really simple but I can't do it.
Last time for example, when I tried to copy your code into my widget, nothing happened. then I modified yours doing the same stuff I did in mine and it worked perfectly. There's something I'm not doing right...
If you can't don't worry about it, you've been helpful enough.


Top
 Profile  
 
PostPosted: August 31st, 2012, 6:33 am 
Offline
User avatar

Joined: August 29th, 2012, 2:34 am
Posts: 56
Example of playing sounds:
http://4ybak47.deviantart.com/#/d5d622k

I dont know how to work with the MailCores, if could send me the template u made i could view the way it works. Or just tell me how to set up the user name and password for the gMailCore


Top
 Profile  
 
PostPosted: August 31st, 2012, 6:58 am 
Offline

Joined: August 25th, 2012, 9:43 pm
Posts: 22
This is my widget (don't laugh).


Attachments:
mail.zip [57.81 KiB]
Downloaded 298 times
Top
 Profile  
 
PostPosted: September 1st, 2012, 12:50 am 
Offline
User avatar

Joined: May 12th, 2012, 8:32 pm
Posts: 594

_________________
XWidget Software Developer
[] [] []
[]


Top
 Profile  
 
PostPosted: September 1st, 2012, 6:43 am 
Offline
User avatar

Joined: August 29th, 2012, 2:34 am
Posts: 56
Listen Tony i tried the PlaySound("a.wav") function but apparently it only works with "wav" files (i used a mp3 file) , maybe its only on my PC the function PlaySound() and PlaySound2() wont work for mp3's, in further release could u make a PlayMp3(...file) ?.

zequi your sound is now playing when new mail is arriving, download the example below.


Attachments:
mail.zip [57.71 KiB]
Downloaded 274 times
Top
 Profile  
 
PostPosted: September 1st, 2012, 5:10 pm 
Offline

Joined: August 25th, 2012, 9:43 pm
Posts: 22
Thank you so much vlad!! you're my hero.
I swear from now on I will not be bothering you that much ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Bing [Bot] and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group