mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2007
Posts: 202
F
firefox Offline OP
Fjord artisan
OP Offline
Fjord artisan
F
Joined: Sep 2007
Posts: 202
I want to to get the name of the custom window I type something in to

the manual says:

$window(N/@name)

Returns properties for a window.

title returns the text in the titlebar of the window

But I can't quite figure out what the syntax is to return the window name

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
$active

Joined: Sep 2007
Posts: 202
F
firefox Offline OP
Fjord artisan
OP Offline
Fjord artisan
F
Joined: Sep 2007
Posts: 202
thanks hixxy

is it possible to make an @window 'flash' (i.e. turn red like a channel does on activity) when something is sent to it via /aline or /echo ?

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
/help /aline:

Quote:
The -h switch highlights the window's button if it is currently minimized.

Joined: Sep 2007
Posts: 202
F
firefox Offline OP
Fjord artisan
OP Offline
Fjord artisan
F
Joined: Sep 2007
Posts: 202
thanks

is there a way to make the tray/taskbar icon flash too?

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
like... /flash ? :o)

Joined: Sep 2007
Posts: 202
F
firefox Offline OP
Fjord artisan
OP Offline
Fjord artisan
F
Joined: Sep 2007
Posts: 202
indeed sir - thank you!

Joined: Mar 2009
Posts: 74
K
Babel fish
Offline
Babel fish
K
Joined: Mar 2009
Posts: 74
You can also use $target, in case something triggers an event meant for the @window, while the @window isn't the active window. You can also go through existing @windows using $window(<number>)

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Originally Posted By: KageNoOni
You can also use $target, in case something triggers an event meant for the @window, while the @window isn't the active window.
All custom window-related events trigger only when the window is active anyway, so this isn't an issue.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com

Link Copied to Clipboard