Skip to main content
deleted 132 characters in body
Source Link
Lri
  • 106.4k
  • 19
  • 230
  • 283

⇧⌘. shows hidden files in file dialogs. It also works and in some third party applications like TotalFinder. Transmit also has an actiona menu item for toggling hidden files, but it's assigned to ⇧⌘B by default.

There's nothing equivalent to that in Finder though. But you could always assign a shortcut to a script like this: with FastScripts or by creating an Automator service.

set k to "comk="com.apple.finder AppleShowAllFiles"
set r to do shell script[[ "defaults"$(defaults read " & k
do shell script "defaults write " & k & " -bool $k)" & (r is== 0 as text)
tell application "Finder"
    quit
 ]] && b=true delay|| 0.2b=false
defaults write $k -bool launch$b
  osascript -e delay'quit 0.2
app "Finder"' && open activate
end-a tellFinder

I use FastScripts, but you could also create an Automator service and give it a shortcut in the keyboard preferences:

⇧⌘. shows hidden files in file dialogs. It also works in TotalFinder. Transmit also has an action for toggling hidden files, but it's assigned to ⇧⌘B by default.

There's nothing equivalent to that in Finder though. But you could always assign a shortcut to a script like this:

set k to "com.apple.finder AppleShowAllFiles"
set r to do shell script "defaults read " & k
do shell script "defaults write " & k & " -bool " & (r is 0 as text)
tell application "Finder"
    quit
    delay 0.2
    launch
    delay 0.2
    activate
end tell

I use FastScripts, but you could also create an Automator service and give it a shortcut in the keyboard preferences:

⇧⌘. shows hidden files in file dialogs and in some third party applications like TotalFinder. Transmit also has a menu item for toggling hidden files, but it's assigned to ⇧⌘B by default.

There's nothing equivalent to that in Finder though. But you could assign a shortcut to a script like this with FastScripts or by creating an Automator service.

k="com.apple.finder AppleShowAllFiles"
[[ "$(defaults read $k)" == 0 ]] && b=true || b=false
defaults write $k -bool $b
osascript -e 'quit app "Finder"' && open -a Finder

deleted 93 characters in body
Source Link
Lri
  • 106.4k
  • 19
  • 230
  • 283

In file dialogs pressing . toggles showing⇧⌘. shows hidden files in file dialogs. It also works in some third party apps like Transmit and TotalFinder. Transmit also has an action for toggling hidden files, but it's assigned to ⇧⌘B by default.

There's nothing equivalent to that in Finder though. But you could always assign a shortcut to a script like this:

#!/bin/bash

trapset 'exitk 0'to EXIT
k="com"com.apple.Finderfinder AppleShowAllFiles"
read="`defaultsset readr $kto 2>&1do /dev/null`"
[[shell "$read"script =="defaults trueread ||" "$read"& ==k
do 1shell ||script "$read""defaults ==write yes" ]]& &&k b=false& ||" b=true
defaults-bool write" $k& -bool(r $b
osascriptis -e0 'tryas text)
quittell appapplication "Finder"
end    quit
    delay 0.12
tell app "Finder"
  launch
    delay 0.2
    activate
end'end tell

I use FastScripts, but you could also create an Automator service and assigngive it a shortcut in the Keyboard preference panekeyboard preferences:

In file dialogs pressing . toggles showing hidden files. It also works in some third party apps like Transmit and TotalFinder.

There's nothing equivalent to that in Finder though. But you could always assign a shortcut to a script like this:

#!/bin/bash

trap 'exit 0' EXIT
k="com.apple.Finder AppleShowAllFiles"
read="`defaults read $k 2>&1 /dev/null`"
[[ "$read" == true || "$read" == 1 || "$read" == yes ]] && b=false || b=true
defaults write $k -bool $b
osascript -e 'try
quit app "Finder"
end
delay 0.1
tell app "Finder"
launch
delay 0.2
activate
end'

I use FastScripts, but you could also create an Automator service and assign it a shortcut in the Keyboard preference pane:

⇧⌘. shows hidden files in file dialogs. It also works in TotalFinder. Transmit also has an action for toggling hidden files, but it's assigned to ⇧⌘B by default.

There's nothing equivalent to that in Finder though. But you could always assign a shortcut to a script like this:

set k to "com.apple.finder AppleShowAllFiles"
set r to do shell script "defaults read " & k
do shell script "defaults write " & k & " -bool " & (r is 0 as text)
tell application "Finder"
    quit
    delay 0.2
    launch
    delay 0.2
    activate
end tell

I use FastScripts, but you could also create an Automator service and give it a shortcut in the keyboard preferences:

deleted 39 characters in body
Source Link
Lri
  • 106.4k
  • 19
  • 230
  • 283

In file dialogs pressing . toggles showing hidden files. It also works in some third party apps like Transmit and TotalFinder.

There's nothing equivalent to that in Finder though. But you could always assign a shortcut to a script like this:

#!/bin/bash

trap 'exit 0' EXIT
k="com.apple.Finder AppleShowAllFiles"
read="`defaults read $k 2>&1 /dev/null`"
[[ "`defaults"$read" read== $k`"true || "$read" == "false"1 || "$read" == yes ]] && b=trueb=false || b=falseb=true
defaults write $k -bool $b
osascript -e 'try
quit app "Finder"
end
delay 0.1
tell app "Finder"
launch
delay 0.2
activate
end'

I use FastScripts, but you could also create an Automator service and assign it a shortcut in the Keyboard preference pane:

In file dialogs pressing . toggles showing hidden files. It also works in some third party apps like Transmit and TotalFinder.

There's nothing equivalent to that in Finder though. But you could always assign a shortcut to a script like this:

#!/bin/bash

trap 'exit 0' EXIT
k="com.apple.Finder AppleShowAllFiles"
[[ "`defaults read $k`" == "false" ]] && b=true || b=false
defaults write $k -bool $b
osascript -e 'try
quit app "Finder"
end
delay 0.1
tell app "Finder"
launch
delay 0.2
activate
end'

I use FastScripts, but you could also create an Automator service and assign it a shortcut in the Keyboard preference pane:

In file dialogs pressing . toggles showing hidden files. It also works in some third party apps like Transmit and TotalFinder.

There's nothing equivalent to that in Finder though. But you could always assign a shortcut to a script like this:

#!/bin/bash

trap 'exit 0' EXIT
k="com.apple.Finder AppleShowAllFiles"
read="`defaults read $k 2>&1 /dev/null`"
[[ "$read" == true || "$read" == 1 || "$read" == yes ]] && b=false || b=true
defaults write $k -bool $b
osascript -e 'try
quit app "Finder"
end
delay 0.1
tell app "Finder"
launch
delay 0.2
activate
end'

I use FastScripts, but you could also create an Automator service and assign it a shortcut in the Keyboard preference pane:

deleted 39 characters in body
Source Link
Lri
  • 106.4k
  • 19
  • 230
  • 283
Loading
added 174 characters in body
Source Link
Lri
  • 106.4k
  • 19
  • 230
  • 283
Loading
edited body
Source Link
Daniel
  • 35.1k
  • 31
  • 155
  • 193
Loading
Source Link
Lri
  • 106.4k
  • 19
  • 230
  • 283
Loading