|
Joined: Sep 2006
Posts: 3
Self-satisified door
|
OP
Self-satisified door
Joined: Sep 2006
Posts: 3 |
hi, guys. i was looking for a way to make a balloon pop up in the system tray whenever a specific person on my notify list goes online. so, any ideas?
thanks in advance.
|
|
|
|
Joined: Sep 2003
Posts: 261
Fjord artisan
|
Fjord artisan
Joined: Sep 2003
Posts: 261 |
|
|
|
|
Joined: Sep 2006
Posts: 3
Self-satisified door
|
OP
Self-satisified door
Joined: Sep 2006
Posts: 3 |
we have a comedian here. dude, if you're not willing to help, just don't respond to the thread.
|
|
|
|
Joined: Feb 2006
Posts: 164
Vogon poet
|
Vogon poet
Joined: Feb 2006
Posts: 164 |
|
|
|
|
Joined: Sep 2003
Posts: 261
Fjord artisan
|
Fjord artisan
Joined: Sep 2003
Posts: 261 |
They said thanks, and I just said you're welcome  . I thought perhaps that would be a good thing to say to show them that at least someone is listening. You want me to help fine. No there is no way of making it work just like windows other programs use it without outside help from a possible DLL. Though to my knowledge one does not exist, you're best bet is to just have mIRC maximized and use some sort of window drawing method to emulate that effect. Is that better?
|
|
|
|
Joined: Sep 2005
Posts: 2,630
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,630 |
There's a dll called "systray.dll" by Narusag something or other but I can't find a download location. You might wish to have a look for that.
|
|
|
|
Joined: Sep 2006
Posts: 3
Self-satisified door
|
OP
Self-satisified door
Joined: Sep 2006
Posts: 3 |
i downloaded that systray.dll and it works. thanks everyone that helped, including Scorpwanna. 
|
|
|
|
Joined: Sep 2005
Posts: 2,630
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,630 |
Can you remember where you found it?
|
|
|
|
Joined: Sep 2003
Posts: 261
Fjord artisan
|
Fjord artisan
Joined: Sep 2003
Posts: 261 |
Well, I'm to late,  Cuz you can use agent to do that, i just came up with something but, glad you got it working. I'll post it anyway incase this helps someone in the future. The below script requires that you have agent fully working on your PC.
alias balloonnotice {
var %message = $1-
var %maxwidth = $window(-1).w
var %maxheight = $window(-1).h
%maxwidth = $calc(%maxwidth -100)
;%maxheight = $calc(%maxheight -24)
.gload agent
.gsize agent 1 1
.gopts -b agent on nopace
.gmove agent 0 0 0
.gmove agent %maxwidth %maxheight 0
.gtalk -k agent %message
}
on 1:agent:{ if ($agent(agent)) { gunload agent }
Usage: /balloonnotice text
Last edited by Scorpwanna; 19/09/06 06:58 PM.
|
|
|
|
Joined: Jun 2003
Posts: 985
Hoopy frood
|
Hoopy frood
Joined: Jun 2003
Posts: 985 |
systray.dll can be found here.
|
|
|
|
Joined: Sep 2003
Posts: 261
Fjord artisan
|
Fjord artisan
Joined: Sep 2003
Posts: 261 |
Got bored so I did this, it's something that may come useful to someone else out there who want's some notifications. This is an example, uses a picture window to mimic that of the notification balloon.
;On Join/Part/Quit Balloon Notifier
on 1:JOIN:#:balloonnotice $nick has joined $chan
on 1:PART:#:balloonnotice $nick has left $chan
on 1:QUIT:balloonnotice $nick has Logged Off
alias balloonnotice {
var %message = $1-
var %balloonx $calc($window(-1).w -250)
var %balloony $calc($window(-1).h -83)
window -dpozk0 +dL @balloonnotice %balloonx %balloony 202 51
drawrect -rdf @balloonnotice $rgb(254,255,224) 2 1 1 200 49
drawpic -cog1 @balloonnotice 12 7 221 $+(", C:\WINDOWS\system32\shell32.dll, ")
drawtext -ro @balloonnotice $rgb(0,0,0) Tahoma 11 36 8 mIRC Notification
drawtext -r @balloonnotice $rgb(0,0,0) Tahoma 11 12 28 %message
.timerclosebn 1 5 window -c @balloonnotice
}
Scriptbusters
|
|
|
|
Joined: Sep 2003
Posts: 261
Fjord artisan
|
Fjord artisan
Joined: Sep 2003
Posts: 261 |
Slightly updated this due to the fact it was taking over as active window. This fixes it.
;On Join/Part/Quit Balloon Notifier
on 1:JOIN:#:balloonnotice $nick has joined $chan
on 1:PART:#:balloonnotice $nick has left $chan
on 1:QUIT:balloonnotice $nick has Logged Off
alias balloonnotice {
var %message = $1-
var %balloonx $calc($window(-1).w -250)
var %balloony $calc($window(-1).h -83)
window -dfhnopk0 +dL @balloonnotice %balloonx %balloony 202 51
drawrect -rdf @balloonnotice $rgb(254,255,224) 2 1 1 200 49
drawpic -cog1 @balloonnotice 12 7 221 $+(", C:\WINDOWS\system32\shell32.dll, ")
drawtext -ro @balloonnotice $rgb(0,0,0) Tahoma 11 36 8 mIRC Notification
drawtext -r @balloonnotice $rgb(0,0,0) Tahoma 11 12 28 %message
window -o @balloonnotice
.timerclosebn 1 5 window -c @balloonnotice
}
|
|
|
|
Joined: Feb 2003
Posts: 143
Vogon poet
|
Vogon poet
Joined: Feb 2003
Posts: 143 |
ok, so i was working with this part of the script trying myself to get it to work for me and dont know if i came around a bug, or it is something i have missed. Scorp here made a simple balloon script and I loaded it up but for some reason the border doesnt hide, so the edges are not curved, does anyone else have this problem.
alias balloonnotice {
var %message = $1-
var %balloonx $calc($window(-1).w -250)
var %balloony $calc($window(-1).h -83)
window -dfhnopk0 +dL @balloonnotice %balloonx %balloony 202 51
drawrect -rdf @balloonnotice $rgb(254,255,224) 2 1 1 200 49
drawpic -cog1 @balloonnotice 12 7 221 $+(", C:\WINDOWS\system32\shell32.dll, ")
drawtext -ro @balloonnotice $rgb(0,0,0) Tahoma 11 36 8 mIRC Notification
drawtext -r @balloonnotice $rgb(0,0,0) Tahoma 11 12 28 %message
window -o @balloonnotice
.timerclosebn 1 5 window -c @balloonnotice
}
|
|
|
|
Joined: Sep 2005
Posts: 2,630
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,630 |
|
|
|
|
Joined: Sep 2006
Posts: 71
Babel fish
|
Babel fish
Joined: Sep 2006
Posts: 71 |
I like this post a lot...umm any way I could get thos this to work with more notices? like whois, ban, kicked...etc also with the pop up soound?
|
|
|
|
|