|
![]() |
#1 |
Участник
|
Мои n копеек:
При Alt+M вызывается меню единственным элементом которого является Scripts Ушел SecurityKey SysDevelopmentBasic В сидаксе почему-то не приходит mouseUp в trtreeview Кеш главного меню (Map scruct ов) не может запаковаться, а потом распаковаться. Теперь чтобы правильно распаковать Map надо проверять контайнер на пустоту так: conLen(с)>=4 |
|
|
За это сообщение автора поблагодарили: kashperuk (5). |
![]() |
#2 |
Участник
|
самому надоело лишние клавиши нажимать, поэтому написал сие:
\Classes\EditorScripts\getApplicableScripts X++: // Use this method to control what scripts are shown on the scripts popup menu in the editor container getApplicableScripts(Editor e) { classId id = classnum(EditorScripts); TreeNode AOTNode = EditorScripts::getVersionControllableNode(e); DictClass dc = new DictClass(id); int i; container scripts; str methodName; // ADD by KDV ==> void pressKeyS() { DLL winApiDLL = new DLL('User32'); DLLFunction keybd_event = new DLLFunction(winApiDLL, 'keybd_event'); ; keybd_event.arg(ExtTypes::Byte, ExtTypes::Byte, ExtTypes::DWord, ExtTypes::DWord); keybd_event.call(83, 0, 0, 0); } // ADD by KDV <== ... ... pressKeyS(); // ADD by KDV return scripts; } |
|
Теги |
полезное, ax4.0 |
|
|