|
Flashing Dialog Button
#55336
16/10/03 05:55 PM
|
Joined: Jan 2003
Posts: 12
Gawain
OP
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 12 |
Is there any way to make the button for a modeless desktop dialog flash?
-TS
|
|
|
Re: Flashing Dialog Button
#55337
16/10/03 06:03 PM
|
Joined: May 2003
Posts: 2,265
pheonix
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
move your mouse over it rapidly ;]
new username: tidy_trax
|
|
|
Re: Flashing Dialog Button
#55338
16/10/03 06:08 PM
|
Joined: Jan 2003
Posts: 12
Gawain
OP
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 12 |
lol, what? was that a dirty joke i didn't get? *blinks innocently*
-TS
|
|
|
Re: Flashing Dialog Button
#55339
16/10/03 06:13 PM
|
Joined: Dec 2002
Posts: 1,922
Online
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
I'm not sure what you mean, but you can "flash" a button by setting a timer that will constantly hide/show its text...
|
|
|
Re: Flashing Dialog Button
#55340
16/10/03 06:17 PM
|
Joined: Jan 2003
Posts: 12
Gawain
OP
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 12 |
Sorry, I ment the button on the start menu or what you call it. Hence the "Desktop" part. You can make the mIRC-button flash on for example highlight or private message, just wondered if it was anything like that for a dialog.
-TS
|
|
|
Re: Flashing Dialog Button
#55341
16/10/03 06:19 PM
|
Joined: May 2003
Posts: 2,265
pheonix
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
not dirty... the button on my dialog flashes if i move my mouse cursor * over it fast.. :tongue:
new username: tidy_trax
|
|
|
Re: Flashing Dialog Button
#55342
16/10/03 06:20 PM
|
Joined: Aug 2003
Posts: 73
DeadlySin
Babel fish
|
Babel fish
Joined: Aug 2003
Posts: 73 |
lol
IRC (Idiots Relay Chat) :tongue:
{]TDN[}Deadly-Sin
|
|
|
Re: Flashing Dialog Button
#55343
16/10/03 06:24 PM
|
Joined: Dec 2002
Posts: 1,922
Online
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Oh, now I get it... though I don't think it's possible with the current commands.
|
|
|
Re: Flashing Dialog Button
#55344
16/10/03 06:31 PM
|
Joined: Jan 2003
Posts: 12
Gawain
OP
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 12 |
Guess not. So changing the text on it with a timer is probably the best way to go. Then kill the timer when the dialog is active again. Or something like that. Thanks =)
Last edited by Gawain; 16/10/03 06:31 PM.
-TS
|
|
|
Re: Flashing Dialog Button
#55345
16/10/03 06:41 PM
|
Joined: Jan 2003
Posts: 12
Gawain
OP
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 12 |
Any good ideas on how to do THAT (killing the timer when the dialog is active again) then? on ACTIVE and on DIALOG doesn't seem to help much at least.
-TS
|
|
|
Re: Flashing Dialog Button
#55346
16/10/03 06:54 PM
|
Joined: Dec 2002
Posts: 1,922
Online
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Unfortunately there are no activation events for dialogs, but we can use something like this... dialog x {
size -1 -1 80 80
title "text"
}
On *:dialog:x:init:0:.timerx 0 1 _isactive
On *:dialog:x:close:0:.timerx off
alias -l _isactive {
if !$dialog(x).active {
dialog -t x $iif($dialog(x).title == -,text!,-)
}
} Paste this code in the remote and open the dialog - /dialog -md x x. Afterwards, minimize it and see what happens
|
|
|
Re: Flashing Dialog Button
#55347
16/10/03 07:05 PM
|
Joined: Jan 2003
Posts: 12
Gawain
OP
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 12 |
Ooh, missed the $dialog().active in the helpfiles.  Thanks. I'll use some trigger so it won't have to be a continous timer though. Thanks again!
-TS
|
|
|
Re: Flashing Dialog Button
#55348
16/10/03 10:01 PM
|
Joined: Feb 2003
Posts: 309
CloCkWeRX
Fjord artisan
|
Fjord artisan
Joined: Feb 2003
Posts: 309 |
Possible (if unwieldy) solution: Take screenshots of your average button with printscreen and edit in paintbrush. Take one of button pressed, button normal, etc. Edit the flashing and nonflashing states.
set a timer to swtcih the flash/no flash images every N intervals. Make it do this by calling aln alias that checks the mouse isn't down, as that'd mess up your effect a little.
Its messy. Its bulky. It can work tho.
|
|
|
Re: Flashing Dialog Button
#55349
16/10/03 11:05 PM
|
Joined: Jan 2003
Posts: 12
Gawain
OP
Pikka bird
|
OP
Pikka bird
Joined: Jan 2003
Posts: 12 |
How on earth do you switch the image on the button on the Start Menu/Line/Thingie?
-TS
|
|
|
|
|
|