Home

OFF-SOFT.net

OFF-SOFT.net

This site is support & information site of WEB,and Software. This site might help you that create software or Web Site…perhaps?[:]

ssmacro.input Command

ssmacro.input Command

This is a command that show input box window that can use in ssmacro macro file.

This command copy to original buffer the text that was typed with this input box like a ssmacro.copy command. So, also this does not use clipboard and the copied text can output by ssmacro.paste command.

Parameter

  • prompt string (input box title default:"")

Example

1st step, you should create a macro file( see the page about macro file format detail ).

[
    "ssmacro.clear",
    {
        "args":
        {
            "prompt": "what is tag?"
        },
        "command": "ssmacro.input"
    },
    {
        "args": null,
        "command": "ssmacro.cut"
    },
    {
        "args":
        {
            "characters": "<"
        },
        "command": "ssmacro.insert"
    },
    {
        "args":
        {
            "index": 0
        },
        "command": "ssmacro.paste"
    },
    {
        "args":
        {
            "characters": ">"
        },
        "command": "ssmacro.insert"
    },
    {
        "args":
        {
            "index": 1
        },
        "command": "ssmacro.paste"
    },
    {
        "args":
        {
            "characters": "</"
        },
        "command": "ssmacro.insert"
    },
    {
        "args":
        {
            "index": 0
        },
        "command": "ssmacro.paste"
    },
    {
        "args":
        {
            "characters": ">"
        },
        "command": "ssmacro.insert"
    }
]

2nd step, you will execute it macro file by ssmacro.run command.
executing image




  • はてなブックマークへ追加する
  • Facebookでシェアする
  • twitter でつぶやく
  • Google Plusでシェアする
  • Pocketでシェアする
ページトップへ