paste to frontmost app

I have a simple app that writes text to the system clipboard. I'd like to run this app and paste the text it adds to the clipboard into the currently active app, a text editor. So I have the bash script below in a shortcut. The script pastes text into the output window when I hit 'run script now' but when I use the shortcut key in the recipient text editor, while text is written to the clipboard by the app the paste doesn't work, i just get nothing pasted. Any thoughts?

/Applications/hashtagzy-2.0.app/Contents/MacOS/hashtagzy-2.0 -

pbpaste

pbpaste will only paste into the terminal session not into a gui application. Instead add an other action after you run your app, which just triggers the cmd+v shortcut.

that did it. Thanks.