Page 25 of 96

Posted: Sun Mar 18, 2012 2:21 pm
by Instructor
Infocatcher wrote:tileTabs.js
Когда приходит AKDN_FRAME_ACTIVATE, lParam уже содержит указатель на данные текущей вкладки. Т.е.:

Code: Select all

   if(uMsg != 0x416 /*AKDN_FRAME_ACTIVATE*/)
      return;
   var lpFrame2 = lParam;

Posted: Sun Mar 18, 2012 2:58 pm
by Infocatcher
Instructor wrote:Когда приходит AKDN_FRAME_ACTIVATE, lParam уже содержит указатель на данные текущей вкладки.
О, круто.

tileTabs.js
Removed nested AKD_FRAMEFIND sending.
Fixed hidden status bar handling.

Posted: Tue Mar 20, 2012 10:46 am
by DV
Обновление RunMe.js. Теперь скрипт дожидается фактического старта процесса, запущенного AkelPad.Call("Log::Output", 1, cmd, dir).

Posted: Thu Mar 22, 2012 6:46 am
by Fr0sT
KDJ
Regarding PluginText.js

Code: Select all

      if (AkelPad.MemRead(lParam + 12, DT_WORD) == 0x70 /*VK_F1*/) 
       { 
         if ((! Ctrl()) && (! Shift()) && (! Alt())) 
           EditText(); 
       } 
       else if (AkelPad.MemRead(lParam + 12, DT_WORD) == 0x71 /*VK_F2*/) 
       { 
         if ((! Ctrl()) && (! Shift()) && (! Alt())) 
           EditText(1); 
       }
...
Why don't you use switch statement?

Code: Select all

switch (AkelPad.MemRead(lParam + 12, DT_WORD))
{
  case 0x70 /*VK_F1*/ : ...; break;
  case 0x71 /*VK_F2*/ : ...; break;
}

Posted: Thu Mar 22, 2012 7:36 pm
by KDJ
Fr0sT wrote:Why don't you use switch statement?
Good question.
I don't know why. Probably I copied from another script and I didn't give some thought to it.
Code with "switch" statement looks better but the effect is the same.
Thank you very much behind the observation.
I corrected: PluginText.js

Posted: Mon Mar 26, 2012 7:51 pm
by KDJ
PluginText.js
Added:
- script working, if AkelPad settings are stored in the registry,
- Shift+F8 (Shift+Del) - remove text file from the disk,
- Ctrl+A - select all items on the list.
Changed:
- F8 (Del) - move text file to the Recycle Bin.
Fixed minor bugs.

Posted: Fri Mar 30, 2012 8:09 pm
by se7h
Обновил скрипты для форматирования

Следует признать, что после расширения возможностей Log'а они утратили свою значимость

Posted: Sat Mar 31, 2012 5:13 pm
by KDJ
PluginText.js

If AkelPad settings are stored in the registry,
added:
- open plugin settings in registry editor (F3),
- backup registry key in file (PluginName.reg.bak).

Posted: Sat Mar 31, 2012 6:03 pm
by KDJ
VladSh
RegJump.js wrote:// [HKLM\SYSTEM\CurrentControlSet\Control] [] обрезаются
Да, обрезаются, but don't replace "HKLM" with "HKEY_LOCAL_MACHINE".

Posted: Sun Apr 01, 2012 5:40 pm
by VladSh
KDJ
I could not reproduce. Even in this case it works.

Posted: Sun Apr 01, 2012 8:22 pm
by KDJ
VladSh

Code: Select all

//      [HKLM\SYSTEM\CurrentControlSet\Control]   [] обрезаются
If you select text:
[HKLM\SYSTEM\CurrentControlSet\Control]
"HKLM" not be replaced with "HKEY_LOCAL_MACHINE".

Posted: Mon Apr 02, 2012 9:20 am
by VladSh
KDJ
The key phrase "If you select text" :)
Thank you! This bug in RegJump.js fixed.

Posted: Mon Apr 02, 2012 5:09 pm
by Andrey_A_A
se7h wrote:Обновил скрипты для форматирования

Следует признать, что после расширения возможностей Log'а они утратили свою значимость
Хотелось бы разобраться...
Может у них и была бы возможность второго рождения, если дать комментарий ещё и на русском. Почему только на английском, я понимаю авторов, которые только на английском...

К примеру у FeyFre есть и на рус и на англ
viewtopic.php?p=8084&sid=f7a8ae3a4292fc ... 025ad#p8084

- Я так и не смог найти где скачать tidy.exe

Posted: Mon Apr 02, 2012 5:32 pm
by KDJ
VladSh
You'll need still to improve something.
Now, if you select:
[HKLM\SYSTEM\CurrentControlSet\Control]
it works.
If select:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
or
HKLM\SYSTEM\CurrentControlSet\Control
does not work.

Posted: Mon Apr 02, 2012 8:06 pm
by se7h
Andrey_A_A
прямая ссылка на последнюю версию HTMLTidy

появится свободная минута - напишу русскую версию :wink: