I am trying to make a macro to copy the contents of the current file, open a new one, paste the contents, apply a ROT-13 , copy the result of that, and close the created file
The problem I am having is creating the new file and closing it when I am done.
This is what I have so far :
{
"args": null,
"command": "select_all"
},
{
"args": null,
"command": "copy"
},
{
"args": null,
"command": "new_window"
},
{
"args": null,
"command": "paste"
},
{
"args": null,
"command": "select_all"
},
{
"args": null,
"command": "rot13"
},
{
"args": null,
"command": "copy"
},
{
"args": null,
"command": "close_file"
},
]