GroupClose

GroupActivate 또는 GroupDeactivate으로 활성화 되었던 활성 창을 닫습니다. 다음 창을 순서대로 활성화합니다. 또한 그룹의 모든 창을 닫을 수도 있습니다.

GroupClose, GroupName , Mode

매개변수

GroupName

최초로 GroupAdd이 정의한 그룹의 이름

Mode

If omitted, the command closes the active window and activates the oldest window in the series. To change this behavior, specify one of the following letters:

R: 가장 새로운 창 (가장 최근에 활성화 된 창) 이 활성화됩니다. 그러나 명령어가 주어지는 순간 그룹에 아무 멤버도 활성화되어 있지 않을 경우에만 그렇습니다. "R"은 임시로 전혀 관련 없는 작업으로 전환할 경우에 유용합니다. GroupActivate, GroupDeactivate, 또는 GroupClose를 통하여 그룹으로 다시 돌아 오면, 가장 오래된 창이 아니라 여러분이 가장 최근에 작업한 창이 활성화됩니다.

A: 그룹의 모든 멤버가 닫힙니다. 이것은 효과가 WinClose ahk_group GroupName와 같습니다.

논평

Mode 매개변수가 "A"가 아닐 때, 이 명령어의 행위는 GroupName에 대한 이전 행위가 GroupActivate이었는가 아니면 GroupDeactivate인가에 의해 결정됩니다. GroupDeactivate였다면, 이 명령어는 그룹의 멤버가 아닐 때만 활성 창을 닫습니다 (그렇지 않으면 아무 일도 하지 않습니다). 만약 GroupActivate이었거나 아무것도 없었다면, 이 명령어는 활성창이 그룹의 멤버일 경우에만 닫습니다 (그렇지 않으면 아무일도 하지 않습니다). 이 행위 덕분에 GroupNameGroupActivate 또는 GroupDeactivate 핫키와 짝이 되게 GroupClose을 핫키에 할당할 수 있습니다.

When the active window closes, the system typically activates the next most recently active window. If the newly active window is a match for the same window specification as the window that was just closed, it is left active even though the default Mode would normally dictate that the oldest window should be activated next. [v1.1.35+]: If the newly active window is a match for any of the group's window specifications, it is left active.

창 그룹에 관한 더 자세한 정보는 GroupAdd를 참조하십시오.

GroupAdd, GroupActivate, GroupDeactivate

예제

Closes the active window activated by GroupActivate or GroupDeactivate and activates the newest window (the one most recently active) in a window group.

GroupClose, MyGroup, R