maddogmax wrote:Ребят, такой вопрос. Есть ли плагин (скрипт) под akelpad для валидации php?
Есть такой вариант:
1. Скачиваем PHPLint.
2. Распаковываем в папку "[AkelPad]\AkelFiles\Tools".
3. Переименовываем папку "[AkelPad]\AkelFiles\Tools\phplint-windows-1.1_20120402" в "[AkelPad]\AkelFiles\Tools\phplint".
4. Создаем вызов в ToolBar или ContextMenu или HotKeys плагине:
I need to change the icon associated with the dialog box.
I think, I can do it this way:
AkelPad.SendMessage(hWndDlg, 0x0080 /*WM_SETICON*/, 0 /*ICON_SMALL*/, hIcon);
But I don't know, how to get the handle to the icon contained in a file (.exe, .dll or .ico).
Maybe using LoadIcon() or LoadImage() functions.
Please help me.
Tested some KDJs scripts, have warnings. PlugTextToAkelPad.js
When I use it and Templates::Main in running, it opens templates selection dialog, which is redundant it this case I think. Script should prevent it. PlugToolBarAkelFont.js
When I run it by hotkey is as stated sets font, but it also sets focus to AkelPad main window. I think it should return focus back. However, I'm not sure it is bug of script. Possible it is APs/Scritps bug.
FeyFre wrote:PlugTextToAkelPad.js
When I use it and Templates::Main in running, it opens templates selection dialog, which is redundant it this case I think. Script should prevent it.
As always, you're right.
Soon I will correct this.
And I think, that such behavior occurs in several other scripts.
PlugToolBarAkelFont.js
When I run it by hotkey is as stated sets font, but it also sets focus to AkelPad main window. I think it should return focus back. However, I'm not sure it is bug of script. Possible it is APs/Scritps bug.
It's probably a bug in Scripts plugin.
If you replace
AkelPad.Command(4332);
with
oSys.Call("user32::SetFocus", hCtrlWnd);
it also does not work properly.
Был ли уже такой скрипт, который формирует строки заданной ширины (в символах), заполняя промежутки между словами дополнительными пробелами? Т.е. результатом его работы будет что-то вроде
maddogmax wrote:Ребят, такой вопрос. Есть ли плагин (скрипт) под akelpad для валидации php?
Есть такой вариант:
1. Скачиваем PHPLint.
2. Распаковываем в папку "[AkelPad]\AkelFiles\Tools".
3. Переименовываем папку "[AkelPad]\AkelFiles\Tools\phplint-windows-1.1_20120402" в "[AkelPad]\AkelFiles\Tools\phplint".
4. Создаем вызов в ToolBar или ContextMenu или HotKeys плагине: