Page 7 of 9

Posted: Mon Sep 30, 2013 2:09 pm
by yjs14
Instructor

about Command line parameters

Use a different INI file AkelPad.ini for Akelpad, like TC:
totalcmd.exe [/i=name.ini] [/f=ftpname.ini]

Posted: Wed Oct 02, 2013 7:51 pm
by KDJ
yjs14
You can do it yourself, using .cmd file.
Example:

Code: Select all

::Runs AkelPad with different .ini files
::
::Usage:
::AkelPadIni.cmd iniId editFile
::  iniId - ini flie identifier:
::    0 - standard AkelPad.ini
::    1 - AkelPad1.ini
::    _myini - AkelPad_myini.ini
::
::To hide console window can use nircmd: http://www.nirsoft.net/utils/nircmd.html
::
::Examples:
::nircmd.exe execmd "%ProgramFiles%\AkelPad\AkelPadIni.cmd" 0 E:\Txt\abc.txt
::nircmd.exe execmd E:\Program\TXT\AkelPad\AkelPadIni.cmd 1 E:\Txt\abc.txt

::AkelPad directory, eg:
::set AkelDir=%ProgramFiles%\AkelPad\
set AkelDir=E:\Program\TXT\AkelPad\

set AkelPadExe="%AkelDir%AkelPad.exe"
set AkelPadIni="%AkelDir%AkelPad.ini"
set AkelIniPar="%AkelDir%AkelPad%1.ini"
set AkelIniTmp="%AkelDir%AkelPad.ini.tmp"

if [%1]==[] (
  %AkelPadExe% %2
  goto:eof
)

if [%1]==[0] (
  %AkelPadExe% %2
  goto:eof
)

if not exist %AkelIniPar% (
  %AkelPadExe% %2
  goto:eof
)

if exist %AkelIniTmp% (
  %AkelPadExe% %2
  goto:eof
)

copy %AkelPadIni% %AkelIniTmp%
copy %AkelIniPar% %AkelPadIni%

%AkelPadExe% %2

copy %AkelPadIni% %AkelIniPar%
copy %AkelIniTmp% %AkelPadIni%
del %AkelIniTmp%

Posted: Sat Oct 05, 2013 9:58 am
by yjs14
KDJ

so...painful :roll:

Posted: Tue Nov 19, 2013 9:35 am
by yjs14
add some shortcut key for Find dialog.
like: "Match case" "Regular expressions"...

Posted: Tue Nov 19, 2013 1:41 pm
by opk44
yjs14 wrote:add some shortcut key for Find dialog.
like: "Match case" "Regular expressions"...
You can do it yourself, using Macros plugin.
In short, you can record macro that call "Find" dialog and check/uncheck all necessary options. After then assign shortcut key to recorded macro.

Code: Select all

For Match case only: {Ctrl+F}{TAB}{+}{TAB}{-}{TAB}{-}{TAB}{-}
For Whole word only: {Ctrl+F}{TAB}{-}{TAB}{+}{TAB}{-}{TAB}{-}
For Reg. expr. only: {Ctrl+F}{TAB}{-}{TAB}{-}{TAB}{+}{TAB}{-}
For Esc-sequen only: {Ctrl+F}{TAB}{-}{TAB}{-}{TAB}{-}{TAB}{+}
More details please look here: AkelPad Plugins Manual. It is outdated, but still very useful.

Posted: Tue Nov 19, 2013 2:22 pm
by Instructor
yjs14 wrote:add some shortcut key for Find dialog.
like: "Match case" "Regular expressions"...
Added: accelerators to find/replace dialog. Will be available after 4.8.6 release.

Posted: Tue Nov 19, 2013 11:54 pm
by yjs14
opk44 wrote:
yjs14 wrote:add some shortcut key for Find dialog.
like: "Match case" "Regular expressions"...
You can do it yourself, using Macros plugin.
In short, you can record macro that call "Find" dialog and check/uncheck all necessary options. After then assign shortcut key to recorded macro.

Code: Select all

For Match case only: {Ctrl+F}{TAB}{+}{TAB}{-}{TAB}{-}{TAB}{-}
For Whole word only: {Ctrl+F}{TAB}{-}{TAB}{+}{TAB}{-}{TAB}{-}
For Reg. expr. only: {Ctrl+F}{TAB}{-}{TAB}{-}{TAB}{+}{TAB}{-}
For Esc-sequen only: {Ctrl+F}{TAB}{-}{TAB}{-}{TAB}{-}{TAB}{+}
More details please look here: AkelPad Plugins Manual. It is outdated, but still very useful.
Good point, Thank you.

Posted: Tue Nov 19, 2013 11:56 pm
by yjs14
Instructor wrote:
yjs14 wrote:add some shortcut key for Find dialog.
like: "Match case" "Regular expressions"...
Added: accelerators to find/replace dialog. Will be available after 4.8.6 release.
Thank you in advance!
PS don't miss the Direction part. :oops:

Built-in searh / replace function

Posted: Sun Apr 06, 2014 5:03 am
by ololik
It would be great to have a built-in searh / replace function (like it works in TED Notepad, but with search history) and option to switch beetween classic and built-in search.

You can put classic and built-in search switching option into the

Options > Settings > Advanced

menu.

Thanks.

Posted: Sun Apr 06, 2014 6:30 am
by Instructor
ololik
I guess you mean docked search/replace. Docked search is currently available via QSearch plugin.

Posted: Sun Apr 06, 2014 10:53 am
by ololik
Hi again :-).
Another useful feature whitch is missing in AkelPad is a sorting (like in Notepad2).

For example we have some list in text file:

Barfuss
Bridge to Terabithia
Seven Pounds
Avatar
Men of Honor

If it were in AkelPad, we should do:
CTRL+A > Edit > Selection > Sort
and will get ABC sorted list:

Avatar
Barfuss
Bridge to Terabithia
Men of Honor
Seven Pounds

Posted: Sun Apr 06, 2014 11:24 am
by KDJ
ololik
Sorting lines is implemented by Format plugin.

Posted: Sun Apr 06, 2014 11:34 am
by ololik
Yeh, I got it! Thanks a lot.
But I wish there will be not only 2 option to call it

1. Options > Plug-ins... > Select Format::LineSortIntAsc > Press Call
2. Hot key

but also in Edit > Selection menu.


By the way, I would implement into the program core the functionality of these 2 plugins:
- Quick Search (which will turns on-off in Options > Settings > Advanced)
- Line Sorting (which calls from Edit > Selection)
I think for many users working with plugins is too difficult.

Posted: Sun Apr 06, 2014 11:51 am
by Drugmix
ololik
all the menus are configurable. You may add a menuitem to "Edit" menu that would call Format::LineSortIntAsc.
You should read the manual for "context menu" plugin.

Posted: Tue May 13, 2014 8:05 pm
by ZoNi
Is it possible to add option (or plugin) to save text as picture?

It would be nice to have option to choose extension (jpg, png, bmp...), font size, color of text and background...