Retweet script for Twitterrific

Simple AppleScript to make it easy to retweet from Twitterrific.

It uses GUI scripting to access the text input box in Twitterrific, so you need to activate this by enabling access from assistive devices in the Universal Access Preferences.


tell application "Twitterrific"
	set thisTweet to selection
	set thisText to post of thisTweet
	set thisUser to screen name of thisTweet
end tell
tell application "System Events"
	tell process "Twitterrific"
		tell group 1 of splitter group 1 of window 1
			set value of text field 1 to "Retweet: @" & thisUser & " " & thisText & " "
		end tell
	end tell
end tell

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: