{"id":385,"date":"2010-02-27T11:13:49","date_gmt":"2010-02-27T07:13:49","guid":{"rendered":"http:\/\/celmaro.com\/bl\/?p=385"},"modified":"2010-02-27T11:42:51","modified_gmt":"2010-02-27T07:42:51","slug":"firefox-3-6-apple-script-issue-workaround-for-webbla","status":"publish","type":"post","link":"https:\/\/www.celmaro.com\/bl\/?p=385","title":{"rendered":"Firefox 3.6 AppleScript issue workaround for Webbla"},"content":{"rendered":"<p>Since version 3.5, Firefox lost completely AppleScript\u00a0scripting functionality.<!--more--><\/p>\n<p>This makes it currently impossible for Webbla to grab the URL with the shortcut.\u00a0The only working way to get a bookmark from Firefox into Webbla is by using the bookmarklets.<\/p>\n<p>Also the possibility to open the URL with the default Firefox script is not working.\u00a0I&#8217;ve figured out a workaround which make use of System Events and triggers the menu in Firefox. Not really a satisfying solution but it works.<\/p>\n<p>You only have to copy the script and to replace the existing in Webbla.<\/p>\n<p><strong>tell application &#8220;Firefox&#8221;<\/strong><\/p>\n<p><strong>activate <\/strong><\/p>\n<p><strong>tell application &#8220;System Events&#8221;<\/strong><\/p>\n<p><strong>keystroke &#8220;l&#8221; using {command down}<\/strong><\/p>\n<p><strong>set the clipboard to (&#8220;[@URL]&#8221;)<\/strong><\/p>\n<p><strong>keystroke &#8220;v&#8221; using {command down}<\/strong><\/p>\n<p><strong>keystroke return<\/strong><\/p>\n<p><strong>end tell<\/strong><\/p>\n<p><strong>end tell<\/strong><\/p>\n<p><strong><br \/>\n<\/strong><\/p>\n<p>I am some wondering on Firefox. It looks like if they are not interested to make a good programming job on the Mac platform.\u00a0Google also seems to be very slow by implementing AppleScript\u00a0in Chrome and are talking on Milestone 5 where it will be included.<\/p>\n<p>So let&#8217;s wait and see if the big companies are the same responsive and open for requests as small software companies like we are. \ud83d\ude42<\/p>\n<p>Greetings from Mauritius,<\/p>\n<p>Marc<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since version 3.5, Firefox lost completely AppleScript\u00a0scripting functionality.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,3],"tags":[],"class_list":["post-385","post","type-post","status-publish","format-standard","hentry","category-celmaro","category-webbla"],"_links":{"self":[{"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=\/wp\/v2\/posts\/385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=385"}],"version-history":[{"count":5,"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=\/wp\/v2\/posts\/385\/revisions"}],"predecessor-version":[{"id":388,"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=\/wp\/v2\/posts\/385\/revisions\/388"}],"wp:attachment":[{"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.celmaro.com\/bl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}