Professional Documents
Culture Documents
Majin4x2 Macropad and Autohotkey Tutorial (Thai)
Majin4x2 Macropad and Autohotkey Tutorial (Thai)
2. ติดตัง้ โปรแกรม
1 of 10
3. บนเดสก์ท็อปของคุณ ให้คลิก๊ ขวาและเลือก New > AutoHotkey Script
2 of 10
5. คลิก๊ ขวาที่ไฟล์ “Thai.ahk” บนเดสก์ท็อปของคุณแล้วคลิก๊ Edit script.
3 of 10
7. ใน Notepad ให้วางสคริปต์ต่อไปนี:้
F15::SendText "
This is the text that will send pasted when you press F15 on the Macropad
นีค
่ อ
ื ข ้อความทีจ
่ ะถูกวางเมือ
่ คุณกด F15 บน Macropad
)"
F16::SendText "
This is the text that will send pasted when you press F16 on the Macropad
นีค
่ อ
ื ข ้อความทีจ
่ ะถูกวางเมือ
่ คุณกด F16 บน Macropad
)"
F17::SendText "
This is the text that will send pasted when you press F17 on the Macropad
นีค
่ อ
ื ข ้อความทีจ
่ ะถูกวางเมือ
่ คุณกด F17 บน Macropad
)"
F18::SendText "
This is the text that will send pasted when you press F18 on the Macropad
นีค
่ อ
ื ข ้อความทีจ
่ ะถูกวางเมือ
่ คุณกด F18 บน Macropad
)"
F19::SendText "
This is the text that will send pasted when you press F19 on the Macropad
นีค
่ อ
ื ข ้อความทีจ
่ ะถูกวางเมือ
่ คุณกด F19 บน Macropad
)"
4 of 10
*** คุณสามารถแก้ไขข้อความในวงเล็บได้ตามใจชอบ
5 of 10
9. ดาวน์โหลด Vial เพื่อตัง้ ค่าคียบ์ น Macropad [ลิงค์: https://get.vial.today/download/]
6 of 10
12. คลิก๊ “Run anyway”
7 of 10
15. (1) คลิก๊ ปุ่ มบน Macropad ที่คณ
ุ ต้องการให้เป็ น F15
(2) ที่ดา้ นล่าง ให้คลิก๊ แท็บ “App, Media and Mouse” แล้วกด F15
ทําเช่นเดียวกันจนกว่าคุณจะมีปมุ่ F15 ถึง F19 เพื่อใช้สคริปต์ AutoHotkey
8 of 10
17. บนเดสก์ท็อปของคุณ, ดับเบิล้ คลิ๊กไฟล์ “Thai.ahk” ที่เราบันทึกไว้ก่อนหน้านีเ้ พื่อเรียกใช้งาน
19. ตอนนีค้ ณ
ุ สามารถเปิ ดไฟล์ Notepad ใหม่เพื่อทดสอบ Macropad และ Script ของคุณ
คลิก๊ ขวาบนเดสก์ท็อปของคุณแล้วคลิก๊ New > Text Document
->
9 of 10
20. ขณะที่อยู่ในไฟล์ Notepad ให้ลองกด F15 บน Macropad ดู คุณควรเห็นข้อความต่อไปนีว้ างอยู่
21. เมื่อใดก็ตามที่คณ
ุ เปลี่ยนไฟล์สคริปต์ โปรดอย่าลืมบันทึก และคลิก๊ Reload Script
คุณสามารถทําได้โดยคลิก๊ ขวาที่ไอคอน H สีเขียวเล็กๆ ในซิสเต็มเทรย์ แล้วคลิก๊ " Reload Script"
22. เมื่อคุณไม่ตอ้ งการใช้ AutoHotkey Script เพียงคลิ๊กขวาทีไ่ อคอน AutoHotkey แล้ว คลิ๊ก Exit
10 of 10