*****************************************************************
***                 Scripts AkelPad plugin v4.9               ***
*****************************************************************

2010 Shengalts Aleksander aka Instructor (Shengalts@mail.ru)


*** Description ***

Scripts plugin is based on the Windows Scripting Host (WSH) engine,
so you can use various Windows Component Object Model (COM)
objects. For example, you can perform regular expression searches
using the RegExp object, manipulate files using the FileSystemObject
object, create a short-cut, manipulate the Windows Registry using
the WshShell object, or work with networking functions using the
WshNetwork object. Additionally, you can create and execute a
script that utilizes an external application that supports Automation
(such as Word and Excel). Plugin code is based on Jeff Glatt's "COM in C".


*** Included scripts ***

SearchReplace.js      -search/replace using regular expressions.
SpellCheck.js         -spell check using Microsoft Word.
LinesFilter.js        -filter lines using regular expressions.
Calculator.js         -text calculator.
InsertDate.js         -insert time and date in specified format.
InsertFile.js         -insert contents of a file.
RenameFile.js         -rename current editing file.
KeybLayoutEngRus.js   -convert keyboard layout En->Ru.
KeybLayoutRusEng.js   -convert keyboard layout Ru->En.
KeybTranslitEngRus.js -transliteration Latin->Cyrillic.
KeybTranslitRusEng.js -transliteration Cyrillic->Latin.
ColumnCounter.js      -column selection counter (4.x.x only)
Test.js               -test script on JScript.
Test.vbs              -test script on VBScript.


*** Functions ***

Scripts::Main
Main dialog.


*** Installation ***

1. Copy "Plugs\*.*" to "{AkelPad}\AkelFiles\Plugs".
2. Run "{AkelPad}\AkelFiles\Plugs\Scripts-register.bat"


*** External call ***

Call("Scripts::Main", 1, "SCRIPT", "ARGUMENTS")
  Parameters:
    1
      Execute script.
    "SCRIPT"
      Script file.
    "ARGUMENTS"
      Argumets.
  Examples:
    Call("Scripts::Main", 1, "InsertDate.js", "")
    Call("Scripts::Main", 1, "InsertDate.js", `"dd.MM.yyyy H:mm"`)

Call("Scripts::Main", 2, "SCRIPT")
  Parameters:
    2
      Open script for editing.
    "SCRIPT"
      Script file.
