SciTE Helper - ActiveX Control for SciTE |
Documentation
FAQ
Regular Expressions
Scintilla
LUA
SciTE Director
SciTE and Scintilla Commands
SciTE-Ru Kernel
Shell
|
Freeware ActiveX component for the interaction between SciTE text editor and any scripts and applications supporting COM interface.
For registration SciTE Helper on your system please run Setup.vbs
(it will execute the OS command regsvr32 SciTE.dll)
For job with SciTE Helper it is necessary to make initialization of object in your script:
For unregistration SciTE Helper on your system please run Setup.vbs
once again
(it will execute the OS command regsvr32 /U SciTE.dll)
In SciTE-Ru registration and unregistration SciTE Helper occurs automatically at a choice of item of the menu 'Tools' - 'Windows Integration'
Left() As Long [read only] Top() As Long [read only] Width() As Long [read only] Height() As Long [read only] |
Returns sizes and position of a SciTE window. Example:
WScript.Echo "position.left = " & SciTE.Left
WScript.Echo "position.top = " & SciTE.Top WScript.Echo "position.width = " & SciTE.Width WScript.Echo "position.height = " & SciTE.Height |
GetText() As String [read only] |
Get all text with active buffer SciTE. Example:
WScript.Echo SciTE.GetText
|
GetSelText() As String [read only] |
Get only selected text with active buffer SciTE. Example:
WScript.Echo SciTE.GetSelText
|
Props(ByVal Key As String) As String [read] Props(ByVal Key As String, RHS As String) [write] |
Get and set the value of a any SciTE property. Example:
SciTE.Props("my.key") = WScript.Name
WScript.Echo SciTE.Props("my.key") |
WindowID() As Long [read] WindowID(RHS As Long) [write] |
Returns WindowID SciTE from which the given script or the program has been started. Example:
SciTEWindowID = SciTE.WindowID
WScript.Echo SciTEWindowID |
Send(ByVal Data As String) As String |
Carries out sending in SciTE with the argument set sequence of commands Example:
WScript.Echo SciTE.Send("askproperty:character.set")
|
LUA(ByVal Command As String) As String |
Allows to execute in SciTE with the argument lua commands. Example:
WScript.Echo SciTE.LUA("editor.CurrentPos")
|
ReplaceSel (ByVal ReplaceText As String) |
Replace selected text with argument text. This works similarly to method of lua editor:ReplaceSel(string). Returned value is absent. Example:
SciTE.ReplaceSel "<http://scite-ru.org/>"
|
MenuCommand (ByVal IDM_Command As String) |
Run specifed SciTE menu command. Returned value is absent. Example:
SciTE.MenuCommand 902
|
Trace (ByVal Data As String) |
Writes s to the SciTE output pane (no prefix, no newlines). This works similarly to directive trace(string). Returned value is absent. Example:
SciTE.Trace "First line" & "\r\n" & "Second line" & "\r\n"
|
OnTop (ByVal WindowName As String, ByVal OnTop As Boolean) |
Establishes for a window of the application a mode "OnTop of all windows". Returned value is absent. Example:
SciTE.OnTop document.title, True
|
Focus () |
Set focus of input in SciTE window. Returned value is absent. Example:
SciTE.Focus
|
About () |
Shows the message "About". Returned value is absent. Example:
SciTE.About
|
Current version SciTE Helper: 2.0
SciTE.dll (include documentations and sample scripts)
Source code
SciTE Helper
require run-time library msvbvm60.dll
. If your system is not the library it is necessary to download yourself.
SciTE Helper
now does not catch SciTE events. Realization of such opportunity is planned.