I was thinking about 2 things for Dc++ :
1 - It will be great if it can return the name of a file or a directory from the search window (like dc++k) with %[file] in the custom commands.
2 - It will be also fantastic if Operators can do actions from the filelist directly.
And, of course, thank for the good work guys ^^
Operator Tuning ^^
Moderator: Moderators
1:
from SearchFrm.cpp
from SearchFrm.cpp
Code: Select all
LRESULT SearchFrame::onUserCommand(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) {
[...snip...]
SearchResult* sr = (SearchResult*) ctrlResults.GetItemData(sel);
ucParams["nick"] = sr->getUser()->getNick();
ucParams["mynick"] = sr->getUser()->getClientNick();
ucParams["file"] = sr->getFile();
if(uc.getNick().empty()) {
sr->getUser()->clientMessage(Util::formatParams(uc.getCommand(), ucParams));
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
I'm so stupid...-- 0.251 2003-05-28 --
* Fixed 100% cpu bug in new search (thanks opera)
* Fixed a bug with queue selection counts (thanks sed)
* Fixed a problem with percents not being escaped correctly in user commands (thanks sed)
* Added so that you can use time formatting in the away message (%Y, %m ...) (thanks vladimir marko)
* Added %[file] to search frame user commands (that becomes the current filename) (thanks sarf)
* Fixed some of the vc6 compile errors/warnings
* ADLSearch: now accepts %[nick] (see help)