| - don't use MS Notepad compatibility mode when parse command line parameters. | |
| - print next file and close it. | |
| - silently create new file, if doesn't exist. | |
| - don't create new file, if doesn't exist. | |
| - ask for new file creation, if doesn't exist (by default). | |
| - silently open file, if binary. | |
| - don't open file, if binary. | |
| - ask for file open, if binary (by default). | |
| - silently save file, even if symbols will be lost in specified encoding. | |
| - don't save file, if symbols will be lost in specified encoding. | |
| - ask for file save, if symbols will be lost in specified encoding (by default). | |
| - ignore next command line parameter. | |
| - reinstall assigned earlier associations of file types. | |
| - uninstall assigned earlier associations of file types. | |
| - stop parsing command line parameters and close program. | |
| - stop parsing command line parameters. |
|
Methods:
"file"
File to open.
OpenCodepage
Open codepage. If -1 or not specified, it will be autodetected.
OpenBOM
File byte order mark. If -1 or not specified, it will be autodetected.
/OpenFile("C:\File.txt", 65001, -1)
method opens file in UTF-8 codepage.
"file"
Save current document to a specified file name.
SaveCodepage
Save codepage. If -1 or not specified, current codepage will be used.
SaveBOM
File byte order mark. 1 - exist, 0 - doesn't exist, -1 or not specified - current BOM will be used.
/SaveFile("C:\File.txt", 65001, 0)
method saves file in UTF-8 codepage without BOM.
/Command(4162)
method calls the internal command at number 4162.
/Call("Scripts::Main")
method calls Scripts plugin and Main function.
"command line"
Command line string.
"working directory"
Working directory string. Default is "".
Wait
Wait until the program finishes. 1 - wait, 0 - return immediately.
/Exec("notepad.exe")
method calls notepad.
/Exec(`notepad.exe`)
method calls notepad.
/Exec('notepad.exe')
method calls notepad.
/Exec('%windir%\notepad.exe')
method calls notepad.
/Exec(`rundll32.exe shell32,ShellExec_RunDLL "%%f"`, "%%d")
method pass an active file for opening on Windows association.
"FaceName"
Font face, for example, "Courier". Unchanged, if "".
Style (one of the following):
0 ignored.
1 normal.
2 bold.
3 italic.
4 bold italic.
Size
Font size. Unchanged, if 0.
/Font("Courier", 4, 10)
method sets Courier bold italic font with 10 pt.
/Recode(1252, 437)
method recodes the text from 1252 codepage to 437.
"text"
Inserted text.
Esc-sequences:
0 - "text" isn't contain Esc-sequences (default).
1 - "text" contain Esc-sequences. A set of sequences similar to the find/replace dialog in the program, and also:
"\s" - replaced by the selected text of the editing window;
"\|" - set the caret position after text insertion.
/Insert("Some string")
method replaces selection with the specified text.
/Insert("<B>\s</B>", 1)
method enclose selection.
/Insert("\[0031 0032 0033]", 1)
method replaces selection with "123".
Variables in methods:
%%f - active file
%%d - directory of active file
%%a - AkelPad's directory
%%%% - symbol %
%system variable%
|
| CmdLineBegin | Specifies code to be added to the beginning of the command line before processing it.
Example: /C+ By default: "". |
||||||||||||||||||||||||||||||||||||||||||||
| CmdLineEnd | Specifies code to be added to the end of the command line before processing it.
Example: /Call("Scripts::Main", 1, "InsertDate.js", "") /C /B /L By default: "". |
||||||||||||||||||||||||||||||||||||||||||||
| ShowModify | Defines, where it will be possible to see, that the document is changed. Sets by the sum of members:
By default: 1+8=9, show all: 1+2+4+8=15. |
||||||||||||||||||||||||||||||||||||||||||||
| StatusPosType | Defines how status bar statistics will be displayed. Sets by the sum of members:
By default: 0. |
||||||||||||||||||||||||||||||||||||||||||||
| WordBreak | Defines how the caret on Ctrl+Left/Ctrl+Right will move. Works only if enabled "Word delimiters" in settings (WordDelimitersEnable=1). Sets by the sum of members:
By default: 1+2+4+8+32+64=111 (AkelEdit), 1+8=9 (AkelPad). |
||||||||||||||||||||||||||||||||||||||||||||
| MouseOptions | Defines mouse settings. Sets by the sum of members:
By default: 1+2+4=7. |
||||||||||||||||||||||||||||||||||||||||||||
| PaintOptions | Defines, some text draw settings. Sets by the sum of members:
By default: 0. |
||||||||||||||||||||||||||||||||||||||||||||
| RichEditClass | Defines edit control class name:
By default: 0. |
||||||||||||||||||||||||||||||||||||||||||||
| StatusUserFormat | Defines user status bar format:
Example: "Font:%f Tab:%t Docs: %dm*/%dc Symbol:0x%ch" By default: "" - format is not defined, additional status bar section is not displayed. |
||||||||||||||||||||||||||||||||||||||||||||
| DateInsertFormat | Defines insert date and time format.
Time:
Date:
Example: "H:mm:ss dd MMMM yyyy" -> "12:50:24 01 September 2010" By default: "" - program defined date and time format. |
||||||||||||||||||||||||||||||||||||||||||||
| DateLogFormat | Defines date and time format for files containing ".LOG" at the beginning. Works only if enabled "Insert date if file has .LOG at the beginning" in settings (DateLog=1). See DateInsertFormat for syntax description.
By default: "" - program defined date and time format. |
| Ctrl+X Shift+Del |
cut |
| Ctrl+C Ctrl+Ins |
copy |
| Ctrl+V Shift+Ins |
paste |
| Ctrl+Shift+V Ctrl+Shift+Ins |
paste text as ANSI |
| Alt+V | paste to column selection |
| Ctrl+A | select all |
| Backspace | delete from left |
| Del | delete from right |
| Ctrl+Z | undo |
| Ctrl+Shift+Z | redo |
| Home | go to start of line |
| End | go to end of line |
| Ctrl+Home | go to start of text |
| Ctrl+End | go to end of text |
| Ctrl+Left | go to start of word |
| Ctrl+Right | go to end of word |
| Ctrl+Up | go to start of previous line |
| Ctrl+Down | go to start of next line |
| Ctrl+PageUp | go to first visible character |
| Ctrl+PageDown | go to last visible character |
| Ctrl+Backspace | delete left word |
| Ctrl+Del | delete right word |
| Ctrl+N | create new file |
| Ctrl+Shift+N | create new window |
| Ctrl+O | open file |
| F5 Ctrl+Shift+O |
reopen file |
| F2 Ctrl+S |
save |
| Shift+F2 Ctrl+Shift+S |
save as |
| Ctrl+Alt+F2 | save all |
| Ctrl+Alt+F4 | close all |
| Ctrl+P | |
| Esc Alt+F4 |
exit |
| Ctrl+F | find |
| F3 | find next down. Search/replace dialog: close dialog and find next down. |
| Shift+F3 | find next up. Search/replace dialog: close dialog and find next up. |
| Ctrl+R Ctrl+H |
find and replace |
| Ctrl+G | go to line (by number) |
| Ctrl+I | run "Character map" |
| Ctrl+D | insert date |
| Ctrl+T | on/off "Always on top" |
| Ctrl+U | on/off "Word wrap" |
| Alt+W | reopen file as ANSI (Windows) |
| Alt+D | reopen file as OEM (DOS) |
| Alt+K | reopen file as KOI8-R |
| Alt+L | reopen file as UTF-16LE |
| Alt+B | reopen file as UTF-16BE |
| Alt+U | reopen file as UTF-8 |
| Shift+Alt+W | save file as ANSI (Windows) |
| Shift+Alt+D | save file as OEM (DOS) |
| Shift+Alt+K | save file as KOI8-R |
| Shift+Alt+L | save file as UTF-16LE |
| Shift+Alt+B | save file as UTF-16BE |
| Shift+Alt+U | save file as UTF-8 |
| Alt+F5 | reopen file with code page detect |
| F12 | show context menu for fast reopenning/saving in wanted code page |
| Alt+R | recode text |
| Shift+Backspace | delete first char |
| Alt+Backspace | trim trailing whitespaces |
| Alt+P | plugins |
| Ctrl+F5 | execute command |
| Ctrl+L | on/off "Keep left spaces" |
| Ctrl+Enter | new line with keeping left spaces |
| F4 Alt+Enter |
maximize/restore window |
| F8 Ctrl+Y |
delete current line |
| Ctrl+Num + | increase font by 1 pt |
| Ctrl+Num - | decrease font by 1 pt |
| Ctrl+5 | change case in loop |
| Ctrl+6 | selected text, as "UPPERCASE" |
| Ctrl+7 | selected text, as "lowercase" |
| Ctrl+8 | selected text, as "Sentence case." |
| Ctrl+9 | selected text, as "Title Case" |
| Ctrl+0 | selected text, as "iNVERT cASE" |
| F6 | go to next dialog |
| Shift+F6 | go to previous dialog |
| F9 | activate next pane (split window) |
| Shift+F9 | activate previous pane (split window) |
| F10 | select window dialog (MDI/PMDI) |
| Ctrl+Tab Ctrl+F6 |
next window (MDI/PMDI) |
| Ctrl+Shift+Tab Ctrl+Shift+F6 |
previous window (MDI/PMDI) |
| Ctrl+F4 Ctrl+W |
close window (MDI/PMDI) |
| 4101 | Create new edit window |
| 4102 | Create new instance of program |
| 4103 | Open file dialog |
| 4104 | Reopen file |
| 4105 | Save file |
| 4106 | Save file dialog |
| 4107 | Print setup dialog |
| 4108 | Print dialog |
| 4109 | Exit program |
| 4110 | Save all documents |
| 4111 | Save all as dialog |
| 4113 | Print without dialog |
| 4114 | Print preview dialog |
| 4121 | Redetect code page of the current file |
| 4122 | Reopen file as ANSI |
| 4123 | Reopen file as OEM |
| 4124 | Reopen file as KOI-R |
| 4125 | Reopen file as UTF16LE |
| 4126 | Reopen file as UTF16BE |
| 4127 | Reopen file as UTF8 |
| 4131 | Save file as ANSI |
| 4132 | Save file as OEM |
| 4133 | Save file as KOI-R |
| 4134 | Save file as UTF16LE |
| 4135 | Save file as UTF16BE |
| 4136 | Save file as UTF8 |
| 4137 | Save file as UTF8 without BOM |
| 4140 | Show codepages context menu |
| 4151 | Undo last operation |
| 4152 | Redo last operation |
| 4153 | Cut |
| 4154 | Copy |
| 4155 | Paste |
| 4156 | Delete |
| 4157 | Select all |
| 4158 | Find dialog |
| 4159 | Find last string down |
| 4160 | Find last string up |
| 4161 | Replace dialog |
| 4162 | Go to line dialog |
| 4163 | Run charmap.exe |
| 4164 | Insert tabulation |
| 4165 | Insert tabulation only if several lines selected |
| 4166 | Delete tabulation |
| 4167 | Delete tabulation only if several lines selected |
| 4168 | Insert space |
| 4169 | Insert space only if several lines selected |
| 4170 | Delete space |
| 4171 | Delete space only if several lines selected |
| 4172 | Delete first char |
| 4173 | Delete first char only if selection not empty |
| 4174 | Delete trailing whitespaces |
| 4175 | Convert text to "UPPERCASE" |
| 4176 | Convert text to "lowercase" |
| 4177 | Convert text to "Sentence case." |
| 4178 | Convert text to "Title Case" |
| 4179 | Convert text to "iNVERT cASE" |
| 4180 | Cycle case |
| 4182 | Recode dialog |
| 4183 | Insert date |
| 4184 | Windows new line format |
| 4185 | Unix new line format |
| 4186 | Mac new line format |
| 4190 | Insert/Overtype mode |
| 4191 | Paste as ANSI text |
| 4192 | Paste to column selection |
| 4193 | Paste text after caret |
| 4196 | Insert new line with keeping left spaces |
| 4197 | Delete current line |
| 4201 | Font dialog |
| 4202 | Color theme dialog |
| 4204 | Increase font 1pt |
| 4205 | Decrease font 1pt |
| 4206 | Restore font size |
| 4209 | Word wrap (on\off) |
| 4210 | Always on top (on\off) |
| 4211 | Show statusbar (on\off) |
| 4212 | Split window into four panes |
| 4213 | Split window into two vertical panes |
| 4214 | Split window into two horizontal panes |
| 4216 | Read only (on\off) |
| 4251 | Execute command |
| 4252 | Save file time (on\off) |
| 4253 | Watch file change (on\off) |
| 4254 | Keep space (on\off) |
| 4255 | Single open file (on\off) |
| 4256 | Single open program (on\off) |
| 4259 | Plugins dialog |
| 4260 | Options dialog |
| 4261 | SDI mode |
| 4262 | MDI mode |
| 4263 | Pseudo MDI mode |
| 4301 | Tab list window at the top of the main window |
| 4302 | Tab list window at the bottom of the main window |
| 4303 | Hide tab list |
| 4304 | Standard tab list style |
| 4305 | Buttons tab list style |
| 4306 | Flat buttons tab list style |
| 4307 | MDI windows - horizontal tile |
| 4308 | MDI windows - vertical tile |
| 4309 | MDI windows - cascade |
| 4310 | Switch tabs: next-previous. |
| 4311 | Switch tabs: right-left. |
| 4316 | Activate next tab |
| 4317 | Activate previous tab |
| 4318 | Close current tab |
| 4319 | Close all tabs |
| 4320 | Close all tabs but active |
| 4321 | Close all unmodified tabs |
| 4324 | Close file |
| 4325 | Close file and exit program (SDI) or close tab of a file (MDI/PMDI). |
| 4327 | Select window dialog (MDI/PMDI). Same as 10019. |
| 4331 | Restore/Maximize main window |
| 4332 | Activate next dialog window |
| 4333 | Activate previous dialog window |
| 4341 | Activate next pane (split window) |
| 4342 | Activate previous pane (split window) |
| 4351 | About dialog |
| 4352 | Open user's manual |
| 5001 | Delete dead recent files |
| 5001 + n | Open recent file n |
| 6001 | Activate internal language |
| 6001 + n | Activate language n |
| 7001 | Reopen file in first codepage of codepage list |
| 7001 + n | Reopen file in codepage n of codepage list |
| 8001 | Save file in first codepage of codepage list |
| 8001 + n | Save file in codepage n of codepage list |
| 10019 | Select window dialog (MDI/PMDI). Same as 4327. |