AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
NAV
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.08.2009, 15:48   #1  
Denicce is offline
Denicce
Участник
 
62 / 54 (2) ++++
Регистрация: 22.03.2005
Адрес: Москва
самому надоело лишние клавиши нажимать, поэтому написал сие:
\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

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Kashperuk Ivan: Microsoft Dynamics AX 2009 Keyboard shortcuts Blog bot DAX Blogs 5 18.12.2013 18:24
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Kashperuk Ivan: Microsoft Dynamics AX 2009 CTP3 release is available on PartnerSource Blog bot DAX Blogs 35 10.04.2008 20:05
Kashperuk Ivan: Now I am a MCBMSS in Dynamics AX Blog bot DAX Blogs 0 07.05.2007 18:40
Kashperuk Ivan: Dynamics AX Tutorials - Tutorial 2 - Classes\Box Blog bot DAX Blogs 0 25.04.2007 22:23

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 07:40.