1) I would wish for more scripting support for the catalog, especially creating and editing catalog items, getting the currently focused item, focusing a specific item, and getting also the caption(!) of itematpos and then of the focused item.
In theory, inserting and editing an item in the catalog could be done now with the undocumented sendkeys command: viewtopic.php?p=119994#p119994 sending XY keyboard shortcuts "{Insert}" or "%{Enter}" while the catalog has focus (compare
get("FocusedControl");
and focus;
) and then editing the values in the dialog that pops up with an AutoHotkey script that returns focus back to XY once it is done. However, this of course is quite an ugly work-around and certainly not 100 % reliable. Besides, as far as which item has focus at the moment, is hard to figure out. It is more easy to read the item under the mouse with indexatpos();
or also itematpos();
(however, the latter returns the location/description/script and not the caption) and comparing it to the results of catalogreport("{Caption}<crlf>{Location}<crlf>{Index}", "{Caption}<crlf>{Location}<crlf>{Index}");
. The currently "focused" category seemingly can be found by catalogreport("{Caption}<crlf>{Index}",,1");
, however, the currently focused catalog item, as far as I can see, can only be identified by sendkeys "%{Enter}";
and then trying to analyze that dialog with AutoHotkey somehow.2) It would also be nice to have an option to trigger a catalog item (especially a catalog script) with the MMB and being able to differentiate in the script which button triggered it.
There is a currently working work-around with tht CEA "Clicking on Items: Middle-click on folder" right now, but maybe there is a prettier solution? (And Don, just in case this should be an unintended side effect - please, don't take it away without providing a better solution at the same time. Thx.)
3) Last but not least, it would be nice to have a dynamic multi-item for the catalog that will always (= at any time) show all currently defined favorite files or folders underneath each other.
Regards