Page 62 of 96
Divide Multi_SR.js into 2 jscript files
Posted: Sat Dec 15, 2012 7:09 am
by cnnnc
Divide Multi_SR.js into SearchReplace_cml.js and SearchReplace_multi.js.
SearchReplace_cml.js - CommandLine of SearchReplace with Argument(s).
SearchReplace_multi.js - Multi SearchReplace using regular expressions. Need
ShowMenuEx.js
Update
NumberCount.js
add: Lazy Mode.
add: Hexadecimal num.
add: menu for input $1, \N, \H, \t, \r, \n and \\. (need ShowMenu.js)
fix some bugs.
Posted: Sat Dec 15, 2012 1:33 pm
by KDJ
cnnnc
NumberCount.js, run time error:
Script: ...\AkelPad\AkelFiles\Plugs\Scripts\NumberCount.js
Line: 782
Probably pText argument is type of number.
SearchReplace_multi.js, run time error:
Script: ...\AkelPad\AkelFiles\Plugs\Scripts\Include\ShowMenuEx.js
Line: 189
Error: Brak definicji "hWndEdit" (not defined)
Posted: Sat Dec 15, 2012 3:20 pm
by San_dr
KDJ
А Вы будете добавлять в свой мегаплагин
ScreenView.js новую возможность
AkelPad: - отображать определенные ряды кнопок в ToolBar c многорядным набором кнопок, разделенных
BREAK ?
Очень хотелось бы эту настройку задействовать, чтобы иметь один ToolBar.dll и ToolBar.ini (а сейчас у меня их пять)
-----------------
об этом смотрите в описании плагина ToolBar
-----------------
И ещё - нельзя ли параметр FullScreen применять индивидуально к каждому создаваемому View name? (Я применяю увеличенный ряд кнопок, специально для полностью развернутого окна, и применение этого набора обязательно требует FullScreen, причём это может быть как с MenuMain, так и без)
Posted: Sun Dec 16, 2012 7:06 pm
by KDJ
San_dr
Test version:
ScreenView_test.js
FullScreen parameter is intentionally separated.
In this way, one view "MyView" can be obtained on a full screen or on a normal screen:
Call("Scripts::Main", 1, "ScreenView.js", '-View="MyView" -FullScreen=1')
Call("Scripts::Main", 1, "ScreenView.js", '-View="MyView" -FullScreen=0')
Posted: Mon Dec 17, 2012 1:17 am
by cnnnc
Thank you,
KDJ!
SearchReplace_multi.js
fix: Change variable "hWndEditCur" to "hWndEdit".
NumberCount.js
fix: CmdLine mode.
fix: First launch of GUI mode.
Posted: Mon Dec 17, 2012 8:59 am
by San_dr
KDJ wrote:San_dr
Test version
To super!
Works well. Especially attracts that kind of window is independent of the previous state. My work settles completely. Seen a flaw-after pressing the button to call the plugin (SpecialChar, Log, Lineboard, CodeFold, Clipboard) caused by the plugin window freezes and resets only the Windows Task Manager.
Then some want-if possible-be able to specify a particular "View name" Rows-position Top/Bottom (top or bottom AkelPad)
Спасибо!
=================added later:
Error in (x64) system & (x64)Akelpad
Call("Scripts::Main", 1, "ScreenView.js") =>

Posted: Mon Dec 17, 2012 7:07 pm
by KDJ
San_dr
For now, all my scripts are 32 bit.
Posted: Mon Dec 17, 2012 7:38 pm
by San_dr
KDJ wrote:
For now, all my scripts are 32 bit.
Oh, I have misled the fact that most of them work on 64-bit

=====================
Поработал еще с этим скриптом - я смогу его использовать и в х64 Акеле, - все задачи он выполняет. Не работает только само окно "dialog box with settings", но если создать ScreenView.ini файл в х86 версии Акеля и перетащить его в х64, то все ряды кнопок вызываются и всё ОК!
Posted: Mon Dec 17, 2012 8:48 pm
by KDJ
ScreenView.js
Added: Rows parameter for ToolBar plugin.
San_dr
You should not use 32-bit scripts in 64-bit AkelPad. The effects may be unpredictable.
First release of InsertNum.js
Posted: Tue Dec 18, 2012 2:04 am
by cnnnc
InsertNum.js, insert a sequence of numbers. Need
Inputbox_function.js.
The numbers can be in Dec or Hex, and they can be set by a fixed width and pad, prefix and subfix string.
Posted: Tue Dec 18, 2012 2:14 pm
by VladSh
По причине того, что в файлах параметров знак "=" может быть составным содержимым, в функции getSelectedMenuItem скрипта
ShowMenuEx.js изменился принцип задания 2-го параметра. Теперь туда передаётся разделитель (например "=" для обычного "ini") либо "".
В связи с этим изменились:
ExecuteScriptMenu.js,
ConsoleExec.js,
ConsoleRun.js и
XMLGetAttrValues.js.
---
Due to the fact that in the parameter files "=" can be part of the contents, in function getSelectedMenuItem changed rules of the task of the 2nd parameter. Now there passed separator (for example "=" for ordinary "ini") or "".
Therefore, change the above scripts.
Posted: Tue Dec 18, 2012 2:26 pm
by VladSh
Infocatcher
По "Конвертеру величин". Отсутствуют "Мегабит", наверное это "Магобит".
И ещё, как Вы смотрите на то, чтобы краткие наименования в скобках писать на английском? А то они в основном на английском пишутся.
Posted: Tue Dec 18, 2012 3:18 pm
by Infocatcher
VladSh wrote:Отсутствуют "Мегабит", наверное это "Магобит".
Упс.

Да, это
был он.
VladSh wrote:краткие наименования в скобках писать на английском?
Вообще все?
Вот так:
Электронвольт (Эв, eV)
?
В принципе, не помешает...
Posted: Tue Dec 18, 2012 7:07 pm
by VladSh
Infocatcher
Думал только на английском, но и так потянет

Posted: Tue Dec 18, 2012 7:26 pm
by Lenchik
Infocatcher
Только лишний раз проверить по той же википедии, потому что, например, электронвольты сокращаются
эВ (В большая).