Finder를 다시 시작하지 않고 숨겨진 파일을 토글 할 수 있습니까? 파일을 쉽게 토글 할

명령 , AppleScript, Automator 액션 또는 대시 보드 위젯을 통해 숨겨진 파일을 토글하는 방법에는 여러 가지가 있습니다 . 그들 모두는 Finder 윈도우를 닫았다가 다시 열었습니다.

반면, 파일 열기 대화 상자에서을 누르면 숨겨진 파일을 쉽게 토글 할 수 있습니다 Command+Shift+Period.

Finder를 다시 시작하지 않아도 되나요?


결론

대신 경로 파인더 를 사용하는 것이 좋습니다 . 그러면 왜곡없이 숨겨진 파일을 토글 할뿐만 아니라 다른 많은 좋은 것들이 있습니다. 정말 멋진 앱입니다.



답변

지금 해결책이 있습니다.

TotalFinder (0.9.1) 의 최신 릴리스는 Finder를 다시 시작하지 않고도 숨겨진 파일 표시 / 숨기기를 토글 할 수 있습니다. 그것을 테스트하고 잘 작동하며 Finder의 오래 지속되는 성가심을 제거합니다. TotalFinder는 시험판 소프트웨어이므로 무료로 사용할 수 있지만 최종 가격에 도달하면 약 $ 10 또는 $ 15입니다.


답변

아니요. 환경 설정 파일이 뒤에서 수정되었음을 파인더 (또는 해당 문제에 대한 프로세스)에 알리는 방법이 없으므로 사용할 수 없습니다.


답변

나는 비슷한 질문을 여기에서 발견했다 : Apple Script-Closed Finder Windows 다시 열기

adayzdone 의 게시 된 스크립트가 원하는 것일 수 있습니다. 여전히 Finder를 다시 시작해야하지만 다시 시작하면 닫았을 때와 같은 디렉토리에있는 동일한 창을 반환합니다.

tell application "Finder"
   set windowTargets to target of Finder windows
    quit
end tell

set OnOff to do shell script "defaults read com.apple.finder AppleShowAllFiles"
    if OnOff = "NO" or OnOff = "OFF" then
        set OnOffCommand to "defaults write com.apple.finder AppleShowAllFiles ON"
    else
        set OnOffCommand to "defaults write com.apple.finder AppleShowAllFiles OFF"
    end if
    do shell script OnOffCommand
    delay 1

tell application "Finder" to launch
    tell application "Finder"
    repeat with aTarget in windowTargets
        make new Finder window at aTarget
    end repeat
end tell

참조 된 질문에서 복사