{"id":184,"date":"2008-12-18T04:48:38","date_gmt":"2008-12-18T09:48:38","guid":{"rendered":"http:\/\/vgable.com\/blog\/2008\/12\/18\/automator-bugs\/"},"modified":"2008-12-18T20:08:02","modified_gmt":"2008-12-19T01:08:02","slug":"automator-bugs","status":"publish","type":"post","link":"https:\/\/vgable.com\/blog\/2008\/12\/18\/automator-bugs\/","title":{"rendered":"Automator Bugs"},"content":{"rendered":"<p>I&#8217;ve started using <a href=\"http:\/\/developer.apple.com\/documentation\/AppleApplications\/Conceptual\/AutomatorConcepts\/Automator.html\">Automator<\/a> in <a href=\"http:\/\/vincentgable.com\/imlocation\/\">IMLocation<\/a> to let people build a set of actions that are executed when they arrive somewhere (for example, muting their laptop&#8217;s speakers in a classroom).<\/p>\n<p>Unfortunately, my impression of Automator.framework so far is: <em>buggy<\/em>.<\/p>\n<p>Here are some issues I&#8217;ve run into so far.<\/p>\n<p><a href=\"http:\/\/openradar.appspot.com\/6454810\"><code>-[AMWorkflowController stop:]<\/code> does not stop the workflow!<\/a>  I do not yet have a workaround.<\/p>\n<p><a href=\"http:\/\/openradar.appspot.com\/6454832\"><code>AMWorkflowController<\/code> sends its delegate a <code>-document<\/code> message whenever an action is removed from the <code>workflowView<\/code>, by clicking the (x) button.<\/a> If the delegate does not implement it, the action will <em>not<\/em> be removed!<\/p>\n<p><a href=\"http:\/\/openradar.appspot.com\/6454918\">The (x) button is enabled , but does nothing, in workflows that are not editable<\/a>.<\/p>\n<p><a href=\"http:\/\/openradar.appspot.com\/6439685\"><code>-[AMWorkflow initWithContentsOfURL:error:]<\/code> throws an exception when the URL is <code>nil<\/code><\/a>.<\/p>\n<p><a href=\"http:\/\/vgable.com\/code\/AutomatorTestProject.zip\">This project<\/a> demonstrates the first two issues.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve started using Automator in IMLocation to let people build a set of actions that are executed when they arrive somewhere (for example, muting their laptop&#8217;s speakers in a classroom). Unfortunately, my impression of Automator.framework so far is: buggy. Here are some issues I&#8217;ve run into so far. -[AMWorkflowController stop:] does not stop the workflow! [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53,18,6,3,5,4,13],"tags":[257,258,75,73,92],"class_list":["post-184","post","type-post","status-publish","format-standard","hentry","category-announcement","category-bug-bite","category-cocoa","category-macosx","category-objective-c","category-programming","category-sample-code","tag-amworkflow","tag-amworkflowcontroller","tag-amworkflowview","tag-automator","tag-bugs"],"_links":{"self":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/comments?post=184"}],"version-history":[{"count":0,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/posts\/184\/revisions"}],"wp:attachment":[{"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/media?parent=184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/categories?post=184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vgable.com\/blog\/wp-json\/wp\/v2\/tags?post=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}