Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
An AppleScript to use with Alfred.app to create a new Trac ticket by email
on alfred_script(q)
tell application "Mail"
set myMessage to make new outgoing message with properties {visible:true, subject: q}
set message signature of myMessage to signature "trac"
tell myMessage
make new to recipient with properties {name:"Trac", address:"ticket@example.com"}
end tell
activate
end tell
end alfred_script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment