{"id":4560,"date":"2013-10-16T05:20:23","date_gmt":"2013-10-15T18:20:23","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=4560"},"modified":"2013-10-16T05:20:23","modified_gmt":"2013-10-15T18:20:23","slug":"applescript-editor-in-mac-os-x-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/applescript-editor-in-mac-os-x-primer-tutorial\/","title":{"rendered":"AppleScript Editor in Mac OS X Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"AppleScript Editor in Mac OS X Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/AppleScriptEditor_Primer-40of.jpg\" title=\"AppleScript Editor in Mac OS X Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">AppleScript Editor in Mac OS X Primer Tutorial<\/p><\/div>\n<p>Today&#8217;s tutorial on a Mac laptop using the application utility AppleScript Editor program builds on alternative techniques for such Mac OS X procedural recording and playback functionality previously mentioned in the previous <a href=\"#ainmoxpt\" title=\"Automator in Mac OS X Primer Tutorial\">Automator in Mac OS X Primer Tutorial<\/a> shown below.<\/p>\n<p>Here is a tutorial that introduces you to some aspects of the AppleScript Editor in Mac OS X, which is a tool to organize the running of your Mac OS X applications interactively, and can involve the processing of multiple actions in a procedure, and yet does not necessarily require any programming.   Our tutorial shows an interactive task of running some Terminal application Linux bash script and then a Mail application example of sending an automated email, but AppleScript Editor can handle a huge variety of scenarios where Mac OS X applications are run.<\/p>\n<blockquote><p>An editor for AppleScript that is included with Mac OS X (it was called Script Editor before OS X version 10.6, Snow Leopard). Scripts are written into the document editing window and can be compiled and run from the Script Editor window. Scripts can also be saved as AppleScript applications (applets) or compiled scripts. Script Editor also provides access to a reference library of Apple Events dictionaries corresponding to the scriptable applications on your computer, and can log the Events and Results of scripts run from AppleScript Editor for debugging purposes.<\/p><\/blockquote>\n<p>Let&#8217;s see some simple <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/Mac\/AppleScriptEditor\/'>AppleScript Editor processing in Mac OS X<\/a> in action running the Terminal and Mail applications &#8230;<\/p>\n<p>Am sure you can imagine how powerful this functionality is, and what a great tool it can be for practical aspects of getting jobs (tasks) done in an automated way with your Mac.<\/p>\n<p>Link to Mac OS X AppleScript Editor information &#8230; <a target=_blank title='Mac OS X AppleScript Editor information' href='http:\/\/en.wikipedia.org\/wiki\/Apple_Developer_Tools#AppleScript_Editor'>from Wikipedia from which quote above comes<\/a>.<br \/>\nLink to Mac OS X AppleScript support pages &#8230; <a target=_blank title='Mac OS X Automator tutorials' href='https:\/\/developer.apple.com\/library\/mac\/documentation\/applescript\/conceptual\/applescriptx\/AppleScriptX.html'> from Apple<\/a> (the company of Mac OS X and so the company of AppleScript Editor).\n<\/p>\n<hr \/>\n<p id='ainmoxpt'>Previous <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/MacOsX\/Automator\/\" title=\"Automator in Mac OS X Primer Tutorial\">Automator in Mac OS X Primer Tutorial<\/a> shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/MacOsX\/Automator\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Automator in Mac OS X Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/MacOsX\/Automator\/Automator_Primer-4of.jpg\" title=\"Automator in Mac OS X Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Automator in Mac OS X Primer Tutorial<\/p><\/div>\n<p>Here is a tutorial that introduces you to some aspects of the Automator in Mac OS X, which is a tool to organize the running of your Mac OS X applications interactively, and can involve the processing of multiple actions in a procedure, and yet does not necessarily require any programming.   Our tutorial shows an interactive task of compressing some image files, but Automator can handle a huge variety of scenarios where Mac OS X applications are run.<\/p>\n<blockquote><p>Automator is an application developed by Apple for OS X that implements point-and-click (or drag and drop) creation of workflows for automating repetitive tasks into batches for quicker alteration, thus saving time and effort over human intervention to manually change each file separately. Automator enables the repetition of tasks across a wide variety of programs, including the Finder, the Safari web browser, iCal\/Calendar, Address Book\/Contacts and others. It can also work with third-party applications such as Microsoft Office, Adobe Photoshop or Pixelmator. Automator was first released with Mac OS X Tiger (10.4).<\/p><\/blockquote>\n<p>Let&#8217;s see some simple <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/MacOsX\/Automator\/'>Automator processing in Mac OS X<\/a> in action compressing several image files &#8230;<\/p>\n<p>Am sure you can imagine how powerful this functionality is, and what a great tool it can be for practical aspects of getting jobs (tasks) done in an automated way with your Mac.   Automator has recording (of button presses and keyboard activity) similar to AutoHotKey, with Windows, to add to the power of what it is capable of helping you achieve.<\/p>\n<p>Link to Mac OS X Automator information &#8230; <a target=_blank title='Mac OS X Automator information' href='http:\/\/en.wikipedia.org\/wiki\/Automator_%28software%29'>from Wikipedia from which quote above comes<\/a>.<br \/>\nLink to Mac OS X Automator support pages &#8230; <a target=_blank title='Mac OS X Automator tutorials' href='http:\/\/support.apple.com\/kb\/HT2488'> from Apple<\/a> (the company of Mac OS X and so the company of Automator).<br \/>\nAnother good <a target=_blank title='Automator link' href='http:\/\/macosxautomation.com\/automator\/'>link<\/a>.\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='#d1396' onclick='var dv=document.getElementById(\"d1396\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=60\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1396' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr \/>\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='#d4560' onclick='var dv=document.getElementById(\"d4560\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=60\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d4560' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today&#8217;s tutorial on a Mac laptop using the application utility AppleScript Editor program builds on alternative techniques for such Mac OS X procedural recording and playback functionality previously mentioned in the previous Automator in Mac OS X Primer Tutorial shown &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/applescript-editor-in-mac-os-x-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,29,37],"tags":[94,119,723,725,885,997,1319],"class_list":["post-4560","post","type-post","status-publish","format-standard","hentry","category-elearning","category-operating-system","category-tutorials","tag-applescript","tag-automation","tag-mac","tag-mac-os-x","tag-operating-system-2","tag-programming","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/4560"}],"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=4560"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/4560\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=4560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=4560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=4560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}