mIRC Homepage
Posted By: firefox equivalent of $chan for @windows? - 23/05/11 08:06 PM
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
Posted By: hixxy Re: equivalent of $chan for @windows? - 23/05/11 08:15 PM
$active
Posted By: firefox Re: equivalent of $chan for @windows? - 23/05/11 08:40 PM
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 ?
Posted By: hixxy Re: equivalent of $chan for @windows? - 23/05/11 09:10 PM
/help /aline:

Quote:
The -h switch highlights the window's button if it is currently minimized.
Posted By: firefox Re: equivalent of $chan for @windows? - 23/05/11 09:40 PM
thanks

is there a way to make the tray/taskbar icon flash too?
Posted By: Horstl Re: equivalent of $chan for @windows? - 24/05/11 12:15 AM
like... /flash ? :o)
Posted By: firefox Re: equivalent of $chan for @windows? - 24/05/11 07:24 PM
indeed sir - thank you!
Posted By: KageNoOni Re: equivalent of $chan for @windows? - 25/05/11 07:39 AM
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>)
Posted By: qwerty Re: equivalent of $chan for @windows? - 25/05/11 06:01 PM
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.
© mIRC Discussion Forums