ÄÜÆ®·Ñ¿¡ ´Ù¾çÇÑ º¯°æÀ» ÇÕ´Ï´Ù.
Control, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
¾Æ·¡ ¸®½ºÆ® ÂüÁ¶.
ClassNN (ÄÜÆ®·ÑÀÇ Å¬·¡½ºÀ̸§°ú ½Çü ¹øÈ£) ¶Ç´Â ÄÜÆ®·ÑÀÇ ÅؽºÆ®ÀÏ ¼ö ÀÖ½À´Ï´Ù. µÑ ´Ù Window Spy¸¦ ÅëÇÏ¿© ¾Ë¾Æ³¾ ¼ö ÀÖ½À´Ï´Ù. ÅؽºÆ®¸¦ »ç¿ëÇÒ ¶§, ºÎÇÕÇÏ´Â ÇàÀ§´Â SetTitleMatchMode·Î ¾Ë¾Æ³À´Ï´Ù. ÀÌ ¸Å°³º¯¼ö°¡ ºñ¾î ÀÖÀ¸¸é, ¸ñÇ¥ âÀÇ ÃÖ»óÀ§ ÄÜÆ®·ÑÀÌ »ç¿ëµË´Ï´Ù.
ÄÜÆ®·ÑÀÇ HWND (â ÇÚµé)¿¡ ÀÛµ¿ÇÏ°Ô ÇÏ·Á¸é, Control ¸Å°³º¯¼ö¸¦ ºó ä·Î µÎ°í ahk_id %ControlHwnd%
¸¦ WinTitle ¸Å°³º¯¼ö¿¡ ÁöÁ¤ÇϽʽÿÀ (ÀÌ ¹æ¹ýÀº ¼ûÀº ÄÜÆ®·Ñ¿¡µµ ÀÛµ¿ÇÕ´Ï´Ù. ½ÉÁö¾î DetectHiddenWindows°¡ ²¨Á® À־ µË´Ï´Ù). ÄÜÆ®·ÑÀÇ HWND´Â ÀüÇüÀûÀ¸·Î ControlGet Hwnd, MouseGetPos, ¶Ç´ÂDllCallÀ» ÅëÇÏ¿© ¿¶÷ÇÕ´Ï´Ù.
â Á¦¸ñ ¶Ç´Â ¸ñÇ¥ âÀ» ½Äº°ÇÏ´Â ±âŸ ±âÁØ. WinTitle ÂüÁ¶.
Á¸ÀçÇϸé, ¸ñÇ¥ â ÅؽºÆ®ÀÇ ºÎ¹®ÀÚ¿ÀÔ´Ï´Ù (Window Spy¿¡ ³ëÃâµÊ). ¼ûÀº ÅؽºÆ®´Â DetectHiddenText°¡ ÄÑÁ® ÀÖ¾î¾ß ŽÁöµË´Ï´Ù.
Á¦¸ñ¿¡ ÀÌ °ªÀÌ Àִ âÀº ¹«½ÃÇÕ´Ï´Ù.
ÅؽºÆ®¿¡ ÀÌ °ªÀÌ Àִ âÀº ¹«½ÃÇÕ´Ï´Ù.
Cmd¿Í Value ¸Å°³º¯¼ö´Â ¼·Î ÀÇÁ¸ÇÕ´Ï´Ù. ±×¸®°í ±× »ç¿ë¹ýÀº ¾Æ·¡¿¡ ±â¼úÇÕ´Ï´Ù.
Check: ¶óµð¿À ¹öÆ°À̳ª üũ ¹Ú½º¸¦ ÄÕ´Ï´Ù (üũ Ç¥½Ã¸¦ ÇÔ).
Uncheck: ¶óµð¿À ¹öÆ°À̳ª üũ ¹Ú½º¸¦ ²ü´Ï´Ù.
Enable: ÀÌÀü¿¡ ²¨Á® ÀÖ´Ù¸é ÄÜÆ®·ÑÀ» ÄÕ´Ï´Ù.
Disable: ÄÜÆ®·ÑÀ» ºÒ´ÉÈÇÕ´Ï´Ù ("ȸ»ö 󸮸¦ ÇÔ").
Show: ÀÌÀü¿¡ ¼û¾î ÀÖ¾ú´Ù¸é ÄÜÆ®·ÑÀ» º¸¿©ÁÝ´Ï´Ù.
Hide: ÄÜÆ®·ÑÀ» °¨Ãä´Ï´Ù. ÄÜÆ®·ÑÀÇ ´ÜÃà Å°(¹ØÁÙ ¹®ÀÚ)¸¦ ÀÛµ¿ÇÏÁö ¸øÇϵµ·Ï ¸·°í ½Í´Ù¸é, Control Disable
À» ÅëÇÏ¿© ÄÜÆ®·ÑÀ» ²ô½Ê½Ã¿À.
Style, N ¶Ç´Â ExStyle, N: ÄÜÆ®·ÑÀÇ ½ºÅ¸ÀÏÀ̳ª È®Àå ½ºÅ¸ÀÏÀ» º¯°æÇÕ´Ï´Ù. N ù ¹®ÀÚ°¡ Ç÷¯½º ¶Ç´Â ¸¶À̳ʽº »çÀÎÀ̸é N¿¡ ÀÖ´Â ½ºÅ¸ÀÏÀÌ Ãß°¡µÇ°Å³ª Á¦°ÅµË´Ï´Ù. ù ¹®ÀÚ°¡ ij·µ (^)À̸é, N¿¡ ÀÖ´Â ½ºÅ¸ÀϵéÀÌ °¢°¢ ¹Ý´ë »óÅ·ΠÅä±ÛµË´Ï´Ù. ù ¹®ÀÚ°¡ ¼ýÀÚÀ̸é, ±× ÄÜÆ®·ÑÀÇ ½ºÅ¸ÀÏÀÌ ¿ÏÀüÈ÷ µ¤¿© ¾º¿©Áý´Ï´Ù; Áï, NÀÌ µË´Ï´Ù. ErrorLevelÀº ¸ñÇ¥ â/ÄÜÆ®·ÑÀÌ ¹ß°ßµÇÁö ¾ÊÀ¸¸é ¶Ç´Â ½ºÅ¸ÀÏÀÌ Àû¿ëµÇÁö ¾ÊÀ¸¸é 1ÀÌ ¼³Á¤µË´Ï´Ù.
¾î¶² ½ºÅ¸ÀÏ º¯°æÀº WinSet Redraw¸¦ »ç¿ëÇÏ¿© Àüü âÀ» ´Ù½Ã ±×¸®±â¸¦ ¿ä±¸ÇÕ´Ï´Ù. ¶Ç, ½ºÅ¸ÀÏ Å×ÀÌºí¿¡ ½ºÅ¸ÀÏ ¹øÈ£µéÀ» ³ª¿ÇÏ°í ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î:
Control, Style, ^0x800000, Edit1, WinTitle ; WS_BORDER ½ºÅ¸ÀÏÀ» ±×ÀÇ ¹Ý´ë »óÅ·Π¼³Á¤ÇÕ´Ï´Ù.
ShowDropDown: ¼±ÅÃÀÌ º¸À̵µ·Ï ComboBox ¸Þ´º¸¦ ³»¸³´Ï´Ù.
HideDropDown: À§¸¦ ¹Ý´ë·Î ÇÕ´Ï´Ù.
TabLeft [, Count] ±×¸®°í TabRight [, Count]: SysTabControl32¿¡¼ Çϳª ÀÌ»óÀÇ ÅǸ¸Å ¿À¸¥ÂÊ ¿ÞÂÊÀ¸·Î À̵¿ÇÕ´Ï´Ù. Count´Â »ý·«Çϰųª ºñ¾î ÀÖÀ¸¸é 1·Î °£Áֵ˴ϴÙ. ´ë½Å¿¡ ÅÇÀ» Á÷Á¢ÀûÀ¸·Î ¹øÈ£·Î ¼±ÅÃÇÏ·Á¸é, ¾Æ·¡ÀÇ ¼ýÀÚ 5¸¦ ÀÌ º¸´Ù ÀÛÀº ¼ýÀÚ·Î ±³Ã¼ÇϽʽÿÀ. ¿øÇÏ´Â ÅÇ ¹øÈ£·Î ±³Ã¼ÇÏ½Ã¸é µË´Ï´Ù. ´Ù¸¥ ¸»·Î Çϸé, 0Àº ù ¹ø° ÅÇÀ» ¼±ÅÃÇÏ°í, 1Àº µÎ ¹ø° ÅÇÀ» ¼±ÅÃÇÕ´Ï´Ù. µîµî:
SendMessage, 0x1330, 5,, SysTabControl321, WinTitle ; 0x1330 is TCM_SETCURFOCUS. Sleep 0 ; ÀÌ ÁÙ°ú ´ÙÀ½ ÁÙÀº ¾î¶² ÅÇ ÄÜÆ®·Ñ¿¡´Â ²À ÇÊ¿äÇÕ´Ï´Ù. SendMessage, 0x130C, 5,, SysTabControl321, WinTitle ; 0x130C is TCM_SETCURSEL.
Add, String: ¹®ÀÚ¿(String)À» »õ ¿£Æ®¸®·Î ListBox, ComboBox (±×¸®°í °¡´ÉÇÑ ´Ù¸¥ À¯Çüµé) ¾Æ·¡¿¡ Ãß°¡ÇÕ´Ï´Ù.
Delete, N: N¹ø° ¿£Æ®¸®¸¦ ListBox ¶Ç´Â ComboBox·ÎºÎÅÍ Á¦°ÅÇÕ´Ï´Ù. NÀº ù ¿£Æ®¸®¿¡ ´ëÇÏ¿© 1ÀÌ µÇ°í µÎ ¹ø° ¿£Æ®¸®´Â 2°¡ µË´Ï´Ù. µîµî.
Choose, N: ListBox ¶Ç´Â ComboBox¿¡¼ N¹ø° ¿£Æ®¸®¸¦ ¼±ÅÃÇÕ´Ï´Ù. NÀº ù ¿£Æ®¸®¿¡ 1, µÎ ¹ø° ¿£Æ®¸®¿¡ 2°¡ µË´Ï´Ù. µîµî. ´ÙÁß-¼±Åà ¸®½ºÆ®¹Ú½º¿¡¼ ¸ðµç Ç׸ñÀ» ¼±ÅÃÇϰųª ÇØÁ¦ÇÏ·Á¸é, ´ÙÀ½ ¿¹Á¦¸¦ µû¸£½Ê½Ã¿À:
PostMessage, 0x185, 1, -1, ListBox1, WinTitle ; Select all listbox items. 0x185 is LB_SETSEL.
ChooseString, String: ¾Õ ºÎºÐÀÌ String¿¡ ºÎÇÕÇϴ ù ¹ø° ¿£Æ®¸®¸¦ ListBox ¶Ç´Â ComboBox¿¡¼ ¼±ÅÃÇÕ´Ï´Ù. °Ë»öÀº ´ë¼Ò¹®ÀÚ¸¦ ±¸ºÐÇÏÁö ¾Ê½À´Ï´Ù. ¿¹¸¦ µé¾î, ListBox/ComboBox¿¡ "UNIX Text"¶ó´Â Ç׸ñÀÌ µé¾î ÀÖ´Ù¸é, ´Ü¾î¸¦ unix (¼Ò¹®ÀÚ)·Î ÁöÁ¤Çصµ ÃæºÐÈ÷ ¼±ÅÃÇÒ ¼ö ÀÖ½À´Ï´Ù.
EditPaste, String: Edit ÄÜÆ®·Ñ¿¡¼ StringÀ» ij·µ/»ðÀÔ À§Ä¡¿¡ ºÙ¿© ³Ö½À´Ï´Ù (Ŭ¸³º¸µåÀÇ ³»¿ëÀº ¿µÇâÀ» ¹ÞÁö ¾Ê½À´Ï´Ù).
[v1.1.04+] ÀÌ ¸í·É¾î´Â ½ÇÆÐÇÏ¸é ¿¹¿Ü¸¦ ´øÁú ¼ö ÀÖ½À´Ï´Ù. ´õ ÀÚ¼¼ÇÑ Á¤º¸´Â ½ÇÇà½Ã°£ ¿¡·¯¸¦ ÂüÁ¶ÇϽʽÿÀ.
ErrorLevelÀº ¹®Á¦°¡ ÀÖÀ¸¸é 1ÀÌ ¼³Á¤µÇ°í ±×·¸Áö ¾ÊÀ¸¸é 0ÀÌ ¼³Á¤µË´Ï´Ù.
½Å·Ú¼ºÀ» °³¼±Çϱâ À§ÇÏ¿©, ÀÌ ¸í·É¾î¸¦ »ç¿ëÇÒ ¶§¸¶´Ù ÀÚµ¿À¸·Î Áö¿¬ ½Ã°£ÀÌ ÀÖ½À´Ï´Ù (Style°ú ExStyle Á¦¿Ü). ±× Áö¿¬ ½Ã°£Àº SetControlDelay¸¦ ÅëÇÏ¿© º¯°æÇÒ ¼ö ÀÖ½À´Ï´Ù.
ÇöÀç ¸¶¿ì½º°¡ ¿Ã¶ó¿Í ÀÖ´Â ÄÜÆ®·ÑÀÇ ClassNN ¶Ç´Â HWND¸¦ ¾Ë¾Æ³»·Á¸é, MouseGetPos¸¦ »ç¿ëÇϽʽÿÀ.
â Á¦¸ñ°ú ÅؽºÆ®´Â ´ë¼Ò¹®ÀÚ¿¡ ¹Î°¨ÇÕ´Ï´Ù. ¼ûÀº âÀº DetectHiddenWindows°¡ ÄÑÁ® ÀÖ¾î¾ß ŽÁöµË´Ï´Ù.
SetControlDelay, ControlGet, GuiControl, ControlGetText, ControlSetText, ControlMove, ControlGetPos, ControlClick, ControlFocus, ControlSend, WinSet
Control, HideDropDown, , ComboBox1, Some Window Title