Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on alfred_script(q)
- set alfredInputCheck to q
- try
- set alfredInput to alfredInputCheck
- on error
- set alfredInput to "Other"
- set alfredInputCheck to ""
- end try
- using terms from application "Sparrow"
- tell application "Sparrow"
- activate
- set theMessage to make new outgoing message with properties {subject:"MESSAGE SUBJECT - " & alfredInput, content:"MESSAGE BODY"}
- tell theMessage
- make new to recipient at end of to recipients with properties {name:"EMAIL NAME", address:"EMAIL ADDRESS"}
- compose
- end tell
- end tell
- end using terms from
- end alfred_script
Add Comment
Please, Sign In to add comment