WinKill

ÁöÁ¤µÈ âÀ» °­Á¦·Î ´Ý½À´Ï´Ù.

WinKill [, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]

¸Å°³º¯¼ö

WinTitle

¸ñÇ¥ âÀ» ½Äº°Çϴ â Á¦¸ñ ¶Ç´Â ´Ù¸¥ ±âÁØ. WinTitle ÂüÁ¶.

WinText

Á¸ÀçÇϸé, ¸ñÇ¥ â ÅؽºÆ®ÀÇ ºÎ¹®ÀÚ¿­ÀÔ´Ï´Ù (µ¿ºÀµÈ Window Spy À¯Æ¿¸®Æ¼¿¡ ³ëÃâµÊ). ¼ûÀº ÅؽºÆ®´Â DetectHiddenText°¡ ÄÑÁ® ÀÖÀ¸¸é(ON) ŽÁöµË´Ï´Ù.

SecondsToWait

»ý·«µÇ°Å³ª ºñ¾î ÀÖÀ¸¸é, ÀüÇô ±â´Ù¸®Áö ¾Ê½À´Ï´Ù. 0À̸é 500ms¸¦ ±â´Ù¸®¸³´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é, âÀÌ ´ÝÈ÷±â¸¦ ÁöÁ¤µÈ °³¼öÀÇ ÃÊ µ¿¾È ±â´Ù¸³´Ï´Ù (¼Ò¼öÁ¡À» Çã¿ëÇÏ°í Ç¥Çö½Äµµ °¡´ÉÇÕ´Ï´Ù). âÀÌ ±× ±â°£ ¾È¿¡ ´ÝÈ÷Áö ¾Ê´õ¶óµµ, ½ºÅ©¸³Æ®´Â ½ÇÇàÀ» °è¼ÓÇÕ´Ï´Ù. ErrorLevelÀº ÀÌ ¸í·É¾î·Î ¼³Á¤µÇÁö ¾Ê½À´Ï´Ù. ±×·¡¼­ âÀÌ È®½ÇÇÏ°Ô ´ÝÇû´ÂÁö È®ÀÎÇÒ ÇÊ¿ä°¡ ÀÖ´Ù¸é IfWinExist ¶Ç´Â WinWaitClose¸¦ »ç¿ëÇϽʽÿÀ.

ExcludeTitle

Á¦¸ñ¿¡ ÀÌ °ªÀÌ Àִ âÀº Á¦¿ÜÇÕ´Ï´Ù.

ExcludeText

ÅؽºÆ®¿¡ ÀÌ °ªÀÌ Àִ âÀº Á¦¿ÜÇÕ´Ï´Ù.

³íÆò

ÀÌ ¸í·É¾î´Â ¸ÕÀú âÀ» Á¤»óÀûÀ¸·Î ´ÝÀ¸·Á°í °£·«ÇÏ°Ô ½ÃµµÇÕ´Ï´Ù. ½ÇÆÐÇϸé, ±×ÀÇ ÇÁ·Î¼¼½º¸¦ Á¾·áÇÏ¿© ±× âÀ» °­Á¦·Î ´ÝÀ¸·Á°í ½ÃµµÇÕ´Ï´Ù.

ºÎÇÕÇÑ Ã¢ÀÌ È°¼ºÈ­µÇ¾î ÀÖ´Ù¸é, ±× âÀº ±× ¾Æ·¡¿¡ ºÎÇÕÇÑ ´Ù¸¥ ⺸´Ù ¿ì¼±ÀûÀ¸·Î ´ÝÈü´Ï´Ù. ÀϹÝÀûÀ¸·Î, ¿©·¯ âÀÌ ºÎÇÕÇϸé, (°¡Àå ÃÖ±Ù¿¡ »ç¿ëµÈ) ÃÖ»óÀ§ âÀÌ ´ÝÈü´Ï´Ù.

ÀÌ ¸í·É¾î´Â ÃÖ»óÀ§¿¡ ºÎÇÕÇÑ Ã¢¿¡¸¸ ÀÛµ¿ÇÕ´Ï´Ù. ´Ü, WinTitleÀÌ ahk_group GroupNameÀÎ °æ¿ì´Â Á¦¿ÜÇÕ´Ï´Ù. ÀÌ °æ¿ì, ±×·ì ¾ÈÀÇ ¸ðµç âÀÌ ¿µÇâÀ» ¹Þ½À´Ï´Ù.

â Á¦¸ñ°ú ÅؽºÆ®´Â ´ë¼Ò¹®ÀÚ¸¦ ±¸º°ÇÕ´Ï´Ù. ¼ûÀº ÅؽºÆ®´Â DetectHiddenWindows¸¦ ÄѸé ŽÁöµË´Ï´Ù.

°ü·Ã Ç׸ñ

WinClose, WinWaitClose, Process, WinActivate, SetTitleMatchMode, DetectHiddenWindows, Last Found Window, IfWinExist, IfWinActive, WinWaitActive, WinWait, GroupActivate

¿¹Á¦

IfWinExist, Untitled - Notepad
    WinKill ; À§¿¡¼­ ¹ß°ßÇÑ Ã¢À» »ç¿ëÇÕ´Ï´Ù
else
    WinKill, Calculator