WinWaitClose

ÁöÁ¤µÈ âÀÌ Á¸ÀçÇÏÁö ¾ÊÀ» ¶§±îÁö ±â´Ù¸³´Ï´Ù.

WinWaitClose [, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]

¸Å°³º¯¼ö

WinTitle

¸ñÇ¥ âÀ» ½Äº°ÇÒ ¼ö Àִ â Á¦¸ñ ¶Ç´Â ±âŸ ±âÁØ. WinTitle ÂüÁ¶.

WinText

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

Seconds

½Ã°£ Á¦ÇѱîÁö ±â´Ù¸± ÃÊÀÇ °³¼ö ±×¸®°í ErrorLevelÀ» 1·Î ¼³Á¤ÇÕ´Ï´Ù. ºó ä·Î µÎ¸é ¹«ÇÑÁ¤ ±â´Ù¸³´Ï´Ù. 0À¸·Î ¼³Á¤Çϸé 0.5¸¦ ÁöÁ¤ÇÑ °Í°ú °°½À´Ï´Ù. ÀÌ ¸Å°³º¯¼ö´Â Ç¥Çö½ÄÀÌ °¡´ÉÇÕ´Ï´Ù.

ExcludeTitle

Á¦¸ñ¿¡ ÀÌ °ªÀ» °¡Áø âÀº Á¦¿ÜµË´Ï´Ù.

ExcludeText

ÅؽºÆ®¿¡ ÀÌ °ªÀ» °¡Áø âÀº Á¦¿ÜµË´Ï´Ù.

ErrorLevel

¸í·É¾î°¡ ½Ã°£ Á¦ÇÑ¿¡ °É¸®¸é ErrorLevelÀº 1¿¡ ¼³Á¤µË´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é 0ÀÌ ¼³Á¤µË´Ï´Ù.

³íÆò

ÁöÁ¤µÈ âÀÇ ½Çü°¡ Á¸ÀçÇÏÁö ¾ÊÀ» ¶§¸¶´Ù, ÀÌ ¸í·É¾î´Â Seconds µ¿¾È ½Ã°£ Á¦ÇÑÀ» ±â´Ù¸®Áö ¾Ê½À´Ï´Ù. ´ë½Å¿¡, Áï½Ã ErrorLevel¿¡ 0À» ¼³Á¤ÇÏ°í ½ºÅ©¸³Æ®´Â ½ÇÇàÀ» °è¼ÓÇÕ´Ï´Ù.

ÀÌ ¸í·É¾î°¡ ´ë±â »óÅ¿¡ ÀÖ´Ù¸é, hotkey, custom menu item, ¶Ç´Â timer¸¦ ÅëÇÏ¿© »õ ¾²·¹µå¸¦ ±âµ¿ÇÒ ¼ö ÀÖ½À´Ï´Ù.

¶Ç´Ù¸¥ ¾²·¹µå°¡ ÀÌ ¸í·É¾îÀÇ ¸Å°³º¯¼ö¿¡ »ç¿ëµÈ º¯¼öÀÇ ³»¿ëÀ» º¯°æÇÏ´õ¶óµµ, ÀÌ ¸í·É¾î´Â º¯°æµÈ °ÍÀ» ¾ËÁö ¸øÇÕ´Ï´Ù -- °è¼ÓÇؼ­ ¿ø·¡ ÀÌ ¸í·É¾î°¡ óÀ½ ±â´Ù¸®±â ½ÃÀÛÇÒ ¶§ÀÇ º¯¼ö¿¡ Á¸ÀçÇÏ´Â Á¦¸ñ°ú ÅؽºÆ®¸¦ »ç¿ëÇÒ °ÍÀÔ´Ï´Ù.

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

°ü·Ã Ç׸ñ

WinClose, WinWait, WinWaitActive, IfWinExist, IfWinActive, Process, SetTitleMatchMode, DetectHiddenWindows

¿¹Á¦

Run, notepad.exe
WinWait, Untitled - Notepad
WinWaitClose  ; WinWait°¡ ¹ß°ßÇÑ Ã¢ÀÌ ´ÝÈ÷±â¸¦ ±â´Ù¸³´Ï´Ù.
MsgBox, ³ëÆ®Æе尡 ÀÌÁ¦ ´ÝÇû½À´Ï´Ù.