Actions
Support #1714
closedRestore query windows
Start date:
11/14/2014
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Description
Would be nice to have an option to restore all windows on restart, incl. Query.
Updated by Per Amundsen about 10 years ago
"File -> Options -> Windows -> Save and restore open servers"
This will save all open servers as autoconnect and add all open channels as autojoin channels.
For querys a quick script could be used.
Updated by Andreas vb about 10 years ago
I have all servers in Server List, but need to figure out how to save all Queries automatically. :D
Updated by Per Amundsen about 10 years ago
I'll make a small script for you and post it here a little later.
Updated by Per Amundsen about 10 years ago
here you go :)
on *:OPEN:?:*:{ var %name = % $+ $network $+ _query set -s [ %name ] $addtok( [ %name ] ,$target,32) } on *:CLOSE:?:{ var %name = % $+ $network $+ _query set [ %name ] $remtok( [ %name ] ,$target,1,32) } raw 376:*:{ openquerys } raw 422:*:{ openquerys } alias query { var %name = % $+ $network $+ _query set [ %name ] $addtok( [ %name ] ,$1,32) !query $1- } alias -l openquerys { var %name = % $+ $network $+ _query , %s = 1 while ($gettok( [ %name ] ,%s,32)) { if (!$query($v1)) { echo -s $gettok( [ %name ] ,%s,32) query $gettok( [ %name ] ,%s,32) } inc %s } }
Updated by Andreas vb about 10 years ago
Thanks, I'll see if it works.
Everything in Scripts?
Updated by Per Amundsen about 10 years ago
Yes, just press alt + r and paste the script into a blank file, then press save :)
Updated by Per Amundsen almost 10 years ago
- Tracker changed from Feature to Support
- Status changed from New to Resolved
- Target version set to 1.9.6
Updated by Per Amundsen almost 10 years ago
- Status changed from Resolved to Closed
Actions