Devlan Posted August 22, 2021 Share Posted August 22, 2021 I am just wondering if there is a way for alfred to highlight text that was just pasted via alfred. For context I've created a workflow for cycling through different capitalization modes. I only want to remember one hotkey for this, so the script will change the text to lower -> sentence -> title -> upper depending on the current state. My idea was that you could just repeat the same command 1-4 times to get to the desired state. It is working, but right now I have to re-highlight the selection each time. The only idea I have right now which might work is to send a repeated shift + left arrow key equal to the number of characters in the original text. Is there a better way than this? Thanks! Link to comment
deanishe Posted August 22, 2021 Share Posted August 22, 2021 12 minutes ago, Devlan said: Is there a better way than this? Nope. I’m pretty sure that’s exactly how {cursor} works: Alfred just simulates enough ← keypresses to move the cursor. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now