[Script] Find Window
Added by Per Amundsen about 9 years ago
Simple script to search for a window.
Someone wanted this while using the [script] Hide all idle channels and querys (no new messag... script.
Could be improved to show a proper dialog.
alias findwindow { var %search $1 if (!%search) { %search = $$?="Search for" } %search = $+(*,%search,*) window -l @findwindow var %s 0 while (%s < $scon(0)) { inc %s scon %s var %w 0 while (%w < $window(%search, 0)) { inc %w aline @findwindow %s $network $window(%search, %w) } } } menu @findwindow { dclick:{ scon $gettok($line(@findwindow,$1),1,32) window -a $gettok($line(@findwindow,$1),3,32) window -c @findwindow } } menu channel,status,query,menubar { Find Window:findwindow }
Replies (2)
RE: [Script] Find Window - Added by Mr. BS about 9 years ago
For fun I edited your script to display results in a small window in the middle of screen.
Check it out, script is attached.
Use ESC key to close windows.
More hotkeys:
ctrl+2 to open/put focus Find Window inputbox.
<tab> to swap between inputbox and results window.
up/down to navigate results.
<enter> or double click to bring a result window to front.
Findwindow.gif (25.3 KB) Findwindow.gif | |||
Findwindow2.gif (37.4 KB) Findwindow2.gif | |||
FindWindow.ini (2.9 KB) FindWindow.ini |
RE: [Script] Find Window - Added by Per Amundsen almost 6 years ago
Use the attached findwindow2.ini script instead, it has some fixes for recent AdiIRC versions.
findwindow2.ini (3.04 KB) findwindow2.ini |