S
S
soofftt912022-03-22 21:08:34
JavaScript
soofftt91, 2022-03-22 21:08:34

Is there a software for creating macros that can work with selected text?

I'm looking for a program that, by pressing some buttons or combinations, can somehow process the selected text. And so that you can write the handler yourself, ideally in JS.

Example:
1) I select the word "toaster"
2) I press some button
3) the program receives the selected word and passes it to my handler

const textEdit = (str) => {
  if(str) str[0] = str[0].toUpperCase();
  return str;
};

4) the program enters "Toaster" replacing the previously highlighted word.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
low molecular macro, 2022-03-22
@molekulyarniy

so you can write all this yourself in JS, without using any software

T
ThunderCat, 2022-03-23
@ThunderCat

hotkey master
macro recorder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question