QuickLook is one of Apple’s best additions to OS X. You can view all sorts of files, even if you do not have the correct program installed on your Mac. Just hit the space bar while a file is highlighted. I often want to look at a text file, copy something, and paste it into another document. After running two Terminal commands, this is possible through QuickLook without ever having to open the document. I’m not certain why Apple doesn’t enable this by default.
Open Terminal and enter these two commands:
defaults write com.apple.finder QLEnableTextSelection -bool TRUE
Now you will be able to highlight text and copy it directly from the QuickLook window. This is especially useful if someone sends you a .docx and don’t have Microsoft Office installed.
Whenever I get a bunch of new computers and phase out some old ones, I typically want them to have the same name. Since I do not want duplicates, I just prepend (or append) “Repurpose-” to the computer name. Then, I can name the new computer with the same without any conflicts. Finally, I update the JSS record of the computer to change it’s building to “Recycled.” Below is the script I use to do this. Continue reading “OS X: Bulk Rename Computers That Are Being Repurposed”
TextExpander is great for saving time writing repetitive text. However, I recently discovered that you can also run scripts via a TextExpander keystroke. To do this, create a new snippet and choose Shell Script as the Content type. Then type your script in.
You create a file or enter some Terminal commands, which get sent to the printer. Instead of printing out what you typed, the printer recognizes that the text is actually a set of instructions, known as the Printer Job Language (PJL), which are then carried out by the printer. In this case, we tell the printer to change the message shown on the little display on the printer. So instead of it showing “READY,” you can make it say (almost) whatever you want. Continue reading “Freak Out Your Friends By Changing The “Ready” Message On HP Printers”