Quick viewing(Text Mode)

Master Yo Ur

Master Yo Ur

Master YourMaster Mac OS X Your Way Master

OS X is a lot more than just a pretty face. Sure, the >> Turn your Mac into a file or basics are easy, but beneath that gorgeous surface >> Improve your web experience by creating lie countless powerful features. extensions and using site-specific Your Mac If you want to go beyond the basics, Master browsers Your Mac will take you there. With tips on everything from organizing your workspace to strengthening >> Secure your Mac with firmware passwords, your computer’s security, author Matt Cone will firewalls, and FileVault full-disk encryption show you how to tweak, customize, and control your Master Your Mac is packed with tips and add- Mac. And since many of the best tools for unlocking ons to make everything you do with your Mac faster, your Mac’s potential don’t come with OS X, you’ll easier, and better. Make OS X your own. discover the best apps to fix those everyday Apple annoyances and make your computer do things your way. About the Author In Master Your Mac, you’ll find out how to Matt Cone, a freelance writer specializing in Apple change hidden defaults and enable undocumented hardware and , has been a Mac user for features; repair disk permissions to improve perfor- more than 20 years. A former ghostwriter for some mance and keep things humming along; monitor of Apple’s most notable instructors, Cone founded your system; and even create a bootable USB drive Macinstruct.com in 1999, one of the most popular for emergencies. You’ll also learn how to: online destinations for OS X tutorials. >> Automate day-to-day tasks with AppleScript, triggers, and Automator macros >> Handle massive amounts of email and media Covers Mountain Lion with synced accounts and spam filters

THE FINEST IN GEEK ENTERTAINMENT™ “I LIE FLAT.” This book uses RepKover — a durable binding that won’t snap shut. cone www.nostarch.com simple ways to tweak,

Price: $29.95 ($32.95 CDN) / Shelve in: Operating Systems/Mac customize, and secure os x

matt cone Index

Numbers (application launcher), 58, AppleScript 1-2-3 (Soghoian and 60–67 Cheeseman), 130 1Password, 154, 276, 282–285 for computer control, 66 AppleScript Editor, 123–126 , 282–284 application and, application firewall, 308 integrating with Dropbox, 63–64 application launchers. See also 284–285 for math, 62 Alfred Preferences window, 65 configuring as, 59–60 A setting up, 60–63 LaunchBar, 67–76 system commands in, 66 application switcher, opening files abbreviations, in LaunchBar, Alfred Powerpack, 60, 66 with, 31 training in, 70–71 Amazon, 202 application-level keyboard actions. See also files, actions; EC2 cloud computing , 4 folders, actions platform, 306 changing and adding, 8–10 as, 153–154 for relay, 327 applications based on Bluetooth proximity AND operator, in Spotlight, 23 AppleScript use with, 126–127 monitor, 133–135 anonymity on Internet, 297, 319–327 automatically starting at login, configuring for Sidekick, 150–152 Apache web server, 246–247 13–18 location-based, 147–154 AppCleaner converting websites to, 219–227 active application removing applications with, crash, and hard disk repair Divvy to resize, 36 43–45 needs, 356 hiding, 5 SmartDelete in, 44 hiding all except active, 5 quitting, 4 appfirewall.log file, viewing, 311 iCloud use with, 231–232 active window, closing or Apple quitting active, 4 minimizing, 5 cloud service, 190. See quitting for power Activity Monitor, 342, 344–345 also iTunes Match conservation, 382 adapter, for display port, 89 Developer website, 130 receipt for installed, 350 address bars, for site-specific FileVault recovery key removing, 41–46 browsers, 221 storage by, 333 with AppCleaner, 43–45 Adium, 135, 154 Apple ID, 190 with Launchpad, 42–43 Player (preference linking to iCloud, 230 resuming at login, 16–17 pane), 45 AppleJack, 359 routing data through Tor, advanced alert, from script, 129 AppleScript, 121–130 323–324 AirPort, disabling on laptop, 381 as action, 153–154 saving script as, 130 AirPort Express Base Station, capabilities, 122 switching between, 30–31 255, 256 changing into folder action, 140 with Mission Control, 34–35 AirPort Extreme Base Station, 255 dictionary, 126–127 Applications folder, 57 connecting hard drive to, executing, 66 Apptivate, 12 257–258 for file and folder actions, AppZapper, 46 connecting printer’s USB 137–146 archive file (disk image), 110 cable to, 256 -control structures, 127–128 archiving. See also backups connecting USB hub to, 262 In Range script, 133, 134 email with MailSteward, 165–169 passwords, 261 launching, 130 finding in alarms, for laptop, 136 learning by example, 125–126 MailSteward archive, Alarms application, 183, 185–187 Out of Range script, 133, 134 168–169 album cover artwork, 197 use with applications, 126–127 folders, 145 alerts user interface for scripts, Areo Snap (Windows 7), 37 Alarms application for 128–130 audio alerts, from Pester, 185 advanced, 185–187 variables, 127 Aurora, 53 creating basic, 184–185 voice commands, creating authentication, after enabling in Pester, 183, 184–185 with, 105 FileVault, 332 from script, 128, 129 writing and running first, 123–124

390 | Index Master Your Mac ©2012, Matt Cone author: search operator Blind Backup Left-to-right synchroni- monitoring, 271–272 (Spotlight), 23 zation option, 268 notifications from, 272 automated backup process, 362 Bluetooth, disabling on laptop, 381 Readiness State pane in, 268 automating tasks. See AppleScript; Bluetooth proximity monitor, selecting synchronization macros 131–136 option, 268–269 Automator performing actions based on, setting up synchronizations, vs. AppleScript, 122 133–135 267–271 for creating folder actions, setting up, 132–133 synchronizing files, 269–270 140–142 Boolean operators, in Spotlight, 23 client-side filtering of spam, vs. macro creation with, 110–114 Bootable Left-to-right synchroniza- server-side, 176–177 Away message, Out of Range script tion option, 268 cloning hard drives, 367 for setting, 135 booting, in single-user mode, 358 closing active window, 5 brightness cloud, 229–236 B automatically adjusting, 48, 49 backup storage on, 370–372 of displays and keyboard storing passwords in, 285 Back to My Mac, 237–244 backlight, 380–381 coconutBattery application, 379 background transfer of data, 317 BusyCal, 188 color of display Backup Left-to-right synchronization Butler, 76 adjusting at night, 51–53 option, 268 settings for, 90–91 backups, 361–376 color of file label, 140 Dropbox for, 232 , symbol for, 5 excluding files from, 365 Caffeine, 47, 50–51 command line, rebuilding Spotlight of hard disks, 330 calculations index with, 26 of , 281–282 Alfred for, 62 compressing, folders, 145 making exact copy of hard disk, in Spotlight, hiding results, 21 computer, controlling, Alfred for, 66 366–370 , 188 conditional flow-control plan for, 362–363 scheduling events, in LaunchBar, structures, 128 restoring from, 373–376 73–74 scheduling, 364–365 synchronizing Alarms accessing from LaunchBar, storing on Internet, 370–372 application with, 186–187 72–73 before synchronization, 269–270 calibrating battery in laptop, synchronizing Alarms Time Machine, 257, 363–366 382–384 application with, 186–187 backward button, for site-specific cascading style sheets (CSS), control key, symbol for, 5 browsers, 221 overriding for site-specific converting websites, to applica- Bambenek, John, Grep Pocket browsers, 223 tions, 219–227 Reference, 28 categories in Spotlight, disabling, 59 cover art, adding to iTunes, 197 bandwidth central processing unit (CPU), 343 CoverSutra, 193 for CrashPlan, 372, 373 Activity Monitor for checking keyboard shortcuts for, 194 limiting with NoobProof, 313 use, 345 using player, 195 for SOCKS proxy, 299–300 iStat Menus for monitoring, 347 CPU (central processing unit), 343 for Tor relay, 326 certificate, for Safari developers, Activity Monitor for checking Bare Bones Software, 126 208 –211 use, 345 battery in laptop Certificate Signing Request, 210 iStat Menus for monitoring, 347 calibrating, 382–384 character recognition, with CrashPlan, 370–372 energy settings jitouch, 82 configuring network options, 372 configuration, 380 Cheeseman, Bill, restoring from backup, 375–376 maintenance, 377–384 AppleScript 1-2-3, 130 credit card numbers, protecting monitoring status, 379–380 Chrome. See web with Keychain Access, 280 replacing, 384 browser cron, for disk permission repairs, 352 tips for maintaining health, 378 ChronoAgent, 264 CronniX, 353–354 Belkin Zero Stand, 95 ChronoSync, 263–272 crontab, 352 BetterTouchTool, 80, 84–85 connecting computers, 264–267 CSS (cascading style sheets), over- BitTorrent, 327 installing, 264 riding for site-specific blacklisting, 309 mapping accounts for, 266 browsers, 223

Master Your Mac Index | 391 ©2012, Matt Cone custom keyboard shortcuts, displays email, 157–169. See also Mail creating, 10–12 adjusting settings, 89–91 application customizing Mac, 6 color and resolution, 89–90 adding accounts to Gmail, cycling through windows, 31 color at night, 51–53 177–179 positioning, 89–90 archiving, with MailSteward, D brightness of, 380–381 165–169 connecting multiple, 87–95 composing messages, in Dashboard, 31, 32 energy settings, 48–49 LaunchBar, 72–73 Dashboard widgets, removing, 43 availability on frequency of checks for, 158–159 data packets, encryption layers multiple, 93–94 processing with keystrokes, for, 320 port on Mac for, 88–89 163–165 database-driven website, hosting, DNS, dynamic, 252–253 to send files to Dropbox, 236 247–248 DNS encryption, 306 smart mailbox creation, 160–161 data-sniffing, HTTPS for protection DNSCrypt software, 306 spam, 171–182 against, 293 Dock, 5, 57 tags for categorizing, 161–163 date: search operator (Spotlight), 23 document categories, in emergency USB drive, 385–389 default , setting Spotlight, 21 creating, 387–388 Safari as, 222 documentation, for extension evaluating options, 386 delete key, symbol for, 5 creation, 217 using, 388–389 deleting. See removing documents viewing in , 389 Developer Certificate Utility z-O shortcut for opening, 4 encryption website, 208 automatically saving changes, 16 of backup disk, 364 developer files, hiding in searching inside, Alfred for, 65 FileVault whole disk encryption, Spotlight, 60 Doug’s AppleScripts for iTunes, 331–334 dictation feature, 101–102 130, 134 forcing HTTPS, 293–295 dictionary, in Spotlight, hiding, 21 downloading voices for Mac, 103 of hard disks and backups, Dictionary application, and Alfred, downloads, purging old, 144–145 329–337 63–64 Dragon Dictate, 105 of Internet connection, 291–306 disabling DriveSavers Data Recovery, 359 SOCKS for, 299–306 categories in Spotlight, 59 Dropbox, 229, 272 of Time Machine backup, energy settings, 50–51 integrating 1Password with, 335–337 gestures, 79–80 284–285 Triple Data Encryption Standard macros, 119 sharing folders with others, (DES), 280 discharges, of laptop battery, 378 233–235 Energy Saver, 48, 53 disconnecting peripherals, for for storing and synchronizing energy settings, 48–49 power conservation, 382 files, 232–236 configuring for battery, 380 disk activity, 343 Dropbox Camera Upload, 236 temporarily disabling, 50–51 disk drives. See hard drives DropDAV, 236 enterprise-wide firewall rules, 315 disk images, 110 Drupal website hosting, 246 ergonomics, 95 sizing to fit content, 111 dual core processors, 343 error handling, in AppleScript, 128 disk permissions repair, 349–354 duplicating selected files, 5 excluding files from backup, 365 automating, 352–354 Dyn account, registering for, Exhaust, 17–18 manual process, 351–352 252–253 exit relay, in Tor network, 325 disk usage, 343 dynamic DNS, 252–253 Exposé, 31 , 350, 351, 355, 389 DynDNS account, 253 extending battery life, 379 repairing hard disk, 357–358 Extensible Firmware Interface verifying hard disk, 356 E (EFI), 288 DiskTools Pro, 359 diskutil command-line utility EasyFind, 28 F for drive encryption, 335 EFI (Extensible Firmware list command, 330 Interface), 288 Fantastical, 74, 188 DiskWarrior, 359 eject key, symbol for, 5 FastMac, 384 display settings, for site-specific Electronic Frontier Foundation FastScripts, 130 browsers, customizing, (EFF), 294, 325 223–227

392 | Index Master Your Mac ©2012, Matt Cone files.See also backups routing websites through G actions SOCKS server for, 302 geographic location, Alfred automating with AppleScript, SOCKS proxy server setting for, 61 137–146 settings in, 303 Gesture Triggering slider, 82 Hazel for, 142–145 for Tor, 322 gestures, 77–86 for uploading to web Firesheep extension for , 293 BetterTouchTool for, 84–85 server, 140 firewalls, 302, 307–317 customizing or disabling, 79–80 changing label color for, 140 how they work, 308–309 with third-party applications, Dropbox for storing and OS X application, 309–311 80–85 synchronizing, 232–236 firmware, password protection, jitouch for, 82–84 duplicating selected, 5 287–289 learning to use, 79 excluding from backup, 365 Flickr, Fluid group on, 221 with MagicPrefs, 81–82 finding, 19–28, 65 Flip4Mac (), 45 in OS X, 78–80 missing, and hard disk repair flow-control structures, in Get Info window, 23 needs, 356 AppleScript, 127–128 Git, 217 opening with application Fluid global login items, adding, 15 switcher, 31 for creating site-specific global page, for Safari extension, repairing permissions, 349–354 browser, 220–222 215–216 restoring from backup, 373–376 user styles for, cleaning up, 224 Gmail, 169 sharing, 237 F.lux, 47, 51, 52 adding email accounts to, accessing, 241–242 folders 177–179 configuring preferences, 240 actions enabling IMAP access, 179–180 synchronizing between automating with AppleScript, filtering spam on server with, computers, 263–272 137–146 176–181 FileVault (FileVault 2), 330 Automator for creating, Mail application for reading, encrypting Time Machine 140–142 180–181 backup disks, 335–337 changing AppleScript Google, music offerings from, 202 and recovery disk creation, 387 into, 140 Google Chrome web browser recovery key for, 332 Hazel for, 142–145 1Password extension for, whole disk encryption, 331–334 OS X, 138–140 283–284 filtering Applications folder, 57 and site-specific browsers, 222 incoming email, 159–160 archiving, 145 Google Drive, 236 junk mail, 172–176 in Dropbox, 233–235 Google Reader Symphonia Final 2 spam on server with Gmail, symbolic for, 236 user style, 224 176–181 finding, 19–28 grep (command-line tool), 28 Find Any File ( Library folder, 104, 282 Grep Pocket Reference application), 26 moving forward or (Bambenek), 28 Finder backward in, 6 Griffin Elevator stand, 95 Find feature, 19 moving media folder to different Grooveshark music website, viewing emergency USB location, 202 226–227 drive in, 89 repairing permissions, 349–354 Group windows by application finding selecting for synchronization, option, 32 email messages, smart 267–268 mailbox for, 161 sharing (accessing remotely), files and folders, 19–28 241–242 H Alfred for, 65 for voice commands, 104 hard drives. See also network drives messages in MailSteward forward button, for site-specific accessing wirelessly, 261–262 archive, 168–169 browsers, 221 backup of, 330 tagged email messages, 163 FreeBSD IP packet filter, 311.See connecting to AirPort Extreme, Firefox web browser also ipfw 257–258 1Password extension for, Friedl, Jeffery, Mastering Regular controlling access, 258–261 283–284 Expressions, 28 encryption of secondary, 335 Firesheep extension for, 293 fsck command-line utility, 356, 358 importance of, 355 HTTPS Everywhere extension iStat Menus for monitoring, 347 for, 293–295 making exact copy of, 366–370

Master Your Mac Index | 393 ©2012, Matt Cone hard drives (continued) installing K sharing, 257–262 ChronoSync, 264 KeePass, 285 space for virtual memory, 345 high-quality voices, 102 keyboard, backlight brightness, verifying and repairing, 355–359 Safari extensions, 205, 217 380–381 hardware-based firewalls, 308 instant messaging, 135 Keyboard Maestro, 12, 114–119 Hazel instant open feature, in configuring groups of macros, for file and folder actions, LaunchBar, 71 118 –119 142–145 Internet. See also firewalls creating macro, 117–118 if-then statements, 142 anonymity on, 297, 319–327 Editor window, 115 purging old downloads, 144–145 with Tor, 321–323 enabling existing macros, 115 for taking out trash, 143–144 backup storage on, 370–372 keyboard shortcuts, 3 help encrypting connection, 291–306 for Alfred, 60, 61, 62 keyboard shortcut for, 6 searching, 64–65 for application switcher, 30 for LaunchBar, 76 storage space. See cloud built-in, for OS X, 4–10 helper applications, 15 Internet Recovery feature, 386 changing hiding Invite to folder, for Dropbox, 234 application level, 8–10 applications except active, 5 IP address system level, 6–7 developer files in Spotlight, 60 concealing, 295 for CoverSutra, 194 login item, 15 for router, 302 creating, 10–12 hotkeys. See keyboard shortcuts ipfw, 308, 309 for dictation, 101 HotSpotVPN, 296 NoobProof for creating rules, for email, 163–165 HTML document, for Safari exten- 311–315 for iTunes, 193–195 sion global page, 215 iPhoto, 231–232 for LaunchBar, 67, 68, 69 httpd.conf file, 248 iStat Menus, 342, 346–348 learning, 4–6 HTTPS, 292 iStat Pro, 348 as Maestro triggers, 116 forcing encryption, 293–295 iTools, 230 for Mission Control, 33–34 HTTPS Everywhere extension, for iTunes, 15, 189 modifiers in, 5 Firefox, 293–295 adding missing cover art, 197 reference guide for, 6 adding missing metadata to to resize window, 36 library, 195–197 I for script, 130 controlling with shortcuts, keychain, repairing and backing up, iAlertU, 136 193–195 281–282 iCloud, 229, 237, 272 LaunchBar for playing songs, Keychain Access, 276, 278–285 for file storage, 230–232 74–75 locking and unlocking for music storage, 202 library management, 198–202 keychain, 281 use with applications, 231–232 adding existing libraries, protecting sensitive information icons, for websites, 221 198–199 with, 280–281 if statement (AppleScript), 128 copying songs between requesting certificate with, 209 images, folder action to change to libraries, 200 signed certificate stored in, 211 PNG format, 138–139 creating new library, 199–200 window, 278 IMAP, enabling access, 179–180 duplicating, 200 keystrokes, processing email with, incoming email, filtering, 159–160 pausing, 134 163–165 index iTunes Match, 190–193, 202 kill command, 343, 346 in MailSteward, 167 signing up for, 190–191 kind: search operator (Spotlight), 23 for Spotlight, 21–22 upgrading music, 191–192 rebuilding, 24–25 rebuilding with command J L line, 26 label color, changing for file, 140 Indigo, 136 jitouch, 80, 82–84 laptop. See also battery in laptop information, protecting with job scheduler, cron as, 352–353 alarms for, 136 Keychain Access, 280–281 junk mail filtering, 172–176 energy settings, 49 Injector Creator tool server-side vs. client-side, keeping awake with lid closed, (NoobProof), 315 176–177 94–95 installed software, receipt for, 350 LastPass, 285

394 | Index Master Your Mac ©2012, Matt Cone LaunchBar, 12, 67–76 logs MarcoPolo, 154 accessing websites, 71–72 in ChronoSync, 271 Mastering Regular Expressions Advanced window, 69 from OS X firewall, (Friedl), 28 composing email messages, monitoring, 311 math, Alfred for, 62 72–73 looping flow-control structures, 128 McElhearn, Kirk, 28 general options, 68 media folder, moving to different help for, 76 M location, 202 instant open feature, 71 memory retype delay, 70 Mac OS X Hints website, scripts Activity Monitor for checking scheduling Calendar events, from, 136 use, 345 73–74 MacBook. See also battery in application sharing of, 342 setting up, 67–69 laptop menu bar training in abbreviations, 70–71 alarms for, 136 availability on multiple displays, launching energy settings, 49 93–94 AppleScript, 130 keeping awake with lid closed, pinning site-specific browsers applications, 57–76 94–95 to, 222–223 automatically at login, 13–18 macros, 109–119 menu commands, keyboard Launchpad, removing applications configuring groups of, 118–119 shortcuts for, 4–5 with, 42–43 creating MenuMeters, 348 left-handed users, gesture with Automator, 110–114 MercuryMover, 39 reversal for, 82 with Keyboard Maestro, Messages, 135 libraries for iTunes 114 –119 metadata adding metadata, 195–197 disabling, 119 adding to iTunes library, 195–197 managing, 198–202 saving, 112 for Spotlight, 23–24 adding existing libraries, vs. scripts, 122–123 Mini DisplayPort, 88 198–199 triggers for, 116 Mini-DVI port, 88 copying songs between using, 113 minimizing active window, 5 libraries, 200 MacScripter, 130 Mini-VGA port, 88 creating new library, 199–200 Macworld, backup services Mirror Left-to-right synchronization duplicating, 200 review, 370 option, 268 merging, 201 Magic Mouse, 78 Mission Control, 31–35 Library folder, 104 Magic Trackpad, 78 configuring settings, 31–34 showing, 282 MagicPrefs, 80, 81–82 interface, 34 Lighthouse, 250–252 Mail Act-On, 163–164 keyboard shortcuts for, 33–34 list, from script, 129 Mail application, 158–161 Mobile Me, 230 Little Snitch, 308, 315–317 junk mail filtering, 172–176 modified: search operator Little Snitch Configuration for reading Gmail, 180–181 (Spotlight), 23 application, 316 rules for filtering incoming modifier keys location-based actions, 147–154 messages, 159–160 changing, 7 lock, 66 tags for categorizing email, in keyboard shortcuts, 5 for keychain, 281 161–163 monitoring for screen, Proximity for, 133–134 MailSteward ChronoSync, 271–272 logging out of OS X, 4, 6 creating archive, 167–168 synchronizing files, 271–272 login items, 13–18 finding messages in archive, monitors. See displays adding, 14–15 168–169 Mono development framework, 285 adding global, 15 index in, 167 mounting network drives, Alfred as, 61, 62 setting up, 165–167 automatically, 14 configuring advanced settings, MailTags, 162, 163 mouse, gestures and, 77 17–18 MAMP, 247–248, 251 move and zoom grid (Moom), 37 configuring in System MAMP Pro, 254 moving media folder to different Preferences, 14 man-in-the-middle attacks, 292, 293 location, 202 finding, 18 mapping accounts, for multicore processors, 343 Sidekick as, 149 ChronoSync, 266 Viscosity as, 299

Master Your Mac Index | 395 ©2012, Matt Cone music, 189–201. See also iTunes OS X Photos folder, in Dropbox, 234 Match gestures in, 78–80 PHP, 247 LaunchBar for playing iTunes, server software in, 245 physical location, confidentiality of 74–75 OS X application firewall, 309–311 your, 319 streaming to other computers, monitoring logs, 311 pictures, folder action to change to 192–193 OS X Recovery Disk, for Time PNG format, 138–139 upgrading, 191–192 Machine backup PID (process identifier), 343 Myers, Rick, 212 restore, 374 killing process by, 346 MySQL, 247 OS X Server, 254 pinning site-specific browsers to port for, 248 OS X USB drive, 385 menu bar, 222–223 Out of Range script (AppleScript), PINs, protecting with Keychain N 133, 134 Access, 280 setting Away message, 135 places natural language programming, 125 outgoing connections, 309 adding to Sidekick, 149–150 network, 343 monitoring and controlling, manually switching, 152–153 network data transfer, Little Snitch 315–317 playback, pausing, 134 display of, 317 plug-ins network drives, 257 P for browser, removing, 43 automatically mounting, 14 for Sidekick, 154 controlling access, 258–261 packet analysis, VPN to prevent, 296 PNG format, folder action to change creating separate account for packet-analysis attacks, 293 images to, 138–139 each user, 259–261 page outs, from virtual memory Polipo, 323 network firewall, 308 use, 345 POP, vs. IMAP, 179 network-attached storage device, Panic, Transmit FTP client, 140, 249 port, for MySQL, 248 for Time Machine, 366 partitions, checking, 330 port forwarding, 262 network-scanning tools, 307–308 passwords, 275–285 enabling, 250–252 night, adjusting display color at, for AirPort Extreme, 261 Tor test of, 326 51–53 creating strong, 277 port on Mac, for displays, 88–89 NoobProof application, 308, 309 creating with Keychain Access, portable Mac, preparing for remote for creating ipfw rules, 311–315 279–280 connection, 241 default interface, 314 for encrypted Time Machine power conservation mode, for Injector Creator tool, 315 backup disk, 336–337 battery, 379 Noodlesoft forums, 146 for FileVault, 331 PowerPC processors, 288 Normal mode in NoobProof, 312 for firmware protection, 287–289 PowerTunes application, 198–202 NOT operator, in Spotlight, 23 for keychain, 281 library in, 199 notification alerts, from Pester, 185 managing, 276–277. See also merging libraries, 201 notifications, from ChronoSync, 272 Keychain Access preference panes, removing, 45–46 for MySQL database, 248 presets, grouping custom gestures O for network drive access, into, 82 258–259 printers, sharing, 256 on error statement saving in keychain, 278–280 privacy, 319 (AppleScript), 128 storing in cloud, 285 process, 343 onion routing, 320–321 pausing iTunes, 134 Activity Monitor to display Open Finder Items action, performance, monitoring, 340 active, 344 configuring, 112 peripherals, disconnecting for process identifier (PID), 343 Open Firmware, 288 power conservation, 382 killing process by, 346 opening files permissions, repairing, 349–354 proxies, messages from extensions z-O shortcut for, 4 Pester, setting alerts, 183, 184–185 through, 207 with application switcher, 31 phone numbers, protecting with Proximity opening windows, at login, 16–17 Keychain Access, 280 adding scripts and testing, 135 operators, to focus Spotlight Photo Stream, 231–232 configuring, 132–133 searches, 22–23 photos, folder action to change to for locking screen, 133–134 , symbol for, 5 PNG format, 138–139 Public folder, in Dropbox, 235 OR operator, in Spotlight, 23

396 | Index Master Your Mac ©2012, Matt Cone public wireless networks, 291 repeating alarms, 184 screen displays. See displays data capture by attackers, resizing windows, 35–36 , 238, 239, 242–243 292–293 with Cinch, 38 screen space, maximizing, 35–38 purging old downloads, Hazel for, with Moom, 37 screenshot, taking, 5 144–145 resolution of display, settings for, scripts. See also AppleScript 89–90 vs. macros, 122–123 Q resource allocation, 342 saving as applications, 130 restoring from backup, 373–376 search boxes, for site-specific quad core processors, 343 resume feature, 13 browsers, 221 QuickCal, 74 resuming applications at login, searches , 76 16–17 of Internet, Alfred for, 64–65 quitting applications, 4 Retype Delay slider, for for music, 193 for power conservation, 382 LaunchBar, 68 with Spotlight, 20–25 router, port forwarding on, 250 secondary volumes, R encryption of, 335 S Secure Note, keychain for random access memory (RAM), 343 storing, 280 Activity Monitor for checking Safari Developer program, security. See also encryption; use, 345 registering for, 208 passwords Range script (AppleScript), 133, 134 Safari Extension Builder, 211, 212 locking screen, 133–134 read access, for file sharing, 237 Safari Extension Certificate VPN (virtual private network), Readiness State pane, in Assistant window, 295–299 ChronoSync, 268 208–209 security questions, for FileVault real memory, 343 Safari web browser recovery key, 333 real-time alerts, from Little Snitch, 1Password extension for, selected file, duplicating, 5 315–317 283–284 Send to Dropbox service, 236 receipt, for installed software, 350 enabling developer menu, sensitive information, protecting recording moves, in AppleScript, 211–212 with Keychain Access, 125–126 extensions, 205–217 280–281 Recovery HD partition, 289, 386, 387 basics, 206–207 sensitivity, of multi-touch device, 82 FileVault keys storage in, 330 configuring settings, 212–215 sensors, iStat Menus for recovery key, for FileVault, 332 creating, 212–217 monitoring, 347 reference guide, for keyboard global page for, 215–216 server software, configuring, shortcuts, 6 groundwork for creating, 246–249 , 183–188 208–212 server-side filtering of spam, vs. LaunchBar to create, 73 ideas for creating, 217 client-side, 176–177 from Pester, 184 installing and building, 217 session hijacking, 292, 293 remote access, 237–244 HTTPS extension, 295 Set Alarm window, 185 remote connection, 52 saving and restoring tabs, 212 Set Folder Views action, preparing Mac for, 238–240, 241 setting as default, 222 configuring, 112 remote login, enabling, 249–250, 300 safe sleep mode, 383 SF T P, 249 removing sandboxing, 207 shallow discharges, of laptop applications, 41–46 saving battery, 378 with AppCleaner, 43–45 documents automatically, 16 sharing with Launchpad, 42–43 messages in MailSteward folders, with Dropbox, 233–235 login items, 15 archive, 168 hard drives, 257–262 messages in MailSteward passwords to keychain, 279–280 printers, 256 archive, 168 script as application, 130 shell scripts, executing, 66 preference panes, 45–46 scheduling shift key, symbol for, 5 repair disk permissions process, 350 backup, 364–365 shortcuts. See keyboard shortcuts repairing hard disk, with Disk Utility, Calendar events, in LaunchBar, Shortcuts application, 10–12 357–358 73–74 Sidekick, 149–152 repairing keychain, 281–282 SuperDuper backup, 368–370 actions configuration, 150–152 repeat with statement synchronizing files, 270–271 adding places, 149–150 (AppleScript), 128

Master Your Mac Index | 397 ©2012, Matt Cone Sidekick (continued) speech feedback window, for voice symbolic links, for Dropbox automatically disabling and commands, 100 folders, 236 enabling AirPort and speech recognition, 97 symbols, for key modifiers, 5 Bluetooth, 381 custom commands for, 104–105 Synchronize Bidirectional manually switching places, settings for, 98–99 option, 268 152–153 spelling words, 63–64 synchronizing files, 263–272 plug-ins, 154 Spotlight, 19, 58–60 in Dropbox, 232–236 triggers in, 152 configuring as application monitoring, 271–272 single-user mode, 287, 359 launcher, 59–60 scheduling, 270–271 booting in, 358 hiding developer files, 60 system monitoring, 340 site-specific browsers (SSB) index for, 21–22 Activity Monitor for, 344–345 creating, 220–222 rebuilding, 24–25 goal of, 342 customizing display settings, rebuilding with command terminology, 343 223–227 line, 26 pinning to menu bar, 222–223 metadata for, 23–24 Accessibility, 98 potential uses, 227 operators to focus searches, Listening Key, 99 user scripts to add functionality, 22–23 Dictation & Speech, 101 226–227 searches, 20–25 Text to Speech, 102, 103 sizing disk images to fit content, 111 SSB (site-specific browsers) Displays, 380 sleep, 66 creating, 220–222 Arrangement, 89–90 for battery calibration, 382–383 customizing display settings, Display, 89 keyboard shortcut for, 6 223–227 Energy Saver, 48 performing actions on, 15 pinning to menu bar, 222–223 General, 16 SleepWatcher, 15 potential uses, 227 iCloud, 230–231, 238, 241 smart mailbox, creating, 160–161 user scripts to add functionality, Keyboard, 6–7, 8 Smart Update, in SuperDuper, 368 226–227 for Mission Control SmartDelete, in AppCleaner, 44 SSH, 249 shortcuts, 33–34 SmartSleep application, 94 SSH Tunnel Manager application, for modifying application- SOCKS proxy servers, 292, 299–306 303–306 level shortcuts, 9 automatically connecting to, SSL Everywhere, 295 MagicPrefs, 81 303–306 starting. See launching Mission Control, 31–32 manually connecting to, 301–303 startup, locations for items Mouse, 79 setting up, 300–301 launched at, 18 preference panes, removing, Soghoian, Sal, AppleScript 1-2-3, 130 startup disk 45–46 solution stack, 247–249, 253 Disk Utility to repair, 357 Security & Privacy songs preventing booting from, 287 FileVault, 331, 334 copying between libraries, 200 Stay application, 92 Firewall, 309 fixing mislabeled in iTunes, stopping Apache web server, 247 Sharing, 249, 300 195–197 streaming music to other Spotlight, 21–22 playing in iTunes, LaunchBar for, computers, 192–193 Privacy, 24 74–75 Subversion, 217 Startup Disk, 368 Sophos SafeGuard, 337 sunset, F.lux determination of, 51, 52 Time Machine, 336, 363, 365 , 31 SuperDuper, 367–368 Trackpad, 79 virtual desktop creation with, 35 restoring from backup, 374–375 Users & Groups, 14 spaces scheduling backup, 368–370 system-level keyboard shortcuts, 4 displaying, 34 testing backup, 368 changing, 6–7 moving between in Mission SuperNoob mode in NoobProof, 312 Control, 35 switching T spam, 171–182 between applications, 30–31 enabling filter in Mail, 172–174 with Mission Control, 34–35 Tabinet, 205, 212 filtering on server with Gmail, between windows, with Mission buttons, 216 176–181 Control, 34–35 tags for categorizing email, 161–163 SpamSieve, 182 Symantec talking to computer. See speech Sparrow, 169 Norton, 317 recognition PGP Whole Disk Encryption, 337 TechTool Pro, 359

398 | Index Master Your Mac ©2012, Matt Cone temperature Trial Sync, 269 Viscosity VPM application for OS X, for battery storage, 378 triggers 153, 296–297 iStat Menus for monitoring, 347 for location-based actions, 149 preferences window, 298 Terminal application, 15 for macros, 116 VNC client, 244 for encrypting secondary in Sidekick, 152 voice commands, 97, 98 volumes, 335 Triple Data Encryption Standard AppleScript Editor for, 105 for hiding developer results in (DES) encryption, 280 folder for, 104 Spotlight, 60 TrueCrypt, 337 speech feedback window for, 100 manually connecting proxy try statement (AppleScript), 128 voices, for computer, 102–104 server with, 301 TuneUp, 195–197 volumes to start Apache, 247 encryption of secondary, 335 terminating process, 343 U selecting for synchronization, testing scripts in Proximity, 135 267–268 text-to-speech, customizing uninstalling. See removing VPN. See virtual private net- settings, 103–104 unpinning site-specific browsers work (VPN) TextWrangler, 126, 215 from menu bar, 222 VPN server preferences window, 298 The Onion Router (Tor). See Tor unsharing Dropbox folder, 234 VyprVPN, 296 project uploading files to web server, thread, 343 action for, 140 W Thunderbolt port, 88 UPnP (Universal Plug and Play), 250 TightVNC, 244 USB drive, emergency, 385–389 Wake for network access setting, 53 Time Capsule, 366 USB hub, connecting to AirPort waking, performing actions on, 15 Time Machine Extreme, 262 WaterRoof, 317 backup, 257, 281, 363–366 user interface, for AppleScript Watts, 383–384 encryption, 335–337 scripts, 128–130 web applications, 219 excluding files from, 365 user scripts, for site-specific web browsers. See also Firefox web restoring from, 372–374 browsers, 226–227 browser; Google Chrome network-attached storage user styles web browser; Safari web device for, 366 for Fluid, cleaning up, 224 browser; site-specific timeline, in Alarms, 186 for site-specific browsers, browsers (SSB) TimeMachineEditor, 364 223–225 1Password integration with, 282 toolbar buttons username, 275 removing plug-ins, 43 creating for Safari extension, 214 for Tor, 322 icon for, 216 V web proxy, Polipo as, 323 top command-line utility, 342, web servers, 246 345–346 variables, in AppleScript, 127 action for uploading files to, 140 Tor Browser Bundle for Mac, 321 vault, in 1Password, 282 Mac as, 245 Tor project (The Onion Router), 319 verifying hard disk, with Disk remote login to, 249–250 anonymous Internet surfing with, Utility, 356 websites 321–323 version control, for extension converting to applications, how it works, 320–321 creation, 217 219–227 routing application data Vidalia Bundle, 323 keyboard shortcuts for, 11 through, 323–324 Vidalia Control Panel, 322, 325 LaunchBar for accessing, 71–72 vulnerability to attacks, 327 virtual desktops, creating, with making accessible, 250–253 Tor relay, configuring Mac as, Spaces, 35 Safari extensions for adding 324–326 virtual memory, 345 features, 206 Torbutton, 323 virtual private network (VPN), 292 for strong password trackpad configuring automatic generation, 285 gestures and, 77 connection, 297–299 whitelisting, 309 sensitivity, 82 disadvantages, 297 window management applications, Transition setting, in F.lux, 52 manually connecting Mac to, 35–38 Transmit FTP client (Panic), 140, 249 296–297 Cinch, 37–38 trash, emptying, 6 selecting service provider, 296 Divvy, 35–36 with Hazel, 143–144 VirtualHostX, 254 Moom, 37

Master Your Mac Index | 399 ©2012, Matt Cone windows controlling position and display, 92 cycling through, 31 minimizing active, 5 reopening at login, 16–17 resizing, 35–36 switching between, with Mission Control, 31–35 Windows PC, connecting to Mac from, 244 wireless networks hard drive access, 261–262 printer connection, 256 public, 291–293 wireless technologies, energy consumption, 381 Witch, 39 WiTopia personalVPN, 153, 296 WordPress website, hosting, 246 words, defining and spelling, 63–64 workflow, 122 in Automator, 110–113 write access, for file sharing, 237

X XAMPP, 253–254 Xcode, 60 XTS-AES 128 encryption, 329

400 | Index Master Your Mac ©2012, Matt Cone