{"id":6482,"date":"2024-10-04T23:04:23","date_gmt":"2024-10-04T14:04:23","guid":{"rendered":"https:\/\/appbay.org\/?p=6482"},"modified":"2024-10-04T23:07:40","modified_gmt":"2024-10-04T14:07:40","slug":"autohotkey-mbutton%e2%86%94rbutton","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=6482","title":{"rendered":"AutoHotkey MButton&#x2194;RButton\/Chrome"},"content":{"rendered":"<pre class=\"lang:default decode:true \">#HotIf WinActive(\"ahk_exe chrome.exe\") or WinActive(\"ahk_exe msedge.exe\")\r\nRButton::MButton\r\nMButton::RButton<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306a\u611f\u3058\u3067\uff64Chrome\u3060\u3051MButton\u3068RButton\u3092\u5165\u308c\u66ff\u3048\u3066\u3044\u305f\u3051\u3069\uff64<br \/>\nChrome\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u72b6\u614b\u304b\u3089\uff64\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306a\u3069\u3092\u76f4\u63a5\u53f3\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\uff64\u30de\u30a6\u30b9\u306e\u5de6\u30af\u30ea\u30c3\u30af\u304c\u53cd\u5fdc\u3057\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\uff61(\u4e2d\u592e\u30dc\u30bf\u30f3\u304c\u62bc\u3055\u308c\u305f\u72b6\u614b?)\u4e00\u5ea6\uff64\u4e2d\u592e\u30dc\u30bf\u30f3\u3092\u62bc\u305b\u3070\u76f4\u308b\u304c\uff64\u6642\u3005\u767a\u751f\u3059\u308b\u306e\u3067\uff64\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4<\/p>\n<pre class=\"lang:default decode:true \">MButton::\r\n{\r\n  MouseGetPos(,,&amp;id)\r\n  if InStr(WinGetClass(id), \"Chrome\")\r\n  {\r\n    MouseClick \"R\"\r\n  }\r\n  else\r\n  {\r\n    MouseClick \"M\"\r\n  }\r\n}\r\nRButton::\r\n{\r\n  MouseGetPos(,,&amp;id)\r\n  if InStr(WinGetClass(id), \"Chrome\")\r\n  {\r\n    MouseClick \"M\"\r\n  }\r\n  else\r\n  {\r\n    MouseClick \"R\"\r\n  }\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#HotIf WinActive(&#8220;ahk_exe chrome.exe&#8221;) or WinActive(&#8220;ahk_exe msedge.exe&#8221;) RButton::MButton MButton::RButton \u3053\u306e &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=6482\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;AutoHotkey MButton&#x2194;RButton\/Chrome&#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-6482","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\/6482","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=6482"}],"version-history":[{"count":2,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/6482\/revisions"}],"predecessor-version":[{"id":6484,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/6482\/revisions\/6484"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}