For some reason, on a Mac using Parallels Desktop to run Word and Visio in Windows, I cannot right click on an embedded Visio flowchart to open it in Visio. Usually, when you right click on an embedded Visio chart, you get the “Visio object” option, which includes an option to “edit”. But mine doesn’t have that option!!
However, I figured out that a simple keyboard shortcut can let you open the Visio for editing.
In Word running in Windows, use
alt+double click (or
option+double click) to open the embedded Visio chart in Visio for editing. When you hold down the
alt/option key while double clicking on the embedded flowchart, it will open in Visio. Sweet!
Simple, yet hidden!
I had no idea that you can make your dock icons transparent when you hide an app. In fact, I didn’t even know you can ‘hide’ apps….I always just either used ‘alt+tab’ to switch between apps, or minimized them. So I learned something!
To make your hidden app icons turn translucent in the Dock, all it takes is a simple Terminal command:
defaults write com.apple.Dock showhidden -bool YES
Then, you need to restart the Dock, which you can do using
To reverse this setting, simple run “No” instead of yes
defaults write com.apple.Dock showhidden -bool NO
Oh, and also the keyboard shortcut for hiding an app is “cmd+H”
I annoyingly had a OneNote notebook I used at work on a PC, but I couldn’t get it to sync into OneNote on my Mac.
Here’s the secret – it won’t automagically appear, you have to manually open the notebook.
Click on the plus sign in the Notebook dropdown.
In the popup window that opens, click “Open”, then select OneDrive or wherever your Notebook is synced, and then choose the Notebook you want to open.
That’s it! Kind of weird why Microsoft would not just make all Notebooks sync automagically, but well, its Microsoft.
A nifty edition to the git command line is autocomplete. First, get the git completion script:
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
Then edit your
~/.bash_profile file to add the following code:
if [ -f ~/.git-completion.bash ]; then
(go here for help on editing your .bash_profile)
That’s it. Now you can type
git and press Tab twice to get an autocomplete list of commands.
Did you know you can open applications directly from the command line in Terminal? The command is
To open a url in the browser from the command line, use
You don’t need quotes around the url. This will use the default browser on your machine.
will open the Applications folder in Finder.
To open a specific application, use the path to that application followed by the
(Airdroid is a great application for transmitting files from your computer to phone wirelessly.)
If you want to open Sublime Text from the terminal, you can use the command
Will open the current directory in Sublime Text.
If you’re writing a ruby script, use these commands instead:
system("open", "/Applications/Adobe\ Illustrator\ CS6/Adobe\ Illustrator.app")
I accidentally found a really cool Terminal keyboard shortcut yesterday. You may already know that Terminal will autocomplete a file name or method name if you press tab after typing a portion of the word. For example:
You can see I typed
ls to list the files and folders in the current location. Then I started typing
cd Fi to change the directory to “FiveMinuteChinese”. As a shortcut I can now press the
Tab key, and Terminal will autocomplete the folder name:
Now what I just learned was that if you press the
Tab key twice, Terminal will show you a list of possible options. See the screenshot below:
Here I typed
cd C, then pressed
Tab twice, and Terminal gave me a list of all files or folders that start with the letter “C”. Pretty cool huh? If you’re using
irb or another console type environment, you can use this same shortcut to give you a list of possible methods or autocomplete method names.
Hope this is useful!
Don’t know why this seems to be turned off by default, but its a simple checkbox in the settings. Check the box for
Word -> Preferences -> Print -> Print background colors and images