ramiro.araujo Posted March 18, 2014 Share Posted March 18, 2014 Type Clipboard Workflow for Alfred AppSimple workflow to write the clipboard content in those situations where ⌘ → V doesn't work, typically in non Cocoa application dialogs. It has happened to me in older Flash versions, Intellij IDEA and a few others. You have to go and paste with right clicking the mouse or pad... Atrocious!!SetupAfter installing the workflow you have to setup the default keyboard shortcut, since Alfred does not auto-import keyboard shortcuts on workflows. I use ⇧⌃⌥⌘ → V, since I don't use it that often.Alternatively, you can trigger the typing with the typeclipboard keyword.UsageJust trigger the shortcut or keyword to type the clipboard content. There's a character cap of 500 characters, to avoid accidents, since the typing takes time depending on the length of the text. If you hit the cap, you'll hear a classic error sound.InstallationDownload the alfred-type-clipboard.alfredworkflow and import to Alfred 2. Source Code Clone or Fork the Workflow: https://github.com/ramiroaraujo/alfred-type-clipboard-workflowChangelog 2014-02-04 - Released Empyreal, Carlos-Sz and CarlosNZ 3 Link to comment
CarlosNZ Posted April 12, 2014 Share Posted April 12, 2014 Didn't think I'd ever need this, but sure enough, it comes in handy once in a while. Cheers. Link to comment
mark00thomas Posted April 14, 2014 Share Posted April 14, 2014 How can you make Alfred type (not paste) a preset bit of text with a hotkey? Link to comment
camfisk Posted May 22, 2014 Share Posted May 22, 2014 Awesome for pasting passwords from 1Password into pesky password fields that don't let you paste. Thanks a bunch! Link to comment
Jack Musick Posted December 19, 2016 Share Posted December 19, 2016 Hi, I've been using this for a while. Recently it started changing the casing in letters at random. Any idea why this would be? Link to comment
Empyreal Posted December 12, 2017 Share Posted December 12, 2017 On 12/19/2016 at 11:57 AM, Jack Musick said: Hi, I've been using this for a while. Recently it started changing the casing in letters at random. Any idea why this would be? Are you accidentally keeping the shift key pressed while the workflow is running? That might do it. Link to comment
Jack Musick Posted December 13, 2017 Share Posted December 13, 2017 5 hours ago, Empyreal said: Are you accidentally keeping the shift key pressed while the workflow is running? That might do it. Nope. It's some kind of macOS bug. I ended up fixing it by adjusting the underlying Apple Script to this: on alfred_script(q) set chars to count (get the clipboard) if chars > 500 then do shell script "afplay /System/Library/Sounds/Funk.aiff" else tell application "System Events" set _index to 1 repeat with letter in (get the clipboard) keystroke letter delay 5.0E-4 end repeat end tell end if end alfred_script I've been using it just fine since. Empyreal 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