Mac custom shortcut keys to hide or show files
This tutorial teaches you how to customize the shortcut keys for hiding and displaying folders (command+shift+.).
1.
Open the application--automator--Select Services--Library--Utilities--Select Run shell Script--Drag to the right-hand workspace.
2.
Copy the following code into the text box:
status=if [$STATUS ==Else
3.
Set the Service drop-down menu "no input"--located in "any app"--cmd+s saved as "Toggle Hidden Files". Open the finder--service and you'll see the "Toggle Hidden Files" option you just made.
4.
Open System Preferences--keyboard--Shortcut tab--select "Service" on the left--tick "Toggle Hidden files" on the right--double-click "Toggle Hidden Files" to the right-press the shortcut key command+shift+. That's it!
5.
Setting a right-click menu item is the same as using Automator in the shortcut keys above, the only difference being that the service receives mentioned above is received, this time select files and folders, select Finder, and Save as " Hiddenorshow Files "is OK. The Hiddenorshow Files feature can be used later in the right-click menu "Services" that the finder pops up.
Mac custom shortcut keys to hide or show files