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.run Command

ssmacro.run Command

This can execute a macro file with JSON format.

This command do not have parameter, it differents ssmacro.macro command. So, this means executing a macro file with typing macro file name with input box.

Parameter

  • prompt string (input box title(default:"macro file name").)

Example

1st step, you should create a macro file( see the page about macro file format detail ). This file name is "/home/hoge/sample_tag.json".

[
    "ssmacro.clear",
    "ssmacro.copy",
    {
        "args":
        {
            "characters": "<tag>"
        },
        "command": "ssmacro.insert"
    },
    "ssmacro.paste",
    {
        "args":
        {
            "characters": "</tag>"
        },
        "command": "ssmacro.insert"
    },
    {
        "args":
        {
            "count": 6
        },
        "command": "ssmacro.left"
    }
]

You can execute a macro file by the following oerations.

  1. Open Command panel by Ctrl + Shift + P
    CommandPanel
    Select "Super Simple Macro manual run".

  2. Show input box
    CommandPanel
    Type a macro file name("/home/hoge/sample_tag.json").
    You will see automated operations like the following image .
    executing image

Note : if you do not set full path, it means a file that exists with same directory. This point different a ssmacro.macro command.




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