AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scripts discussion (2)
Goto page Previous  1, 2, 3 ... 61, 62, 63 ... 94, 95, 96  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    AkelPad Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Sat Dec 15, 2012 7:09 am    Post subject: Divide Multi_SR.js into 2 jscript files Reply with quote

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
View user's profile Send private message Send e-mail
KDJ



Joined: 06 Mar 2010
Posts: 1394
Location: Poland

PostPosted: Sat Dec 15, 2012 1:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
San_dr



Joined: 06 Dec 2010
Posts: 159
Location: г.Харьков, Русь

PostPosted: Sat Dec 15, 2012 3:20 pm    Post subject: Reply with quote

KDJ
А Вы будете добавлять в свой мегаплагин ScreenView.js новую возможность AkelPad: - отображать определенные ряды кнопок в ToolBar c многорядным набором кнопок, разделенных BREAK ?
Очень хотелось бы эту настройку задействовать, чтобы иметь один ToolBar.dll и ToolBar.ini (а сейчас у меня их пять) Smile
-----------------
об этом смотрите в описании плагина ToolBar
-----------------
И ещё - нельзя ли параметр FullScreen применять индивидуально к каждому создаваемому View name? (Я применяю увеличенный ряд кнопок, специально для полностью развернутого окна, и применение этого набора обязательно требует FullScreen, причём это может быть как с MenuMain, так и без)
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1394
Location: Poland

PostPosted: Sun Dec 16, 2012 7:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Mon Dec 17, 2012 1:17 am    Post subject: Reply with quote

Embarassed
Thank you, KDJ! Very Happy

SearchReplace_multi.js
fix: Change variable "hWndEditCur" to "hWndEdit".

NumberCount.js
fix: CmdLine mode.
fix: First launch of GUI mode.
Back to top
View user's profile Send private message Send e-mail
San_dr



Joined: 06 Dec 2010
Posts: 159
Location: г.Харьков, Русь

PostPosted: Mon Dec 17, 2012 8:59 am    Post subject: Reply with quote

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
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1394
Location: Poland

PostPosted: Mon Dec 17, 2012 7:07 pm    Post subject: Reply with quote

San_dr
For now, all my scripts are 32 bit.
Back to top
View user's profile Send private message
San_dr



Joined: 06 Dec 2010
Posts: 159
Location: г.Харьков, Русь

PostPosted: Mon Dec 17, 2012 7:38 pm    Post subject: Reply with quote

KDJ wrote:

For now, all my scripts are 32 bit.

Oh, I have misled the fact that most of them work on 64-bit Smile
=====================
Поработал еще с этим скриптом - я смогу его использовать и в х64 Акеле, - все задачи он выполняет. Не работает только само окно "dialog box with settings", но если создать ScreenView.ini файл в х86 версии Акеля и перетащить его в х64, то все ряды кнопок вызываются и всё ОК!
Back to top
View user's profile Send private message
KDJ



Joined: 06 Mar 2010
Posts: 1394
Location: Poland

PostPosted: Mon Dec 17, 2012 8:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
cnnnc



Joined: 12 Jan 2008
Posts: 116
Location: Shantou, China

PostPosted: Tue Dec 18, 2012 2:04 am    Post subject: First release of InsertNum.js Reply with quote

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
View user's profile Send private message Send e-mail
VladSh



Joined: 29 Nov 2006
Posts: 2614
Location: Киев, Русь

PostPosted: Tue Dec 18, 2012 2:14 pm    Post subject: Reply with quote

По причине того, что в файлах параметров знак "=" может быть составным содержимым, в функции 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
View user's profile Send private message Visit poster's website
VladSh



Joined: 29 Nov 2006
Posts: 2614
Location: Киев, Русь

PostPosted: Tue Dec 18, 2012 2:26 pm    Post subject: Reply with quote

Infocatcher
По "Конвертеру величин". Отсутствуют "Мегабит", наверное это "Магобит".
И ещё, как Вы смотрите на то, чтобы краткие наименования в скобках писать на английском? А то они в основном на английском пишутся.
Back to top
View user's profile Send private message Visit poster's website
Infocatcher



Joined: 06 Aug 2007
Posts: 1629

PostPosted: Tue Dec 18, 2012 3:18 pm    Post subject: Reply with quote

VladSh wrote:
Отсутствуют "Мегабит", наверное это "Магобит".

Упс. Smile
Да, это был он.

VladSh wrote:
краткие наименования в скобках писать на английском?

Вообще все?
Вот так:
Электронвольт (Эв, eV)
?

В принципе, не помешает...
Back to top
View user's profile Send private message Visit poster's website
VladSh



Joined: 29 Nov 2006
Posts: 2614
Location: Киев, Русь

PostPosted: Tue Dec 18, 2012 7:07 pm    Post subject: Reply with quote

Infocatcher
Думал только на английском, но и так потянет Smile
Back to top
View user's profile Send private message Visit poster's website
Lenchik



Joined: 10 Jan 2011
Posts: 271

PostPosted: Tue Dec 18, 2012 7:26 pm    Post subject: Reply with quote

Infocatcher
Только лишний раз проверить по той же википедии, потому что, например, электронвольты сокращаются эВ (В большая).
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    AkelPad Forum Index -> Plugins All times are GMT
Goto page Previous  1, 2, 3 ... 61, 62, 63 ... 94, 95, 96  Next
Page 62 of 96

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group