Boarder24 Posted April 7, 2013 Share Posted April 7, 2013 I recently read this blog post about text expansion: here by our very own David Ferguson, about text expansion. I love this idea, and have used it thousands of times. But, I was thinking that there should be an output option to simply paste whatever text in the frontmost app. The only difference between this and the "copy to clipboard" output would be that you could use this for text expansion and wouldn't flood your clipboard. Please implement this in the next update! Link to comment Share on other sites More sharing options...
jdfwarrior Posted April 8, 2013 Share Posted April 8, 2013 I recently read this blog post about text expansion: here by our very own David Ferguson, about text expansion. I love this idea, and have used it thousands of times. But, I was thinking that there should be an output option to simply paste whatever text in the frontmost app. The only difference between this and the "copy to clipboard" output would be that you could use this for text expansion and wouldn't flood your clipboard. Please implement this in the next update! Something like this could be implemented now, without using the clipboard, by using AppleScript. tell application "System Events" to keystroke "This is a test" The only downside to this is that its a little slower... Boarder24 1 Link to comment Share on other sites More sharing options...
Boarder24 Posted April 8, 2013 Author Share Posted April 8, 2013 Something like this could be implemented now, without using the clipboard, by using AppleScript. tell application "System Events" to keystroke "This is a test" The only downside to this is that its a little slower... Haha, I actually ended up trying that after I posted this, and came to the same conclusion. Link to comment Share on other sites More sharing options...
jdfwarrior Posted April 8, 2013 Share Posted April 8, 2013 Haha, I actually ended up trying that after I posted this, and came to the same conclusion. I didn't look at a speed comparison, and actually only tried a Run Script with the language set to osascript on this. As Andrew has mentioned several times, a compiled script using a Run NSAppleScript is the fastest option when running AppleScript in Alfred. You may want to test this out and see if it makes a difference. Link to comment Share on other sites More sharing options...
Boarder24 Posted April 9, 2013 Author Share Posted April 9, 2013 (edited) I will get back to you on that one. **Update!** I played around with it, and after the first run, it seems to be working pretty well. It does look a little funny when it appears because it looks like a ghost typer when your computer has to catch up to the text you typed. Edited April 10, 2013 by Boarder24 Link to comment Share on other sites More sharing options...
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