
usr/bin/sqlite3 ~/Library/Application\ Support/Alfred\ 3/Databases/clipboard.alfdb 'DELETE FROM clipboard WHERE item = "TEXTHERE" AND dataType = 0 LIMIT 1 ' Alfred's clipboard DB only stores unique items, so you could use the following command in a shell script: One thing you could do seeing as you have the text you've copied, is add a very short delay (utility object) to the end of your workflow, then a bash script delete from Alfred's clipboard history SQLite DB where the text is equal to the text you have at hand. This isn't really possible at the point of dispatching a key combo (without bodging) as it's the responsibility of the app placing the data into the clipboard to add a transient marker as one of the data types (which will be the app in focus). Is there any way to get the Dispatch Keycombo mark the clipboard as transient or get the selected text via an action like the Hotkey one? Press a shortcut → dispatch keycombo "⌘+⌥+ ←" → dispatch keycombo "⌘+C" and then Transform and paste.Įlse ill have to use some applescript i guess. Mark the clipboard as transient or get the selected text via an action like the Hotkey one? Is there any way to get the Dispatch Keycombo The output copy to clipboard doesn't let me get selected text like the Hotkey function does.

I can dispatch a keycombo ⌘ + C to copy the text, but that one cannot be marked as transient. Alternatively, you could setup an Alfred workflow to do a similar task, and Alfred's Clipboard output object can set the text as actually have another issue here when i wanna get this to work with Alfred. If you could set Keyboard Maestro to use a transient marker when populating the clipboard, then Alfred's history will ignore this. Can delete individual items manually using cmd+backspace in the clipboard history viewer.
