Comments on: Introduction to AppleScript: Hello World http://apple.blogoverflow.com/2011/09/introduction-to-applescript-post-1-of-5/ Ask Different - answers for your Apple questions Tue, 01 Mar 2016 11:50:43 +0000 hourly 1 https://wordpress.org/?v=4.5.6 By: Kerry Dawson http://apple.blogoverflow.com/2011/09/introduction-to-applescript-post-1-of-5/#comment-48719 Sat, 11 May 2013 12:23:24 +0000 http://apple.blogoverflow.com/?p=150#comment-48719 I was just curious, do you know who I could ask how to do something with Applescruipt. I have two scripts that “I found” each that work perfectly. One chooses the mail id I want Apple mail to send from and the other will sign with the signature I choose. I’d like to combine these so they both act on one email and I’ve tried everything but I’m just no scripter. I need help and I’ve googled this every which way I can think of but can’t come up with the answer. The are:

tell application “Mail” to make new outgoing message with properties {sender:”ksdawson@icloud.com“, visible:true}

and

tell application “Mail” activate set theMsg to make new outgoing message with properties {visible:true} set message signature of theMsg to signature “Kerry Dawson” end tell

]]>
By: Daviesgeek http://apple.blogoverflow.com/2011/09/introduction-to-applescript-post-1-of-5/#comment-8 Wed, 28 Sep 2011 21:04:44 +0000 http://apple.blogoverflow.com/?p=150#comment-8 Awesome! I love AppleScripting! Lookin’ forward to seeing more.

]]> By: Ian C. http://apple.blogoverflow.com/2011/09/introduction-to-applescript-post-1-of-5/#comment-6 Wed, 28 Sep 2011 15:47:29 +0000 http://apple.blogoverflow.com/?p=150#comment-6 Nice. I’m looking forward to the series!

]]> By: Philip Regan http://apple.blogoverflow.com/2011/09/introduction-to-applescript-post-1-of-5/#comment-5 Wed, 28 Sep 2011 12:12:55 +0000 http://apple.blogoverflow.com/?p=150#comment-5 @Andrew: Applescript files are pre-compiled—they aren’t plain text files with a special extension like other scripting languages—and part of the compilation process means that Applescript enforces all sorts of conventions (whether you want them or not).

]]> By: Andrew http://apple.blogoverflow.com/2011/09/introduction-to-applescript-post-1-of-5/#comment-4 Wed, 28 Sep 2011 10:04:55 +0000 http://apple.blogoverflow.com/?p=150#comment-4 Nevermind. Apparently AppleScript does that automatically after you run the code.

Nothing to see here gentlemen…carry on!

]]>
By: Andrew http://apple.blogoverflow.com/2011/09/introduction-to-applescript-post-1-of-5/#comment-3 Wed, 28 Sep 2011 09:52:20 +0000 http://apple.blogoverflow.com/?p=150#comment-3 One, little pedantic question. Is there any reason why you indented after the line “tell application ‘TextEdit'” in the last AppleScriptor was that done purely for readability?

]]>