½ºÅ©¸³Æ®ÀÇ ÇöÀç ¾²·¹µå¸¦ Á¤ÁöÇÕ´Ï´Ù.
#p::Pause ; Win+P¸¦ ÇÑ ¹ø ´©¸£¸é ½ºÅ©¸³Æ®°¡ Á¤ÁöµË´Ï´Ù. ´Ù½Ã ´©¸£¸é ½ºÅ©¸³Æ®°¡ Àç°³µË´Ï´Ù. Pause [, On|Off|Toggle, OperateOnUnderlyingThread?]
ºñ¾î Àְųª »ý·«µÇ¸é, ±âº» °ªÀº ToggleÀÔ´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é, ´ÙÀ½ ´Ü¾î Áß Çϳª¸¦ ÁöÁ¤ÇØ¾ß ÇÕ´Ï´Ù:
Toggle: ÇöÀç ¾²·¹µå¸¦ Á¤ÁöÇÕ´Ï´Ù. ´Ü, ±× ¾Æ·¡ÀÇ ¾²·¹µå°¡ Á¤ÁöÇØ ÀÖ´Â °æ¿ì´Â ¿¹¿ÜÀÔ´Ï´Ù. ÀÌ °æ¿ì ±× ¾Æ·¡ÀÇ ¾²·¹µå°¡ Àç°³µË´Ï´Ù.
On: ÇöÀç ¾²·¹µå¸¦ Á¤ÁöÇÕ´Ï´Ù.
Off: ÇöÀç ¾²·¹µå ¾Æ·¡ÀÇ ¾²·¹µå°¡ Á¤ÁöµÇ¾î ÀÖÀ¸¸é, Àç°³µÉ ¶§ ±× ¾Æ·¡ÀÇ ¾²·¹µå°¡ Àç°³µË´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é, ÀÌ ¸í·É¾î´Â ¾Æ¹« È¿°ú°¡ ¾ø½À´Ï´Ù.
Pause Off
¿¡ ´ëÇÏ¿© ÀÌ ¸Å°³º¯¼ö´Â ¹«½ÃµË´Ï´Ù. ¿Ö³ÄÇÏ¸é ¾ðÁ¦³ª ±× ¾Æ·¡ÀÇ ¾²·¹µå À§¿¡¼ ÀÛµ¿Çϱ⠶§¹®ÀÔ´Ï´Ù. ´Ù¸¥ °Í¿¡ ´ëÇؼ´Â, Pause°¡ ÄÑÁ® ÀÖÀ» °æ¿ì¿¡¸¸ È¿°ú°¡ ÀÖ½À´Ï´Ù (ToggleÀ» »ç¿ë Æ÷ÇÔ).
´ÙÀ½ ¼ýÀÚ Áß Çϳª¸¦ ÁöÁ¤ÇϽʽÿÀ:
0 (¶Ç´Â »ý·«): ÇöÀç ¾²·¹µå°¡ Á¤ÁöÇÕ´Ï´Ù; Áï, ÇöÀç Pause ¸í·É¾î¸¦ ½ÇÇàÇÑ ¾²·¹µå.
1: ÇöÀç ¾²·¹µå ¾Æ·¡ÀÇ ¾²·¹µå¸¦ Á¤ÁöÇÑ °ÍÀ¸·Î Ç¥½ÄÀ» ´ä´Ï´Ù. ±×·¡¼ Àç°³Çϸé, (ÀÖ´Ù¸é) ½ÇÇà ÁßÀÎ ¸í·É¾î¸¦ Á¾·áÇÑ ´ÙÀ½, Á¤Áö »óÅ·Πµé¾î°©´Ï´Ù. ÇöÀç ¾²·¹µå ¾Æ·¡¿¡ ¾²·¹µå°¡ ¾øÀ¸¸é, ½ºÅ©¸³Æ® ÀÚü°¡ Á¤ÁöÇÕ´Ï´Ù. ÀÌ ¶§¹®¿¡ ŸÀ̸Ӱ¡ ÀÛµ¿À» ¸ØÃä´Ï´Ù (ÀÌ È¿°ú´Â ½ºÅ©¸³Æ®¿¡ ¾²·¹µå°¡ ¾øÀ» ¶§ "Pause Script" ¸Þ´º Ç׸ñÀ» »ç¿ëÇÑ °Í°ú µ¿ÀÏÇÕ´Ï´Ù).
ÁÖÀÇ: A_IsPaused¿¡´Â ±× ¾Æ·¡ÀÇ ¾²·¹µåÀÇ Á¤Áö »óÅ°¡ ´ã±é´Ï´Ù.
ÇÖÅ°¿Í ÇÖ½ºÆ®¸µÀ» ²¨¹ö¸®´Â Suspend¿Í ´Ù¸£°Ô, pause¸¦ ÄѸé ÇöÀç ¾²·¹µå°¡ µ¿°áµË´Ï´Ù. ºÎÀÛ¿ëÀ¸·Î, ±× ¾Æ·¡¿¡ ÀÎÅÍ·´Æ®µÈ ¾²·¹µå°¡ ÀÖ´Ù¸é µ¿¸é »óÅ°¡ µË´Ï´Ù.
¾²·¹µå°¡ Á¤ÁöÇÒ ¶§¸¶´Ù, ŸÀ̸Ӵ ½ÇÇàµÇÁö ¾Ê½À´Ï´Ù. ´ëÁ¶ÀûÀ¸·Î, ¸í½ÃÀûÀ¸·Î ±âµ¿µÈ ¾²·¹µå´Â ÇÖÅ° ±×¸®°í ¸Þ´º Ç׸ñ°ú °°ÀÌ ¿©ÀüÈ÷ ±âµ¿µÉ ¼ö ÀÖ½À´Ï´Ù; ±×·¯³ª ¾²·¹µå°¡ ³¡³¯ ¶§, ±× ¾Æ·¡ÀÇ ¾²·¹µå´Â ¸ØÃâ °ÍÀÔ´Ï´Ù. ´Ù¸¥ ¸»·Î, °¢ ¾²·¹µå´Â ´Ù¸¥ ¾²·¹µå¿Í µ¶¸³ÀûÀ¸·Î Á¤ÁöÇÒ ¼ö ÀÖ½À´Ï´Ù.
½ºÅ©¸³Æ®ÀÇ ÇöÀç ¾²·¹µå°¡ Á¤Áö »óÅ¿¡ ÀÖÀ¸¸é Æ®·¹ÀÌ ¾ÆÀÌÄÜÀÇ »ö±òÀÌ ÃÊ·Ï»ö¿¡¼ »¡°£»öÀ¸·Î ¹Ù²ò´Ï´Ù. ÀÌ Ä÷¯ º¯È´Â ¾ÆÀÌÄÜÀ» µ¿°áÇϸé ÇÇÇÒ ¼ö ÀÖ½À´Ï´Ù. Menu ¸í·É¾îÀÇ ¸¶Áö¸· ¸Å°³º¯¼ö¿¡ 1À» ÁöÁ¤ÇÏ¸é µË´Ï´Ù. ¿¹¸¦ µé¾î:
Menu, Tray, Icon, C:\My Icon.ico, , 1
½ºÅ©¸³Æ®¸¦ Á¤ÁöÇÏÁö ¾Ê°í ŸÀ̸Ӹ¦ ²ô·Á¸é Thread, NoTimers
¸¦ »ç¿ëÇϽʽÿÀ.
Pause ¸í·É¾î´Â ±â´É ¸é¿¡¼ ³»Àå ¸Þ´º Ç׸ñ "Pause Script"¿Í ºñ½ÁÇÕ´Ï´Ù.
¸Þ´º¸¦ (Æ®·¹ÀÌ ¸Þ´º, ¸Þ´º ¹Ù, GUI ¹®¸Æ ¸Þ´º, µîµî.) º¸¿©ÁÖ°í ÀÖ´Â µ¿¾È (°ø½ÄÀûÀ¸·Î Á¤ÁöÇÑ °ÍÀº ¾Æ´ÏÁö¸¸) ½ºÅ©¸³Æ®´Â ¾ðÁ¦³ª Á¤ÁöÇÕ´Ï´Ù.
Suspend, Menu, ExitApp, ¾²·¹µå, SetTimer
Pause::Pause ; Åä±Û-Á¤Áö ÇÔ¼ö¸¦ "pause" Å°¿¡ ÇÒ´çÇÕ´Ï´Ù... #p::Pause ; ... ¶Ç´Â ±×°ÍÀ» Win+p³ª ±âŸ ´Ù¸¥ ÇÖÅ°¿¡ ÇÒ´çÇÕ´Ï´Ù.
; Pause ¸í·É¾î¸¦ ¶Ç´Ù¸¥ ½ºÅ©¸³Æ®¿¡ Àü¼ÛÇÕ´Ï´Ù. DetectHiddenWindows, On WM_COMMAND := 0x111 ID_FILE_PAUSE := 65403 PostMessage, WM_COMMAND, ID_FILE_PAUSE,,, C:\YourScript.ahk ahk_class AutoHotkey