{"id":790,"date":"2017-01-21T03:05:16","date_gmt":"2017-01-20T18:05:16","guid":{"rendered":"http:\/\/okamurax.com\/?p=790"},"modified":"2020-05-05T01:17:11","modified_gmt":"2020-05-04T16:17:11","slug":"autohotkey-teamviewer%e3%81%ae%e3%82%b9%e3%83%9d%e3%83%b3%e3%82%b5%e3%83%bc%e3%82%bb%e3%83%83%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%b6%88%e3%81%99","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=790","title":{"rendered":"AutoHotkey TeamViewer\u306e\u30b9\u30dd\u30f3\u30b5\u30fc\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u6d88\u3059"},"content":{"rendered":"<p>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bd\u30d5\u30c8\u3092\u4e00\u6642\u505c\u6b62\u3002<br \/>\n\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u7ba1\u7406\u8005\u6a29\u9650\u3067\u8d77\u52d5(\u3082\u3057\u304b\u3057\u305f\u3089\u5927\u4e08\u592b\u304b\u3082)<\/p>\n<p>test.ahk<\/p>\n<pre class=\"lang:default decode:true\">sleep 10000\r\nIfWinExist, \u30b9\u30dd\u30f3\u30b5\u30fc\u30bb\u30c3\u30b7\u30e7\u30f3\r\n{ \r\nControlClick OK, \u30b9\u30dd\u30f3\u30b5\u30fc\u30bb\u30c3\u30b7\u30e7\u30f3\r\n} \r\n<\/pre>\n<p>\u4e0a\u8a18\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001<br \/>\n<span style=\"color: #0000ff;\">C:\\Program Files\\AutoHotkey\\Compiler<\/span><br \/>\n\u306b\u79fb\u52d5\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u3001<br \/>\n<span style=\"color: #0000ff;\">cd C:\\Program Files\\AutoHotkey\\Compiler<\/span><br \/>\n<span style=\"color: #0000ff;\"> Ahk2Exe.exe \/in test.ahk \/out test.exe<\/span><br \/>\n\u306b\u3066test.exe\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u30ed\u30b0\u30aa\u30d5\u3059\u308b\u524d\u306b\u30af\u30ea\u30c3\u30af\u3057\u3066\u304a\u304f\u306810\u79d2\u5f8c\u306b\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u6d88\u3059\u3002<\/p>\n<p>\u6700\u521d\u306fC#\u3060\u3063\u305f\u304c\u3001\u3053\u308c\u3058\u3083\u6d88\u3048\u306a\u3044\u3002<\/p>\n<pre class=\"lang:c# decode:true\">namespace ConsoleApplication1\r\n{\r\n    class Program\r\n    {\r\n        static void Main(string[] args)\r\n        {\r\n            foreach (System.Diagnostics.Process p in System.Diagnostics.Process.GetProcesses())\r\n            {\r\n                if (p.MainWindowTitle.IndexOf(\"\u30b9\u30dd\u30f3\u30b5\") &gt;= 0) p.CloseMainWindow();\r\n            }\r\n        }\r\n    }\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bd\u30d5\u30c8\u3092\u4e00\u6642\u505c\u6b62\u3002 \u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u7ba1\u7406\u8005\u6a29\u9650\u3067\u8d77\u52d5(\u3082\u3057\u304b\u3057\u305f\u3089\u5927\u4e08\u592b\u304b\u3082) test.ahk sleep 10000 IfWinExist, \u30b9\u30dd\u30f3\u30b5\u30fc\u30bb\u30c3\u30b7\u30e7\u30f3 { ControlClick OK, \u30b9\u30dd\u30f3 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=790\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;AutoHotkey TeamViewer\u306e\u30b9\u30dd\u30f3\u30b5\u30fc\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u6d88\u3059&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-790","post","type-post","status-publish","format-standard","hentry","category-1","tag-autohotkey"],"_links":{"self":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=790"}],"version-history":[{"count":5,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/790\/revisions"}],"predecessor-version":[{"id":795,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/790\/revisions\/795"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}