WinMaximize

ÁöÁ¤µÈ âÀ» ÃÖ´ë Å©±â·Î È®´ëÇÕ´Ï´Ù.

WinMaximize [, WinTitle, WinText, ExcludeTitle, ExcludeText]

¸Å°³º¯¼ö

WinTitle

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

WinText

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

ExcludeTitle

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

ExcludeText

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

³íÆò

âÀ» º¹±¸ÇÏ·Á¸é WinRestore¸¦ »ç¿ëÇÏ°í ÃÖ¼ÒÈ­ÇÏ·Á¸é WinMinimize¸¦ »ç¿ëÇÕ´Ï´Ù.

ƯÁ¤ À¯ÇüÀÇ Ã¢ÀÌ WinMaximize¿¡ Á¦´ë·Î ÀÀ´äÇÏÁö ¾ÊÀ¸¸é, ´ë½Å¿¡ ´ÙÀ½ ¹æ¹ýÀ» »ç¿ëÇØ º¸½Ê½Ã¿À:

PostMessage, 0x112, 0xF030,,, WinTitle, WinText  ; 0x112 = WM_SYSCOMMAND, 0xF030 = SC_MAXIMIZE

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

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

°ü·Ã Ç׸ñ

WinRestore, WinMinimize

Example

Run, notepad.exe
WinWait, Untitled - Notepad
WinMaximize ; À§¿¡¼­ ¹ß°ßÇÑ Ã¢À» »ç¿ëÇÕ´Ï´Ù

^Up::WinMaximize, A  ; È°¼º âÀ» ÃÖ´ëÈ­ ÇÒ ÇÖÅ°¸¦ ÇÒ´çÇÕ´Ï´Ù.