luciano Posted May 10 Share Posted May 10 TRex captures text from anywhere on screen and saves it in clipboard: https://trex.ameba.co In TRex it is possible to run an iOS shortcut after having copied some text. Is it possible to open the copied text in Alfred via an iOS shortcut? Link to comment
zeitlings Posted May 10 Share Posted May 10 You mean is it possible to use Alfred to run a shortcut that does something with the copied text, right? Then the answer is yes, via the Run Shortcut object. Copying text from images is also possible via an OCR workflow, so there is no need for an external application. By extending that workflow to feed the copied text into the shortcut, you should be able to do what you're trying to achieve. Link to comment
luciano Posted May 11 Author Share Posted May 11 Thanks for that although it's not quite what I'm after. I will try explain more clearly. Guess the most common approach in Alfred is to press ⌥ + Spacebar, then type some text into the search bar. What I need is an iOS shortcut that does both of these steps. So let's say I have copied "some text" to the clipboard. I need an iOS shortcut that performs the ⌥ + Spacebar keystroke and then inserts "some text" into the search bar for me. Is this possible? Link to comment
JJJJ Posted May 11 Share Posted May 11 You can create a hotkey trigger with "Action: Show in Alfred" and "Argument: macOS Clipboard Contents". You can also choose where the cursor be after your clipboard content shows up in Alfred, I would put it to the left to trigger an action quickly. Link to comment
vitor Posted May 11 Share Posted May 11 Connect an External Trigger to a Show Alfred Utility with {query} as the Argument. Then use a Shortcut which calls the External Trigger via AppleScript or the URL Handler. luciano 1 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