iOS: Change how Calendar events look in Notifications

Long frustrated with how calendar events look within the Notification Center I’ve discovered a way to change it.

As part of iOS 7.1 Apple improved on the ability to view calendar events by adding a list view button in the Daily view. I have noticed that if you toggle this to list view within the Calendar app then your calendar events within Notification Center will also show as a list.

[crarko adds: Is this actually new? I don’t remember having looked for this in previous versions of iOS.]

Source: Mac OSX Hints


10.9: Enable experimental network commands

Many advanced network configuration commands can be reached with the scutil command line tool. Launch and run:
ENABLE_EXPERIMENTAL_SCUTIL_COMMANDS=1 scutil –net, then type help and press the Return key to see the available options.

For example:

localhost:~ user$ ENABLE_EXPERIMENTAL_SCUTIL_COMMANDS=1 scutil –net
set “Automatic” selected
> help

Available commands:

help : list available commands file : process commands from file
quit [!] : quit

commit : commit any changes
apply : apply any changes

create interface [ | ]
create protocol
create ser …

Source: Mac OSX Hints


Paste an address and Contacts will parse it

I’m not sure how long this has been the case, but if you copy an address, say from a web site, and paste it into the first address field (street) in Contacts, Contacts will parse appropriately.

For example, try:

1234 Easy St
Pleasantville, CA 43402

When pasted into Contacts it will correctly place the City, State and Zip into the appropriate fields.

[crarko adds: OK, I’ll admit I don’t know when this was introduced either because I’d long ago stopped looking for it. Nice to know data detectors keeps being improved.]

Source: Mac OSX Hints


10.9: Run sysdiagnose with keyboard shortcut

The command-line utility sysdiagnose can be triggered by pressing Cmd+Opt+Ctrl+Shift+Period, and it may take a few minutes to complete. When ready, the output will automatically be revealed in a Finder window (or it can be manually retrieved from /var/tmp).

What sysdiagnose Collects:
A spindump of the system
Several seconds of fs_usage ouput
Several seconds of top output
Data about kernel zones
Status of loaded kernel extensions
Resident memory usage of user processes
All system logs, kernel logs, opendirectory log, windowserver log, and log of power management events
A System Profiler report
All spin and crash reports
Disk usage information
I/O Kit registry information
Network status
If a specific process is supplied as an argument: list of malloc-allocated buffers in the process’s heap is collected

Source: Mac OSX Hints


10.9: Add an Automator action to Calendar

Apple removed the option to add an action to Maverick’s Calendar app but you can use Automator to accomplish this.

I found that if you use Automator to add an action an Automator calendar will appear over in the Calendar side bar. Then just select the Automator calendar for the item you are adding.

[crarko adds: I had to play around a bit in Automator to figure out what to do here, but it looks like creating a Calendar Alarm action will do the trick.]

Source: Mac OSX Hints


10.9: Encrypt/Password-Protect a PDF in Preview

With the latest versions of (since OS X v10.8, I believe) which save versions of files rather than the old standard Save dialogues, it took me a while to figure out how to Save As… and encrypt a PDF file with a password.

While clicking on the File menu, press the Option key, which causes the Duplicate menu item to become Save As… instead. Then you’ll see the familiar Save As.. sheet with the Encrypt checkbox. Enabling this allows you to set a password for the PDF file.

[crarko adds: I tested this, and it works as described. This may be common knowledge, but serves as another example of why it’s often helpful to explore the modifier keys in an application before getting too frustrated.]

Source: Mac OSX Hints


Export vector drawings from Keynote to a PNG with transparency

Instead of buying expensive vector drawing software, Keynote can be used as a simple but great vector drawing tool. The problem is you can only export entire slides as images from the File menu and there will be a white background. There is no obvious way of exporting just the vector art to an image file. Fortunately there is a solution. Use the following method to extract just your vector art creation to a .png file with alpha transparency.
Create a vector-based drawing.
Drag and select the entire vector drawing you are going to export.
Choose Edit

Display iTunes artwork in Growl notifications

OS X and Growl notifications are AppleScriptable and great for displaying user-defined text, but not so hot for user-defined images. OS X can only display the sending application’s icon, and Growl no longer accepts raw iTunes artwork image data or regular image files.

Growl’s iTunes limitation can be overcome by converting an iTunes track’s raw artwork image data into a TIFF file that can be read and passed to Growl:

tell application “iTunes” to set _rawData to raw data of artwork 1 of current track

set _startupDisk to (path to startup disk as text)

set _tempTiffFile to (open for access file (_star …

Source: Mac OSX Hints


iOS: Search text in Google through contextual menus

Unlike with the Mac, in iOS there is no way to select text and search for it on Google in a new tab. There is, however, a workaround that brings about the same result on iOS.

Select text in Safari to bring up the context menu on iOS and then tap on Define. This brings up the dictionary panel for the selected text. If you’ve selected a word that is not in the dictionary, or multiple words or usually even if the word is in the dictionary, on the bottom right there is Search Web. Tapping that opens a new tab and searches for the selected text. This is equivalent to selecting text, copying, opening new tab, pasting the text in omnibar.

Things to note:
Even though the hint mentions Google, this uses the default search engine set in the Safari preferences so your preference is respected.
This is not specific to Safari. Any app that allows selection of text, and brings up the contextual menu will work with this by opening Safari. …

Source: Mac OSX Hints


Make Time Machine use a Local Volume as a Network Volume

This procedure shows you how to prevent Time Machine from using all available free space on a local volume by backing up to a sparse disk image bundle stored on a shared folder on a local volume.

Time machine uses a feature of the HFS+ filesystem that was introduced in Mac OS X 10.5 (Leopard) called ‘directory hard links.’ Like file hard links, a directory that is hard linked to another directory is not actually a distinct directory, but is instead a pointer to the original directory. Time Machine uses these directory hard links to reduce duplication and save space by making references to entire directory trees whose contained files have not been modified.
To properly copy or duplicate a Time Machine backup, these directory hard links must be preserved. Unfortunately, directory hard links are proprietary to Apple. Apple discourages their casual use by third party developers because, if used incorrectly, they could create recursive directory structures that would ren …

Source: Mac OSX Hints