One of the nice things about using a computer on a regular basis is that you tend to pick up some neat tricks along the way. And one of the best things about working for a tech site is being able to teach those tricks to you. My speciality is MacOS tips.
You may have heard of the following, but you may not have. Personally I have discovered them through trying to solve a problem and then Googling for a solution. So I can vouch they work!
10 MacOS Tips Worth Knowing About
Here you go. Fasten your seat belts.
Open More Than One Skype Instance
Normally, you can only open one Skype instance at a time. So if you wanted to run two separate Skype instances under separate usernames, then usually it would be not possible. You would have to log out of one user ID and sign into another.
But if you have say a customer support phone line, that requires multiple Skype lines, then there IS a workaround. Open Skype normally and sign into the first user ID. Then open Terminal and type the following :
#!/bin/bash rm ~/Library/Application\ Support/Skype/Skype.pid sleep 1 open -n "/Applications/Skype.app"
As soon as you go, a second instance of Skype will open alongside the other one, asking for the login details of your other ID.
Theoretically you can keep going, opening up as many Skype instances as you want. There seems to be no limit.
Wipe The Download Log
This one really took me aback when I first discovered it. It seems that your Mac keeps records of EVERYTHING you download – images, eBooks, documents, software, the whole nine yards.
To see what your Mac has on you, open the Terminal and type :
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'
I accidentally wiped mine yesterday, so I pulled someone else’s off the web. Hope they don’t mind.
To wipe the list, go to Terminal and type the following :
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'
Now type in the first command again to bring up the list, and you will see that nothing comes up. Be sure to run this command once a week or once a month, depending on how frequently you download.
Open Firefox Automatically in Private Mode
Maybe you are on a public Internet cafe or on a friend’s computer? If they have Firefox, you can use the following trick to get Firefox to open to Private Mode status right away.
open -a Firefox --args -private-window
Unfortunately it only works with Firefox. Chrome and Safari fell flat, and I can’t find any alternatives for those two browsers. Do you know of any?
Compile Your Own App Batch Install Script
One of the really annoying tasks you have to do, if you need to wipe your Mac and reinstall the OS, is to reinstall the apps. Remembering what the apps were is bad enough, but then downloading and installing them. Yuk, no thanks.
That’s why you should prepare for this eventuality in advance by installing HomeBrew on your computer, and then making an installation script for all of your installed programs. This script can then be run next time. All you would need to do on a newly formatted system is reinstall HomeBrew, and then run the script.
At this point, you’re probably panicking. But seriously, this is extremely easy. Once you have the Terminal open, copy and paste each command in order, and Terminal will do the rest for you.
HomeBrew is basically an easier way to install an app on your Mac – provided HomeBrew supports it. And it’s free. When it’s installed, just typing :
brew cask search
will show you every software app, supported by HomeBrew.
brew cask install app name
will automatically begin the downloading and installation process.
brew cask uninstall app name
will begin the uninstall process for an app.
To install HomeBrew, hit up the good old Terminal and type :
ruby -e "$(curl -fsSL "https://raw.githubusercontent.com/Homebrew/install/master/in stall)"
It might take a while, but when it is finally done, type :
brew tap caskroom/cask
and then :
brew install caskroom/cask/brew-cask
That’s HomeBrew installed. Now to make our installation script, you need to know the exact name that the app is listed under on Brew.
brew cask search Google Chrome
brings up :
This tells us that Brew can install three different types of Chrome for us, and they are listed as :
To start your batch script, open a text program such as TextEdit, and at the top, type #!/bin/sh to indicate it’s a script. Then by getting the Brew-specific names for each program, compile the script like this, and keep going until you’re done.
Then save the file as caskconfig.sh. Now when you run the script, HomeBrew will automatically download and install each program for you. This saves you the hassle of doing each one manually.
Remember though, don’t store this on your Mac, as you will lose it when you wipe and reformat the system! Put it in cloud storage instead!
Batch Rename Files
These days, it is simple to batch rename files. And it has become absolutely necessary. When you make a photo with your iPhone, or with a normal digital camera, it normally comes out as IMG1.jpg, IMG2.jpg. With MacOS screenshots, it is named by the date and time the picture was taken!
If you want them all to be named a certain way, highlight them, right-click and choose “Rename”. A box then comes up with options.
Choose how you want to rename them in the drop-down list at the top. Then type in the format, and click “Rename“. Then Finder does the work for you.
Granted, that is only 5 files. But if you had hundreds or even thousands of files to be renamed, being able to do them all at once would be priceless.
Make a Keyboard Shortcut For ANYTHING
For those who love doing everything with the keyboard, you can assign unique shortcuts to opening apps.
Just go to System Preferences–>Keyboard–>Shortcuts–>App Shortcuts. Drop down the “Application” menu, and choose the app you want to make a shortcut for.
Add a Menu Title, and then the keyboard shortcut. Finally, click “Add“.
This is harder than it sounds, because many keyboard shortcuts are already assigned to other programs already. So you need to think of something you will remember, that hasn’t already been taken. Good luck on that.
Lock Down Your Files To Prevent Unauthorized Changes
If you have files that should not be tampered with, you can lock that file in Finder. Locking it will prevent anyone from changing the file in any way. When you open a file, next to the name at the top, is an arrow pointing down. Click on that.
As you can see, there is a “Locked” checkbox. Click that, save, and close. Now whenever somebody tries to change the document, they will see :
Something important to note – if the document is still on your computer, clicking “unlock” will automatically unlock it. To keep the lock in place, you need to send it to someone. When they have it on their computer, they won’t have your administrator rights.
Send Files Quickly To Your iOS Devices (& Vice-Versa)
I am currently in love with AirDrop, as I have always found the experience of transferring files between devices a bit annoying. Small documents and small images are fine – you can just throw them in Dropbox, or use PushBullet – but as the size of the file increases, so do the stress levels transferring it back and forth.
So to send a file directly to AirDrop, right-click on the item, open the Share menu, and choose “AirDrop“. Make sure AirDrop and BlueTooth is switched on in both the sending and receiving devices.
There’s just so much you can do on a Mac, and I am learning new tips all the time. Share with us your favourite ones in the comments, and look out soon for another roundup of useful Mac tips.