Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use CMD space a million times a day to find files, launch apps, etc.

Wouldn't it be cool if I could press a keyboard combination and get a box to send a tweet? I know I can do it through notification center but I'm looking for a method that doesn't require me to leave the keyboard.

share|improve this question
You might be able to use the answers to this per question along with FastScripts to tweet.… – bmike Jul 28 '12 at 22:09
Perhaps you can try a widget such as Twidget ? – lhf Dec 6 '12 at 1:29

The official Twitter app lets you define a shortcut in its settings (Global new tweet): enter image description here

As far as native Twitter integration goes, I really don't know :)

share|improve this answer
That's definitely a step in the right direction. But unfortunately, I have to have the Twitter app running. But that's not a huge deal. Unless someone can come up with a way to do exactly that without the app running, then I will give you the answer shortly. – cbmeeks Jul 28 '12 at 21:53
How about using a shortcut to run an AppleScript? – Moshe Jul 28 '12 at 21:53
@Moshe in my best Homer Simpson voice: "Explain how!" – cbmeeks Jul 28 '12 at 22:40
Although I am not 100% sure I believe Alfred may be able to tackle this somehow, would probably require the power pack though. – Gmenfan83 Jul 28 '12 at 23:15
The PowerPack can enable the use of shortcuts to run applescripts, but the trouble is having this script in the first place. – JJJollyjim Jul 28 '12 at 23:18

You can send tweets using the Twitter libraries for Ruby or Python, but it requires signing up at

#!/usr/bin/env ruby -KU -rubygems

require 'twitter'

Twitter.configure do |config|
  config.consumer_key = ""
  config.consumer_secret = ""
  config.oauth_token = ""
  config.oauth_token_secret = ""

tweet = `osascript -e 'try
tell application (path to frontmost application as text)
display dialog "" default answer ""
text returned of result

exit if tweet.empty?

AlfredTweet is a Twitter client written as an Alfred extension.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.