Jump to content

Changes to "Type Text (Simulate typing text)" Automation Task


Recommended Posts

I have two suggestions for the "Type Text (Simulate typing text)" Automation Task:

 

  1. Accept {clipboard} as a variable for typing. Currently, the task accepts a defined variable like {var:some_variable}, but using {clipboard} types the literal.
  2. Allow typing line feeds. Currently, whether the input is direct in the task, or uses a variable, line feeds are skipped.
Edited by paulw
Link to comment
2 hours ago, paulw said:

Accept {clipboard} as a variable for typing. Currently, the task accepts a defined variable like {var:some_variable}, but using {clipboard} types the literal.

 

That would have larger consequences for other Automation Tasks. You can use an Arg and Vars Utility right before to send the clipboard.

 

2 hours ago, paulw said:

Allow typing line feeds. Currently, whether the input is direct in the task, or uses a variable, line feeds are skipped.

 

Can I get an example? If you mean literally typing \n, that’s not something which is likely to be added because the goal of the Automation Task is to literally (simulate) type the keys one by one, interpreting codes is out of scope and would be quite complex. You can add a literal newline to the text to have it reproduced.

Link to comment
13 minutes ago, vitor said:

That would have larger consequences for other Automation Tasks. You can use an Arg and Vars Utility right before to send the clipboard.

Ok, understood, thanks.

 

13 minutes ago, vitor said:

You can add a literal newline to the text to have it reproduced.

It turns out it was in VSCode that literal newlines were ignored. In TextEdit, they're reproduced. Do you happen to have any idea why that might be, and/or if there's a way around it?

Link to comment

Unfortunately not, I don’t use VSCode. I’d try lowering the typing speed. Why use this there, though? For VSCode something like pasting directly with a Copy to Clipboard Output should work better. This Automation Task is more useful for situations where pasting isn’t permitted (such as some web forms).

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...