Can I view hidden files and directories from the Open or Save As dialog boxes without making them visible in the Finder?
You don’t need an Apple Script or Visual Basic macro to do this as you can do it using a simple keyboard shortcut from within the Open or Save As dialogue windows. Using MS Word as an example:


In MS Word go to File > Open… or File > Save As…
When the window opens press the shift⌘ .  keys to toggle the display of hidden files on
Now you’ll be able to see hidden items and, if supported by the application you’re using, select them as well


Not only does this approach have no effect on the Finder, it also automatically toggles hidden files off again once you've saved or opened the file. In other words, the next time you’re in one of those dialog windows you won't see hidden files unless you want to (in which case you'd just use the shortcut again).

NOTE: The above keyboard shortcut also works within the Finder to toggle hidden files on or off more generally. Of course, if you’re using it within the Finder then the setting remains until you change it again.