Copy link to clipboard
Copied
For example, when I select Overview
Run the script, it can become 【overview】
Or (overview)
That is, you can add 【】 or () symbols to the selected content, which is the same as the function in the "subline text" software
Similar to replace function
Similar to the replacement function, but 【】() is something I can set.
Then set different shortcut keys for different scripts
Oups! =D
Thanks Peter!
(^/)
Copy link to clipboard
Copied
app.selection[0].contents = "[" + app.selection[0] + "]";
(^/) The Jedi
Copy link to clipboard
Copied
Small correction:
app.selection[0].contents = "[" + app.selection[0].contents + "]";
Copy link to clipboard
Copied
Oups! =D
Thanks Peter!
(^/)