{"id":1218,"date":"2006-03-24T11:48:22","date_gmt":"2006-03-24T15:48:22","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/2006\/03\/24\/appscript\/"},"modified":"2006-03-24T11:48:22","modified_gmt":"2006-03-24T15:48:22","slug":"appscript","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2006\/03\/24\/appscript\/","title":{"rendered":"appscript"},"content":{"rendered":"<p>\r\n<a href=\"http:\/\/www.friday.com\/bbum\/2006\/03\/24\/applescript-for-the-rest-of-us\/\">Bill Bumgarner<\/a>:\r\n<\/p>\r\n\r\n<blockquote cite=\"http:\/\/www.friday.com\/bbum\/2006\/03\/24\/applescript-for-the-rest-of-us\/\">\r\n<p>AppleScript, on the other hand, continues to baffle me.  All those english like sentences just confuse me.  I constantly try to write code that is, well, like code and it doesn&#8217;t work.<\/p>\r\n<p>Fortunately, there is <a href=\"http:\/\/freespace.virgin.net\/hamish.sanderson\/appscript.html\">appscript<\/a>, a python module that makes any AppleScriptable application into something I can talk to just like any other Python object.   This quite effectively reduces AppleScript programming to a programming exercise that my tiny little mind can effectively metabolize.<\/p>\r\n<\/blockquote>\r\n\r\n<p>\r\nI find this is interesting because, while I don\u2019t have trouble writing in AppleScript, there are cases where its syntax isn\u2019t very efficient. Plus, it looks like appscript would be nice to use if you want to talk to an application and work with files or Cocoa from the same script. Like <a href=\"http:\/\/www.latenightsw.com\/freeware\/JavaScriptOSA\/index.html\">JavaScript OSA<\/a>, though, it\u2019s not as useful when you need to write scripts for other people to use.\r\n<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Bill Bumgarner: AppleScript, on the other hand, continues to baffle me. All those english like sentences just confuse me. I constantly try to write code that is, well, like code and it doesn&#8217;t work. Fortunately, there is appscript, a python module that makes any AppleScriptable application into something I can talk to just like any [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1218","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=1218"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1218\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=1218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=1218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=1218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}