| View previous topic :: View next topic |
| Author |
Message |
cnnnc
Joined: 12 Jan 2008 Posts: 115 Location: Shantou, China
|
Posted: Sat Dec 15, 2012 7:09 am Post subject: Divide Multi_SR.js into 2 jscript files |
|
|
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. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Sat Dec 15, 2012 1:33 pm Post subject: |
|
|
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) |
|
| Back to top |
|
 |
San_dr
Joined: 06 Dec 2010 Posts: 109 Location: г.Харьков, Русь
|
Posted: Sat Dec 15, 2012 3:20 pm Post subject: |
|
|
KDJ
А Вы будете добавлять в свой мегаплагин ScreenView.js новую возможность AkelPad: - отображать определенные ряды кнопок в ToolBar c многорядным набором кнопок, разделенных BREAK ?
Очень хотелось бы эту настройку задействовать, чтобы иметь один ToolBar.dll и ToolBar.ini (а сейчас у меня их пять)
-----------------
об этом смотрите в описании плагина ToolBar
-----------------
И ещё - нельзя ли параметр FullScreen применять индивидуально к каждому создаваемому View name? (Я применяю увеличенный ряд кнопок, специально для полностью развернутого окна, и применение этого набора обязательно требует FullScreen, причём это может быть как с MenuMain, так и без) |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Sun Dec 16, 2012 7:06 pm Post subject: |
|
|
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') |
|
| Back to top |
|
 |
cnnnc
Joined: 12 Jan 2008 Posts: 115 Location: Shantou, China
|
Posted: Mon Dec 17, 2012 1:17 am Post subject: |
|
|
Thank you, KDJ!
SearchReplace_multi.js
fix: Change variable "hWndEditCur" to "hWndEdit".
NumberCount.js
fix: CmdLine mode.
fix: First launch of GUI mode. |
|
| Back to top |
|
 |
San_dr
Joined: 06 Dec 2010 Posts: 109 Location: г.Харьков, Русь
|
Posted: Mon Dec 17, 2012 8:59 am Post subject: |
|
|
| 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") =>  |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Mon Dec 17, 2012 7:07 pm Post subject: |
|
|
San_dr
For now, all my scripts are 32 bit. |
|
| Back to top |
|
 |
San_dr
Joined: 06 Dec 2010 Posts: 109 Location: г.Харьков, Русь
|
Posted: Mon Dec 17, 2012 7:38 pm Post subject: |
|
|
| 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, то все ряды кнопок вызываются и всё ОК! |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Mon Dec 17, 2012 8:48 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
cnnnc
Joined: 12 Jan 2008 Posts: 115 Location: Shantou, China
|
Posted: Tue Dec 18, 2012 2:04 am Post subject: First release of InsertNum.js |
|
|
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. |
|
| Back to top |
|
 |
VladSh
Joined: 29 Nov 2006 Posts: 2509 Location: Киев, Русь
|
Posted: Tue Dec 18, 2012 2:14 pm Post subject: |
|
|
По причине того, что в файлах параметров знак "=" может быть составным содержимым, в функции 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. |
|
| Back to top |
|
 |
VladSh
Joined: 29 Nov 2006 Posts: 2509 Location: Киев, Русь
|
Posted: Tue Dec 18, 2012 2:26 pm Post subject: |
|
|
Infocatcher
По "Конвертеру величин". Отсутствуют "Мегабит", наверное это "Магобит".
И ещё, как Вы смотрите на то, чтобы краткие наименования в скобках писать на английском? А то они в основном на английском пишутся. |
|
| Back to top |
|
 |
Infocatcher
Joined: 06 Aug 2007 Posts: 1431
|
Posted: Tue Dec 18, 2012 3:18 pm Post subject: |
|
|
| VladSh wrote: | | Отсутствуют "Мегабит", наверное это "Магобит". |
Упс.
Да, это был он.
| VladSh wrote: | | краткие наименования в скобках писать на английском? |
Вообще все?
Вот так:
Электронвольт (Эв, eV)
?
В принципе, не помешает... |
|
| Back to top |
|
 |
VladSh
Joined: 29 Nov 2006 Posts: 2509 Location: Киев, Русь
|
Posted: Tue Dec 18, 2012 7:07 pm Post subject: |
|
|
Infocatcher
Думал только на английском, но и так потянет  |
|
| Back to top |
|
 |
Lenchik
Joined: 10 Jan 2011 Posts: 151
|
Posted: Tue Dec 18, 2012 7:26 pm Post subject: |
|
|
Infocatcher
Только лишний раз проверить по той же википедии, потому что, например, электронвольты сокращаются эВ (В большая). |
|
| Back to top |
|
 |
|