Scripts discussion (2)
- Author
- Message
-
Offline
- Posts: 60
- Joined: Tue Aug 21, 2012 11:17 am
- Location: UK
Thanks, KDJ and Instructor. Funnily enough, I found the AKD_GOTO* messages first thing this morning;-) even before looking into the forum. And of course the next thing I saw is that Scripts-Eng.txt does contain a full example of what I want to do.
I am quite happy with AP. In comparison to UltraEdit, it can now do most of what I could do there and AP is much, much easier to enhance (not least because the full sources are available).
However, the thing I like most about AP is its blazing speed: opening ~40 .H files is about 10 times (!) faster than with UE. Replacing strings in big files is another area where I see amazing speed differences.
Great editor and great forum!
TM
I am quite happy with AP. In comparison to UltraEdit, it can now do most of what I could do there and AP is much, much easier to enhance (not least because the full sources are available).
However, the thing I like most about AP is its blazing speed: opening ~40 .H files is about 10 times (!) faster than with UE. Replacing strings in big files is another area where I see amazing speed differences.
Great editor and great forum!
TM
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
В скрипте указано:Andrey_A_A wrote:По поводу скрипта DrawLine.js
Хороший скрипт, можно ещё вставить в него горячую клавишу по выходу из него.
Т.е. нажал - нарисовал - нажал гор. клавишу выхода
Это значит, что повторный вызов остановит выполнение скрипта. Т.е. назначаем сочетание в Hotkeys плагине на вызов скрипта.Second script call will turn off drawing.
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
RegExpTestJS.js
Added Chinese-Simplified translation.
Translator.js
Updated Chinese-Simplified translation.
Added Chinese-Simplified translation.
Translator.js
Updated Chinese-Simplified translation.
-
Offline
- Posts: 670
- Joined: Thu Jun 03, 2010 8:47 am
- Location: Сочи, Хоста
- Contact:
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
Andrey_A_A
You can also use AKD_FRAMESTATS.
You can also use AKD_FRAMESTATS.
Code: Select all
var hMainWnd=AkelPad.GetMainWnd();
var nCurTab=AkelPad.SendMessage(hMainWnd, 1291 /*AKD_FRAMESTATS*/, 3 /*FWS_CURSEL*/, 0);
var nTabs=AkelPad.SendMessage(hMainWnd, 1291 /*AKD_FRAMESTATS*/, 0 /*FWS_COUNTALL*/, 0);
WScript.Echo("CurTab: " + nCurTab + "\r\n" + "Tabs: " + nTabs);
-
Offline
- Posts: 3217
- Joined: Wed Nov 29, 2006 1:19 pm
- Location: Киев, Русь
- Contact:
Использую скрипт ShiftVerticaly.js именно с параметрами с помощью Hotkeys-плагина, вылетов или неправильной работы добиться не удалось.Denis268 wrote:При использовании скриптов - ShiftVerticaly.js с параметрами для смещения через Hotkey плагин AkelPad вылетает с ошибкой.
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
Reproduced.KDJ wrote:In fact, this happens if you hold down the shortcut key for a long time.
Denis268
Scripts v11.9
-
Offline
- Posts: 2247
- Joined: Tue Aug 07, 2007 2:03 pm
- Location: Vinnitsa, Ukraine
Instructor, просьба усовершенствовать скрипт DuplicateLines.js, а именно: если линий не выделенно, то дублировать текущую линию.
(Конечно хотелось такую функцию встроенной, ибо от DosNavigator-а ещё не скоро привычки отойдут)
(Конечно хотелось такую функцию встроенной, ибо от DosNavigator-а ещё не скоро привычки отойдут)