u53r55 / AkelPad_scripts

Scripts for AkelPad text editor with Scripts plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scripts for AkelPad text editor with Scripts plugin.
Also see Scripts collection forum thread.
License for all scripts: BSD (like for AkelPad itself).

Scripts in alphabetical order

Helper functions for user32::SetTimer()

Adds checksum to Adblock Plus subscription

Encrypt/decrypt text using AES-256
[see crypt.js and cryptExt.js]

Align selected code with spaces to user defined string
Screenshot: alignWithSpaces.js

Automatically saves current session after selection or scroll changes

Tries find file version and copy current file to the same directory:

file.js      -> file-%version%.js
file.user.js -> file-%version%.user.js

Close tabs to the left or right (temporary check “Switch tabs: right-left” option)

Close unsaved tabs (all or only empty)

Context menu example:

"CLOSE"
{
  "Other" Command(4320)
  -"To the left" Call("Scripts::Main", 1, "closeLeftOrRightTabs.js", "-left")
  -"To the right" Call("Scripts::Main", 1, "closeLeftOrRightTabs.js")
  SEPARATOR
  -"Empty unsaved" Call("Scripts::Main", 1, "closeUnsavedTabs.js", "-onlyEmpty=true -askToSave=false -closeCurrent=true")
  -"All unsaved" Call("Scripts::Main", 1, "closeUnsavedTabs.js", "-onlyEmpty=false -askToSave=true -closeCurrent=true -stopOnCancel=false")
  SEPARATOR
  "All" Command(4319)
  "All unchanged"	Command(4321)
}

Convert color between “#fee” and “rgb(255, 238, 238)” formats

  • Encode/decode HTML entities (& <=> &amp;)
  • Convert JavaScript escape sequences like "\u00a9" or "\xa9" (“©” symbol)
  • Escape/unescape special RegExp symbols
  • Escape/unescape special strings symbols
  • Encode/decode Uniform Resource Identifiers (URIs)
  • Hexadecimal escape/unescape
  • Base64 encode/decode
  • Convert charset
    Screenshot: converter.js

Converts JavaScript escape sequences like "\u00a9" or "\xa9" (“©” symbol)
[see converter.js]

Encode/decode HTML entities (& <=> &amp;)
[see converter.js]

Copy path to file in configurable format

Encrypt/decrypt text using AES-256 or/and Blowfish
Screenshot: crypt.js
[see cryptExt.js]

Encrypt/decrypt text using AES-256/Blowfish/Twofish/Serpent
Screenshot: cryptExt.js

Decode HTML entities (&amp; => &)
[see convertHTML.js and converter.js]

Encode HTML entities (& => &amp;)
[see convertHTML.js and converter.js]

+ executeScript.vbs
Execute selected or all code

Close current tab and remove information about it from recent files

Just like full screen mode, but preserve window size and position

Calculates hash sum of text
Screenshot: getHash.js

Tries to extract links from any text

Go to longest line below or above current
Screenshot: goToLongestLine.js

Allow set extension manually for Coder plugin with basic autodetection

Insert current date

Script like built-in Calculator.js

Simplify tags insertion

JavaScript unpacker and beautifier

Convert measures (internal) and currency (used cached data from exchange-rates.org, fxexchangerate.com and bitcoincharts.com)
Screenshot: measuresConverter.js

Move or/and align AkelPad's main window

+ newFileTemplate-test.js
Create new file from template

Example for open file in other application

Tries to open file with relative path (will be used system association to open binary files).
Supports Mozilla's chrome.manifest files.

Fix some issues in Russian punctuation

Replace diacritic letters with “simple” latin characters

Restart AkelPad

Run script from AkelFiles\Plugs\Scripts\ directory with arguments
Screenshot: runScript.js

Temporary check “save file time” option and save current document

+ scriptToBookmarklet_w2k.js
Convert JavaScript code to one line bookmarklet (javascript: ...).

Switch between tabs in order of them usage (temporary check “Switch tabs: next-previous” option)

Switch between tabs in order of them arrangement (temporary check “Switch tabs: right-left” option)

Switch between tabs using alternative way (temporary check “Switch tabs: right-left” or “Switch tabs: next-previous” option)

Convert tabulation to space, modified version of TabsToSpaces.js

Provide some statistic for English and Russian texts

Tile current tab with next selected: select first tab, call script and then select second tab

Adds/removes comments

Reopen file and preserve undo/redo buffer (just replace all text, if it was changed)

Undo/redo all changes (or undo/redo to saved state)

Convert Unix time
Screenshot: unixTime.js

Compare contents of current and next selected tab using WinMerge or any other compare tool

About

Scripts for AkelPad text editor with Scripts plugin


Languages

Language:JavaScript 100.0%Language:VBScript 0.0%