sakura/en/About Macro

Last-modified: 2008-03-22 (土) 09:31:34

About Macro

It comes to be able to use some functions not recorded by key macro by describing the macro file directly besides this though the user's operation can be recorded by key macro as a macro.

[hatena] Hint: It came to be able to use PPA.DLL to execute the macro. (sakura:1.2.106.1 or later)
Please apply "S_FunctionName", "S_" prefix when using it from PPA.

S_InsText("string") // Character string insertion
S_ExecCommand( "command" ) // Command execution
S_Up(line) // On the specified number of lines
S_GoLineTop(flag) // 1: It moves to digit position 1 regardless of the blank, and 8: It selects and it moves.

Example

//Macro of one-line insertion
S_GoLineTop(1); /* It moves to the head of line (unit by return). */
S_Char(13); /* Character input */
S_Up(); /* Movement on cursor */

PPA.DLL

When PPA.DLL is installed, the control syntax and the variable can be used by the macro.
Download is possible from the following site.

[hatena] Hint: It came to be able to use WSH to execute the macro. (sakura:1.3.3.0 or later)
[hatena] Hint: WSH came to move by one respondent by system OS Windows 95. (sakura:1.4.3.4 or later)

Please apply "Editor.FunctionName", the object name when using it from WSH.

The object to operate the editor "Editor". The method name and the argument are the same as Keyboard macro.
The WScript object cannot be suddenly used. Please acquire and use the object with CreateObject.
MessageBox that opens the window and InputBox cannot be used.

[hatena] Hint: It came to be able to use MsgBox and Input from VBScript. (sakura:1.5.7.0 or later)