Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Chronologically sort trimmed videos in iPhoto Apps
if you take movies with your iOS device (or other camera) that need to be trimmed, you may have encountered the following. If you do not trim the movie on the device, but do it later on your Mac using QuickTime, the file’s date will change to the date you trimmed it, resulting in an incorrect sort order in iPhoto.

Terminal and touch come to the rescue:

First check the original file’s date and time in the Finder by selecting it and pressing Command-I.

Then, in Terminal, use touch to change the date and time. Here’s an example:
 touch -t 201208191230 /Users/myname/Desktop/trimmed_movie.mov 
This will change the file's modification date to August 19, 2012 at 12:30. Doing this before importing the trimmed video will keep an appropriate sort order in iPhoto.

Check man touch for more on using this command.

[kirkmc adds: The touch command is nothing new, and there's even a hint about using touch with iPhoto that's more than ten years old. I thought it was worth posting this, however, because of the issue with dates that are changed when editing files such as movies.

If you want a GUI alternative, you should look at A Better Finder Attributes, which I recently reviewed for Macworld.]
  Post a comment  •  Comments (3)  
  • Currently 3.20 / 5
  You rated: 2 / 5 (5 votes cast)
 
[2,660 views] Email Article To a Friend View Printable Version
Script to Pause and Resume Growl with a Hidden Menu Icon Apps
Growl includes a feature to pause and resume notifications, which is very useful when giving presentations or screen sharing. Unfortunately, the UI only exposes this feature via the menu icon. With this script you can hide the icon and control notifications via a launcher such as QuickSilver or Alfred.
 * Pause and resume Growl. Use in a launcher like Quicksilver or Alfred to
 * pause and resume Growl when the menu bar icon is disabled.
 * Author: Andrew Berry, deviantintegral@gmail.com
 *)
tell application "Growl"
	register as application "Growl pause/resume" all notifications {"Growl paused", "Growl resumed"} default notifications {"Growl paused", "Growl resumed"} icon of application "Growl"
	if is paused then
		resume
		notify with name "Growl resumed" title "Growl resumed" description "Growl notifications resumed" application name "Growl pause/resume"
	else
		notify with name "Growl paused" title "Growl paused" description "Growl notifications paused" application name "Growl pause/resume"
		pause
	end if
end tell
If you wish to make any improvements to this, feel free to fork the code over at Gist.
  Post a comment  •  Comments (4)  
  • Currently 2.00 / 5
  You rated: 3 / 5 (5 votes cast)
 
[2,606 views] Email Article To a Friend View Printable Version
Replace Notes app brown title bar with gray Apps
If you don't care for Apple's skeuomorphic design in Calendar and Notes in Mountain Lion, here's a way you can change Notes to use a gray titlebar and inactive buttons.

Do the following:
  • Copy Notes from /Applications to a safe place in case you want to revert back to the original.
  • Download this archive which contains a few gray graphic files.
  • Unzip the archive; it contains a folder called Notes dark grey.
  • Browse to /Applications/Notes.app/Contents/Resources in Finder. (Right-click on the Notes app and choose Show Package Contents, then go to the Resources folder.)
  • Quit Notes if it is running.
  • Copy the 5 PNG files from Notes dark grey to /Applications/Notes.app/Contents/Resources.
  • Restart Notes.app and enjoy
[kirkmc adds: Beware that this may not work after an OS X upgrade, so you may need to do the above operation again.]
  Post a comment  •  Comments (2)  
  • Currently 2.57 / 5
  You rated: 3 / 5 (7 votes cast)
 
[2,622 views] Email Article To a Friend View Printable Version
View more export options in Preview Apps
Preview in 10.8 has removed a number of export options. If you choose File > Export, there are only six options in the Format popup menu, compared to 13 in the Lion version of the application.

Alas, this is yet another feature that has more options hidden behind an Option keypress. Hold down the Option key when clicking on the Format menu to see all 13 available options.
  Post a comment  •  Comments (12)  
  • Currently 3.75 / 5
  You rated: 2 / 5 (8 votes cast)
 
[10,070 views] Email Article To a Friend View Printable Version
Drag e-mails to Notes, and save links to e-mails Apps
You can drag an e-mail from Mail to Notes, and Notes will display a clickable link with the subject of the e-mail. Click that link to open the e-mail in Mail.

What's interesting is that you can then copy the link to the message by right-clicking and choosing Copy Link. When you paste the link into a text editor, it will look something like this:

message:%3C98A2D2F2-A910-4B63-B3G4-30D9CA021099@macworld.com%3E

If you paste the link into an application that can recognize it as a link, it will be clickable, and will open the e-mail. For example, TextEdit will display this as a link, if you're using an RTF document. I use BusyCal as my calendar application, and pasting an e-mail link in the Notes field results in a clickable link; however, Apple's Calendar doesn't recognize it as such. The Scrivener word processor recognizes it as a link, but Microsoft Word doesn't.
  Post a comment  •  Comments (2)  
  • Currently 3.00 / 5
  You rated: 1 / 5 (6 votes cast)
 
[3,507 views] Email Article To a Friend View Printable Version
Set keyboard shortcuts to share web Page from Safari via Twitter or Messages Apps
With the Share button in Safari on Mountain Lion, you can share web pages using Twitter or Messages. There are no default keyboard shortcuts, but you can create your own.

Open System Preferences, click on the Keyboard icon, then the Keyboard Shortcuts tab. Click on Application Shortcuts, then click on the + icon. Choose Safari as application, then enter either "Twitter" or "Messages" as the Menu Title. Enter the keyboard shortcut you want; I use Command-Control-T for Twitter and Command-Control-M for Messages. Click on Add to apply the shortcut.

Quit Safari and relaunch it. If you click on the Share button in the toolbar, you won't see your new shortcuts, but they work. You can see them by choosing File > Share.

Whenever you want to share a web page via Twitter or Messages, you can now do so with a single keystroke.
  Post a comment  •  Comments (2)  
  • Currently 3.20 / 5
  You rated: 2 / 5 (5 votes cast)
 
[3,923 views] Email Article To a Friend View Printable Version
Use symbolic links in a Dropbox folder Apps
If you use Dropbox, you can place symbolic links in your Dropbox folder. This is a great way to backup directories while maintaining the local file structure you desire. As a bonus, the green checkmarks won't display on items backed up in this manner, though they will show up on other computers.

To create a symbolic link, open Terminal, and cd into your Dropbox folder. Then run a command like this. This command would add a symbolic link for a folder called Test that is in your Documents folder:
ln -s ~/Documents/Test
Using symbolic links allows you to add items to your Dropbox folder yet leave them in their "correct" location. So you could, for example, put your entire Documents folder in your Dropbox folder - if you have enough space - yet leave it in its standard location in your home folder.

Also, if you want to back up, say, your Documents folder to Dropbox in this manner, the backup won't take up any extra physical space in the Dropbox folder on your Mac.
  Post a comment  •  Comments (19)  
  • Currently 4.33 / 5
  You rated: 3 / 5 (9 votes cast)
 
[47,242 views] Email Article To a Friend View Printable Version
Add default fonts to Notes Apps
Notes only offers three default fonts, and there is no GUI option to change these or add others. You can, however, add fonts by editing a plist file.

Open /Applications/Notes.app/Contents/Resources/en.lproj/DefaultFonts.plist (or the equivalent for the language you use), and you'll see three sets of text like this:
	<dict>
		<key>FontName</key>
		<string>Noteworthy-Light</string>
		<key>Size</key>
		<integer>15</integer>
	</dict>
Copy one of them, paste it at the below those three sections, and add your preferred font and size. Note that you can specify the weight with "-Light," "-Bold," etc. Save the file, relaunch Notes, and choose your new default font from Format > Font > Default Font.
  Post a comment  •  Comments (7)  
  • Currently 3.00 / 5
  You rated: 1 / 5 (6 votes cast)
 
[7,882 views] Email Article To a Friend View Printable Version
Keyboard shortcut to save directly in iCloud Apps
Many of the "main" folders of OS X can be accessed with shortcuts in an Open/Save dialog. If you don't know these, they are Command-D for the Desktop, and Command-Shift-H for your home folder.

With the advent of iCloud, there is now a new shortcut to save files in that location, for apps that support iCloud: Command-Shift-I.
  Post a comment  •  Comments (2)  
  • Currently 2.75 / 5
  You rated: 4 / 5 (4 votes cast)
 
[5,179 views] Email Article To a Friend View Printable Version
PDF files with lines & rectangles in Preview work like forms Apps
PDF files with horizontal lines and rectangles, but not created as PDF form files, can be filled in as if they were actual PDF form files. Clicking on a line starts a text field the same width as the line. Clicking on a small rectangle toggles a check mark. Rectangles large enough for text entry are not treated as check boxes, but as text fields the same width as the box. After entering text on a line or in a text box, the text may be moved anywhere on the document and retain the formatting. And unlike PDF form files, text attributes as well as text field widths can be changed at will.

[kirkmc adds: I made a test document with Pages, and it works as described. This is pretty neat. I don't know if this is new in Mountain Lion, or if it existed before.]
  Post a comment  •  Comments (7)  
  • Currently 3.50 / 5
  You rated: 1 / 5 (8 votes cast)
 
[3,188 views] Email Article To a Friend View Printable Version