sakura/en/Execute External Command

Last-modified: 2008-03-29 (土) 15:33:56

Execute External Command

An external command is executed.
The file name editing it now can be passed to an external command with "$F".

(^_- Example: c:\foo.exe $F
Please see ExpandParameter about the list of the special character that can be used.

Because it is likely to become an error as it is when the blank is included in the file name:

c:\foo.exe "$F"

encloses with the quotation mark and it describes it.

[Standard Output is Obtained] CheckBox (default: Non-Checked)

The execution result is displayed in the output window.
At this time, please do not execute a standard output at the same time in other windows checking obtaining.
Moreover, please refrain from the tag jump etc. (There is a thing that the output takes the shape.)
Please do not check "A standard output is obtained" about the GUI application. It is not displayed on the screen.

[Send to Standard Input] CheckBox (default: Non-Checked)

The content of the window under the edit is redirected to a standard input of the offspring process. If the range is being selected, only the range of the selection is passed.

Redirect Standard Output

  • Output window
    A standard output of the offspring process is output to the output window.
  • Window under edit
    Standard output of the offspring process is taken into the window under the edit. Each operation changes on the following condition.
  • When you select the range:
    It replaces the content to which the character string under the selection is annulled, and the standard is output from the offspring process.
  • There is no standard input specification when non-selecting it:
    The content to which the standard is output from the offspring process is inserted in a present cursor position.
  • The specification sent to a standard input when non-selecting it:
    It replaces the content to which the content of a present edit window is annulled, and the standard is output from the offspring process.
  • When you select the rectangle:
    The present unsupport. (It doesn't operate as a rectangular edit, and the selective state collapses unnaturally.)

Macro Syntax

  • Syntax
    ExecCommand( str1 :String, int2 :Integer );
    • str1 : Executed command statement string.
    • int2 : Execution control option.
  • Record
    Support
  • Remarks
    The harmony of the following value is specified for the execution control option.
    • 0x01 : A standard output is obtained.
    • 0x02 : It redirects it to the window editing a standard output.
      (Output window if it doesn't specify it.)
    • 0x04 : The content under the edit is redirected to the offspring process.

[tip] Note: The dialog of an external command execution cannot be put out by the macro.