I’ve made a simple applescript that take care to automatically paste the result of a command set in Alfredapp
I’ll use as an example this command made by @jdfwarrior ( a lorem ipsum generator ) – Install it first.
Download this zip file and extract where you like (an alfredscripts folder in Applications?): paste.scpt
When you setup the lipsum command just add the following text to the command:
; osascript <extracted path>/paste.scpt
Remember to put in also the “;” ….
Issuing the command with Alfred will auto paste the result of the command in the frontmost application.