看板 WOW 關於我們 聯絡資訊
※ 引述《Ithildin (伊西爾丁)》之銘言: 今天無聊在玩雙開,看到Ithildin的範例,再加上一些AutoHotkey論壇和WIKI上 的範例,WASD可以運作,但是我還是習慣會用滑鼠轉視角,所以最後會兩個角色 會越走越遠…… .ahk大概是這樣(記得用utf-8): ─────────────────────────────────── WinGet, wowid, List, 魔獸世界 ClonesPush(strKeys) { global wowid1 global wowid2 ; 多開記得多加3,4,5,... IfWinNotActive, ahk_id %wowid1% ControlSend, , %strKeys%, ahk_id %wowid1% IfWinNotActive, ahk_id %wowid2% ControlSend, , %strKeys%, ahk_id %wowid2% ; 同理,多開記得多加 } ; 這是跳 ~Space::ClonesPush("{Space down}") ~Space Up::ClonesPush("{Space up}") ; 這是W(前進) ~w::ClonesPush("{w down}") ~w Up::ClonesPush("{w Up}") ; 1-0 的熱鍵範例 ~1::ClonesPush("{= down}{= up}{1 down}{1 up}") ; Shift+ 1-0 的熱鍵範例 ~+1::ClonesPush("{Shift down}{= down}{= up}{1 down}{1 up}{Shift up}") ; Ctrl+ 1-0 的熱鍵範例 ~^1::ClonesPush("{Ctrl down}{= down}{= up}{1 down}{1 up}{Ctrl up}") ; Alt+ 1-0 的熱鍵範例 ~!1::ClonesPush("{Alt down}{= down}{= up}{1 down}{1 up}{Alt up}") ─────────────────────────────────── 當然,QWEASD、1-0、Shift+ 1-0、Ctrl+ 1-0和Alt+ 1-0加上去,這.ahk檔案會 有點長…… 相關之合法性或遊戲使用者條款的論述及闡釋,請參閱參考文獻之內容。 參考文獻: 1. http://www.dual-boxing.com/wiki/index.php/AutoHotKey (於2011/11/1日參閱) 2. http://www.autohotkey.com/forum/topic74463.html (於2011/11/1日參閱) 3. http://www.dual-boxing.com/wiki/index.php/GM_Conversations (於2011/11/1日參閱) 3. Ithildin, 2011. 多開多控 multibox & 三螢幕照片. WOW/PTT. AID: #1EW65ozd. -- BIG BROTHER IS WATCHING YOU —— George Orwell, Nineteen Eighty-Four --
look32019:媽我頭推了!! 11/03 00:18
cigaretteass:樓下幹嘛跪著推文 11/03 00:18
incKevin:嗚~ 11/03 00:19
soulknight:好文 不推嗎? 11/03 00:21
Ithildin:喔喔 我WASD寫得不太好 就乾脆用跟隨來寫了 11/03 00:22
Ithildin:原來AutoHotkey可以寫成這種子程式模式 看起來清爽好多阿 11/03 00:23
Ithildin:無用神寫這麼有用的文章這樣對嗎(下跪) 11/03 00:24
look32019:樓上跪著開三螢幕! 11/03 00:26
Ithildin:開三螢幕打逼超爽的! 11/03 00:27
hwp1006:我跪了 11/03 00:34
Ithildin:AHK啟動後就算聊天也會多按到數字 中文輸入時很煩 11/03 00:41
Ithildin:無用神有沒有解決法(跪) 11/03 00:42
在參考文獻1的網頁中,有一個「Suspending AHK」 當中提到: ~Enter::Suspend, Toggle (Enter對話輸入;再次Enter則啟動) ~/::Suspend, On (這可能是巨集或指令) ~Escape::Suspend, Off (ESC) ~r::Suspend, On (R是回答先前的密語) 這四條是參考文獻上的,Try it!
tw0517tw:跪 11/03 00:56
pentis:跪下 11/03 01:01
danielxiii:我看過六個螢幕的....一個人控5隻薩滿... 11/03 01:42
nowbell:/跪 11/03 03:15
nowbell:成就:在 gert面前跪下。GET!! 11/03 03:16
cabiashi:看到這id.../下跪 11/03 03:29
justreal:/下跪 11/03 08:18
sfat5388:我回神的時候,不知道為什麼已經跪在地上了... 11/03 09:05
※ 編輯: gert 來自: 220.134.187.97 (11/03 09:06)
serialhon:老闆問我幹嘛要跪著寫程式 11/03 09:16
eyebrow0928:等下老闆就跪著看你寫程式了 11/03 10:44
TxKxZeke:Orz.... 11/03 13:46
s32635:啊...剛跪下撞到桌子了orz 11/03 14:21
doghouse:推推 11/03 14:22
b810093:問一下 一定得多台電腦才能多開嗎 單機單銀幕可以嗎@@ 11/03 15:22
BigCat:先跪 11/03 15:32
coolboy16:在無用面前跪下! 11/03 15:35
RedLover1009:/跪下 11/04 00:08
babyface1977:神出現了! 11/04 19:58
ironsalami:→ nowbell:成就:在 gert面前跪下。GET!! 11/10 11:43
ironsalami:I大成功地召喚了gert XD! 11/10 11:43
ironsalami:成就:在 gert面前使用/kneel (/下跪) 指令 11/10 11:44
ironsalami: "等你回過神的時候,你已經跪在地上了" 11/10 11:44
xyzk:對了,我存utf8好像不能動,要存ansi,~_~a不懂 11/11 23:29