MacOS
  • 목록
  • 아래로
  • 위로
  • 쓰기
  • 검색

[수정3] 모든 응용프로그램 종료 앱 QuitAllApps

QuitAllApps.app.zip

https://github.com/laelsirus/QuitAllApps



모든 응용프로그램 종료 앱 입니다

저장하지 않은 문서는 저장 여부를 물어봅니다

응답하지 않는 앱은 강제종료 합니다 (테스트 중)

아래 스크립트를 이용하였습니다

자유롭게 수정하세요


- 알림 센터 초기화 추가, 한글 알림 05/20/20:30

- 님의 아이콘 적용, 버튼 한글화, 응답하지 않는 앱 Kill 05/26/01:30

- alert -> dialog 수정 05/26/11:30



--by Ael

display dialog "모든 어플리케이션을 종료합니다" buttons {"닫기", "종료"} default button {"종료"}

if button returned of result = "종료" then

    do shell script "cd `getconf DARWIN_USER_DIR`

rm -rf com.apple.notificationcenter

killall usernoted; killall NotificationCenter"

    tell application "System Events"

        set theVisibleApps to (name of application processes where visible is true)

    end tell

    repeat with thisApp in theVisibleApps

        try

            tell application thisApp

                try

                    quit every document

                    quit every window

                on error

                    killall

                end try

            end tell

        end try

    end repeat

end if




    잠자기 활성화/비활성화 토글 앱 SleepToggle

https://x86.co.kr/macnews/3505782

SleepToggle.app.zip 잠자기 활성화/비활성화 토글 앱입니다현재 잠자기 활성화 상태에 따라 반대 상태로 토글됩니다첫 토글 시 권한 묻습니다터미널이 켜진 상태에서 실행하...
Ael | 2019.05.20


 

  • 구독(37명)

Ael Ael
42 Lv. 42766/43000P

댓글 5

참여를 하시면 세상을 바꿉니다.
profile image
Ael 작성자 2019.05.26. 01:07 |댓주소:#3517843
Mactopia

오옷 감사합니다

둘다 좋습니다!!


응답하지 않는 앱은 수동으로 강제종료 해야 리스프링이 되길래 killall 하는 구문 추가, 수정하였습니다 ㅎㅎ

실제로 응답하지 않는 앱까지 강제 종료하고 리스프링 되는지는 지켜봐야겠어요

댓글 쓰기

선택 삭제 전체 선택
익명상태

신고

"님의 댓글"

이 댓글을 신고 하시겠습니까?

삭제

"님의 댓글"

이 댓글을 삭제하시겠습니까?