{"id":1249,"date":"2013-05-08T05:19:31","date_gmt":"2013-05-07T19:19:31","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1249"},"modified":"2013-05-08T05:19:31","modified_gmt":"2013-05-07T19:19:31","slug":"applescript-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/applescript-primer-tutorial\/","title":{"rendered":"AppleScript Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/AppleScriptPrimer\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"AppleScript Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/AppleScriptPrimer\/AppleScriptPrimer.jpg\" title=\"AppleScript Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">AppleScript Primer Tutorial<\/p><\/div>\n<p>Here is a tutorial that introduces you to some aspects of AppleScript.<\/p>\n<blockquote><p>AppleScript is a scripting language created by Apple Inc. and built into Macintosh operating systems since System 7. The term &#8220;AppleScript&#8221; may refer to the scripting system itself, or to particular scripts that are written in the AppleScript language.<\/p>\n<p>AppleScript is primarily an inter-application processing system, designed to exchange data between and control other applications in order to automate repetitive tasks. AppleScript has some limited processing abilities of its own \u2013 basic calculation abilities, and some more intricate text processing tools \u2013 and is extensible, allowing the addition of scripting additions which add new functions to the language itself. Mainly, however, AppleScript relies on the built-in functionality of other applications and processes to handle complex tasks.<\/p>\n<p>AppleScript has some elements of object-oriented programming, particularly in the construction of script objects, and natural language programming tendencies in its syntax, but does not strictly conform to either category.<\/p><\/blockquote>\n<p>I&#8217;ve been curious about AppleScript, but have not used it extensively.   It can be used as a procedural tool for Mac OS X application usage.<\/p>\n<p>Let&#8217;s see some simple <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/AppleScriptPrimer\/'>AppleScript<\/a> in action &#8230;<\/p>\n<p>Link to AppleScript information &#8230; <a target=_blank title='AppleScript information' href='http:\/\/en.wikipedia.org\/wiki\/AppleScript'>from Wikipedia from which quote above comes<\/a>.<br \/>\nLink to some downloadable AppleScript code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/AppleScriptPrimer\/AppDelegate.applescript_GETME' title='Download me'>AppDelegate.applescript<\/a> for use within XCode.\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d1249' onclick='var dv=document.getElementById(\"d1249\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=15\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1249' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here is a tutorial that introduces you to some aspects of AppleScript. AppleScript is a scripting language created by Apple Inc. and built into Macintosh operating systems since System 7. The term &#8220;AppleScript&#8221; may refer to the scripting system itself, &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/applescript-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37,40],"tags":[94,723,725,1319],"class_list":["post-1249","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","category-xcode","tag-applescript","tag-mac","tag-mac-os-x","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1249"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=1249"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1249\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=1249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=1249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=1249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}