Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
swsieber
on Feb 16, 2018
|
parent
|
context
|
favorite
| on:
Vim Anywhere
Hmm... I'm not very familiar with this, but couldn't you send a key command to select the entire text (CMD A)?
d1egoaz
on Feb 16, 2018
|
next
[–]
I'm not very familiar either. But the Automator workflow starts with "receives selected text", so I'm not sure it has access to the current text field
swsieber
on Feb 17, 2018
|
parent
|
next
[–]
Did not know that. I've used HammerSpoon on Mac, and you can send key shortcuts with that... you could probably glue them together easily
d1egoaz
on Feb 21, 2018
|
prev
[–]
osascript is our friend
osascript -e 'tell application "System Events" to keystroke "a" using command down'
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: