mIRC Home    About    Download    Register    News    Help

Print Thread
F
firefox
firefox
F
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,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
$active

F
firefox
firefox
F
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,630
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,630
/help /aline:

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

F
firefox
firefox
F
thanks

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

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

F
firefox
firefox
F
indeed sir - thank you!

K
KageNoOni
KageNoOni
K
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,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
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.


Link Copied to Clipboard