{"id":16972,"date":"2014-02-07T10:35:14","date_gmt":"2014-02-07T01:35:14","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=16972"},"modified":"2014-02-07T10:40:35","modified_gmt":"2014-02-07T01:40:35","slug":"clippy-js","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/clippy-js\/","title":{"rendered":"\u30a6\u30b6\u304b\u308f\u3044\u3044Microsoft Agent\u3092\u5b8c\u5168\u518d\u73fe\u3057\u305f\u300cClippy.js\u300d"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/02\/blogClippyJS.png\" alt=\"ClippyJS\" title=\"ClippyJS.png\" border=\"0\" width=\"546\" height=\"363\" \/><\/p>\n<p>\u3053\u308c\u306f\u30a6\u30b6\u304b\u308f\u3044\u3044\u3002<\/p>\n<p>\u300c<a href=\"https:\/\/www.smore.com\/clippy-js\">Clippy.js<\/a>\u300d\u306f\u3001Windows XP\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\u3059\u308b\u6642\u306a\u3069\u306b\u73fe\u308c\u308b\u8b0e\u306e\u72ac\u30de\u30b9\u30b3\u30c3\u30c8(=Microsoft Agent)\u3092JavaScript\u3067\u5b8c\u5168\u518d\u73fe\u3057\u305f\u3082\u306e\u3067\u3059(<a href=\"https:\/\/github.com\/smore-inc\/clippy.js\">GitHub<\/a>\u3001<a href=\"https:\/\/news.ycombinator.com\/item?id=7191372\">Hacker News<\/a>\u3067\u6700\u8fd1\u7d39\u4ecb\u3055\u308c\u3066\u3044\u305f\u3051\u3069\u3001\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3092\u78ba\u8a8d\u3059\u308b\u3068\u30012013\u5e745\u6708\u304f\u3089\u3044\u306b\u751f\u307e\u308c\u305f\u3082\u306e\u3089\u3057\u3044)\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2014\/02\/blogClippyJS-1.png\" alt=\"ClippyJS 1\" title=\"ClippyJS-1.png\" border=\"0\" width=\"546\" height=\"142\" \/><\/p>\n<p>\u518d\u73fe\u3055\u308c\u305fAgent\u306f\u300cClippy\u300d\u3001\u300cMerlin\u300d\u3001\u300cRover\u300d\u3001\u300cLinks\u300d\u306e4\u7a2e\u985e\u3002<\/p>\n<p>Agen\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001<\/p>\n<pre><code class=\"javascript\"><!-- Add the stylesheet to the head -->\n<link rel=\"stylesheet\" type=\"text\/css\" href=\"clippy.css\" media=\"all\">\n\n...\n\n<!-- Add these scripts to  the bottom of the page -->\n<!-- jQuery 1.7+ -->\n<script src=\"jquery.1.7.min.js\"><\/script>\n\n<!-- Clippy.js -->\n<script src=\"clippy.min.js\"><\/script>\n\n<!-- Init script -->\n<script type=\"text\/javascript\">\n    clippy.load('Merlin', function(agent){\n        \/\/ do anything with the loaded agent\n        agent.show();\n    });\n<\/script>\n<\/code><\/pre>\n<p>\u69d8\u3005\u306a\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd\u3002<\/p>\n<pre><code class=\"javascript\">\/\/ play a given animation\nagent.play('Searching');\n\n\/\/ play a random animation\nagent.animate();\n\n\/\/ get a list of all the animations\nagent.animations();\n\/\/ => [\"MoveLeft\", \"Congratulate\", \"Hide\", \"Pleased\", \"Acknowledge\", ...]\n\n\/\/ Show text balloon\nagent.speak('When all else fails, bind some paper together. My name is Clippy.');\n\n\/\/ move to the given point, use animation if available\nagent.moveTo(100,100);\n\n\/\/ gesture at a given point (if gesture animation is available)\nagent.gestureAt(200,200);\n\n\/\/ stop the current action in the queue\nagent.stopCurrent();\n\n\/\/ stop all actions in the queue and go back to idle mode\nagent.stop();\n\n<\/code><\/pre>\n<p>\u5b9f\u7528\u6027\u306f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u6c17\u6674\u3089\u3057\u306b\u826f\u3055\u305d\u3046\u3067\u3059\u30024\u67081\u65e5\u3068\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u308c\u306f\u30a6\u30b6\u304b\u308f\u3044\u3044\u3002 \u300cClippy.js\u300d\u306f\u3001Windows XP\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\u3059\u308b\u6642\u306a\u3069\u306b\u73fe\u308c\u308b\u8b0e\u306e\u72ac\u30de\u30b9\u30b3\u30c3\u30c8(=Microsoft Agent)\u3092JavaScript\u3067\u5b8c\u5168\u518d\u73fe\u3057\u305f\u3082\u306e\u3067\u3059(GitHub\u3001Hac [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":16970,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[2106,87,2107],"class_list":["post-16972","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-clippy-js","tag-microsoft","tag-microsoft-agent"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/16972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=16972"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/16972\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/16970"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=16972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=16972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=16972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}