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

Send selected text to Evernote Apps
A colleague asked if anyone knew how to migrate his vast collection of Mac Stickies notes to the cloud. I suggested he get an Evernote account while I did some quick research. I didn't find any existing solution, so and I came up with an Automator workflow that copies the selected plain text into a new Evernote note.

Launch Automator, and create a new Service. Set "Service receives selected" to TEXT in "any application". Drag the Run Applescript action into the main part of the window. Paste this code in that window:
on run {input}
	tell application "Evernote" to activate
	synchronize
	repeat with selectedText in input
		tell application "Evernote"
			if (not (notebook named "Stickies" exists)) then
				make notebook with properties {name:"Stickies"}
			end if
			try
				create note with text selectedText notebook "Stickies"
				synchronize
			end try
		end tell
	end repeat
end run
Save as Send selected to Evernote.

Now, when you highlight text in any app (including Stickies), right-click and select Services > Send Selected no Evernote, it will copy the plain text into a new note (with a title of "Untitled Note") in the Stickies notebook in Evernote.

The nice thing about this Automator service/action is that it will work with plain-text in any application.
  Post a comment  •  Comments (7)  
  • Currently 3.50 / 5
  You rated: 4 / 5 (6 votes cast)
 
[5,052 views] Email Article To a Friend View Printable Version
Access Wireless Diagnostics app in OS X 10.8.4 or later Apps
New to OS X 10.8.4 is a Wireless Diagnostics app, which you can access from the Wi-Fi menu extra in your menubar (press the Option key, click the Wi-Fi menu extra, then choose Open Wireless Diagnostics), or by double-clicking the app in /System/Library/CoreServices.

Apple provides information about this app, which generates an archive of log files for troubleshooting. Wireless Diagnostics also features a number of informational sections. After you've generated a log, a Summary screen offers you information about Wi-Fi Best Practices, and provides information about any issues you may have.

A Utilities window (accessible from the Window menu) provides more information about your Wi-Fi network. It lets you scan all available Wi-Fi networks, offers a performance log, and much more.

This is a powerful tool, which can be very helpful if you are having Wi-Fi problems.

[kirkmc adds: I found, after posting the hint, that this isn't new. It's been available at least since Mac OS X 10.7. I didn't find it when searching the site because it used to be called Wi-Fi Diagnostics. OS X 10.8.4 brings version 2 of the app, a "major revamp," according to my Macworld colleague Dan Frakes.]
  Post a comment  •  Comments (3)  
  • Currently 2.14 / 5
  You rated: 2 / 5 (7 votes cast)
 
[21,908 views] Email Article To a Friend View Printable Version
Easily update Mail plug-ins for new UUIDs Apps
Yesterday's hint about finding new UUIDs, to re-enable Mail plug-ins after an OS X update, featured some information in a comment that's worth highlighting. There's an app called MailPLuginFix which claims to be able to fix disabled plug-ins by setting the new UUIDs with a few clicks:
Just start the application and you will see a list of all incompatible plugins for your current Mail.app installation. Just select the ones you would like to fix and press the start button in the toolbar. All selected plugins will get patched with the UIDs of the current Mail.app version and also all disabled plugins will be enabled again.
I haven't tested this, since I already updated my plug-ins, but if you get irked each time Apple updates Mail and your plug-ins stop working, it's worth checking this out.
  Post a comment  •  Comments (5)  
  • Currently 3.14 / 5
  You rated: 1 / 5 (7 votes cast)
 
[4,775 views] Email Article To a Friend View Printable Version
Re-enable Mail plug-ins in OS X 10.8.4 Apps
With OS X 10.8.4, Apple has updated Mail, which means that plug-ins that are not up-to-date won't work, and will be placed in a ~/Library/Mail/Bundles (Disabled) folder. In order to get any plug-ins to work, you'll need to find the new UUIDs and add them to the plug-ins' info.plist file.

We ran a hint about this back in 2010, but it's good to remind people how to do this. You want to run two commands in Terminal to get two different UUIDs:
defaults read /Applications/Mail.app/Contents/Info PluginCompatibilityUUID

defaults read /System/Library/Frameworks/Message.framework/Resources/Info PluginCompatibilityUUID
For OS X 10.8.4, the UUIDs are:

19B53E95-0964-4AAB-88F9-6D2F8B7B6037
2183B2CD-BEDF-4AA6-AC18-A1BBED2E3354

Look inside your plug-in's folder, and find the info.plist file, in a Contents sub-folder. Double-click the file to open it with Xcode, or use a text editor. If using Xcode, click the disclosure triangle next to SupportedPluginCompatibilityUUIDs, then click + to add each new UUID.

If you're doing this with a text editor, you want to add the new UUIDs in the end section of the file, which looks like this:
<key>SupportedPluginCompatibilityUUIDs</key>
<array>
	<string>2183B2CD-BEDF-4AA6-AC18-A1BBED2E3354</string>
	<string>19B53E95-0964-4AAB-88F9-6D2F8B7B6037</string>
	<string>2DE49D65-B49E-4303-A280-8448872EFE87</string>
	<string>1146A009-E373-4DB6-AB4D-47E59A7E50FD</string>
	<string>6E7970A3-E5F1-4C41-A904-B18D3D8FAA7D</string>
	<string>EF59EC5E-EFCD-4EA7-B617-6C5708397D24</string>
	<string>4C286C70-7F18-4839-B903-6F2D58FA4C71</string>
	<string>608CE00F-4576-4CAD-B362-F3CCB7DE8D67</string>
</array>
Move the plug-in back to the ~/Library/Mail/Bundles folder, quit Mail, then relaunch it, and the plug-in will get loaded. However, this doesn't mean that the plug-in will work; there may have been changes to Mail which require further updates to the plugin. YMMV.
  Post a comment  •  Comments (6)  
  • Currently 2.86 / 5
  You rated: 2 / 5 (7 votes cast)
 
[8,894 views] Email Article To a Friend View Printable Version
Move Dropbox sub-folders to other disks or volumes Apps
If you have a Mac with an SSD, and limited storage space, and use Dropbox, you may want to think about how much space your Dropbox folder takes up on your disk. Jeff Carlson, writing at TidBITS, had this problem, wanting to use Dropbox's Camera Upload feature on his MacBook Pro, but not wanting to have the space taken up on his SSD.

The solution he explains is relatively simple: it involves creating a symlink for the folder in question after moving it to another disk or volume. After moving the folder, open Terminal, then type:
cd ~/Dropbox
Type ln -s, then drag the folder from its new location into the Terminal window, which will add its path; press Return.

This symlink lets Dropbox use the Camera Uploads folder, as if it were in the main Dropbox folder, yet the files are stored on the external disk.

You can do this with other Dropbox folders as well. For me, I use Dropbox's Selective Sync (Preferences > Advanced) to choose which folders get copied to my MacBook Pro, and have everything on my Mac mini, which has more storage.
  Post a comment  •  Comments (5)  
  • Currently 2.83 / 5
  You rated: 1 / 5 (6 votes cast)
 
[6,813 views] Email Article To a Friend View Printable Version
FaceTime not logging in? Check your Mac's serial number Apps
Have you ever found that FaceTime won't let you log in even though your Apple ID and password are correct? I had that problem with a client's Mac, and nothing I tried did work. After eliminating all the obvious things, such as testing with other IDs, user accounts and even other systems, I discovered the reason.

As it turns out, FaceTime is dependent on a correct logic board serial number. This is also true for other services like iCloud. This particular Mac had its logic board replaced a long time ago, and the technician forgot to set the serial number on the new board. So instead of the regular serial number it said SystemSerialNumb in System Profiler. After setting the serial number to the correct one, which can be found on every Mac's housing, FaceTime would log in and work flawlessly.

In case you are wondering: every Apple Authorized Service Partner has access to a bootable image which contains a tool to write the serial number to the logic board.

[kirkmc adds: Interesting point. I recall having had a logic board change some years ago, and the serial number was not set (as I discovered when the Mac needed to go into service again). This was around the time that FaceTime was launched, and I could never get it to work on that Mac. It's too far in the past to be sure, but this might have been the cause.]
  Post a comment  •  Comments (3)  
  • Currently 3.44 / 5
  You rated: 5 / 5 (9 votes cast)
 
[7,240 views] Email Article To a Friend View Printable Version
Quick way to get artwork from currently playing iTunes track Apps
iTunes makes it easy to retrieve the artwork from the currently playing song. Just drag & drop the artwork displayed in the iTunes LCD (the bar at the top of the iTunes window, showing artwork, progress bar, etc.) or the MiniPlayer to the Finder, or to any other application that you can drag images to. You'll get a graphic file of the current artwork.
  Post a comment  •  Comments (0)  
  • Currently 3.67 / 5
  You rated: 3 / 5 (6 votes cast)
 
[4,152 views] Email Article To a Friend View Printable Version
Control iTunes AirPlay streaming with AppleScript Apps
iTunes 11.0.3 provides AppleScript support for controlling AirPlay devices. Below is a basic script that illustrates how AirPlay devices can be selected and applied using some of the new iTunes AppleScript classes and properties:
tell application "iTunes"
	set apDevices to (get every AirPlay device whose available is true)
	if apDevices is {} then display dialog "No Airplay devices available." buttons {"Cancel"}
	set apNames to (get name of every AirPlay device whose available is true)
	set selAirplayDevices to (get name of every AirPlay device whose selected is true)
	set chosenNames to choose from list apNames default items selAirplayDevices with prompt "Select Airplay device:" with multiple selections allowed
	if chosenNames is false then return
	set apChoices to {}
	repeat with i from 1 to length of apNames
		if item i of apNames is in chosenNames then set end of apChoices to item i of apDevices
	end repeat
	set current AirPlay devices to apChoices
end tell
The AirPlay device class has several useful properties, including selected and available used above (check the iTunes sdef to see them all). The kind property could be used to generically select a device:

tell application "iTunes"
	# possible values for kind are computer/‌AirPort Express/‌Apple TV/‌AirPlay device/‌unknown
	set newAirplayDevice to (get some AirPlay device whose kind is computer)
	set current AirPlay devices to {newAirplayDevice}
end tell
I've also been able to use "first AirPlay device" to reference "Computer", but that may not be consistent for all users. Of course, if you have more than one of a particular kind of AirPlay device (two or more Apple TVs or AirPort Expresses), you'll need to augment that snippet, possibly by hardcoding the name of the device or by filtering for additional properties.

[kirkmc adds: This was submitted directly to me by Doug Adams of Doug's AppleScripts for iTunes.]
  Post a comment  •  Comments (1)  
  • Currently 3.00 / 5
  You rated: 1 / 5 (6 votes cast)
 
[4,559 views] Email Article To a Friend View Printable Version
Save disk space by deleting copies of Mail attachments Apps
By default, Mail will keep file attachments that you've opened or viewed in your ~/Library/Mail Downloads folder, until you delete the associated email. You can save disk space by making the following switch:

In Mail's preferences, go to General, then set Remove unedited downloads to When Mail Quits. This does not remove the attachment from your email, just from your local cache of Mail Downloads.

On one machine I've got, I reclaimed nearly half a gigabyte after using the system for only a few months! I can't wait to see how much I get back on a system I've been using for 5 years!

[kirkmc adds: I find it odd that Mail keeps these attachments after you view them, since they're still in the emails. This is only an issue, however, if you save emails with attachments; if you delete them, then the default setting deletes the cached files as well.]
  Post a comment  •  Comments (15)  
  • Currently 2.83 / 5
  You rated: 1 / 5 (6 votes cast)
 
[23,122 views] Email Article To a Friend View Printable Version
Set up Facebook chat in OS X Messages Apps
You can set up Facebook chat in Messages. Since Facebook uses Jabber, all you need to know is your user name, and you can create an account.

Open Messages' preferences, and click on Accounts. Click on the + icon to create a new account. For Account Type, choose Jabber. For your account hem, you'll need to find your Facebook user name; this is the text after http://www.facebook.com/. The account name for the Jabber account should therefore be your_facebook_user_name@chat.facebook.com. Enter your Facebook password in the Password field, and click on Done.

Messages should log into the account, and you should see a message saying:

You are now Online to Chat | You are now Online to Chat. Please note that this also marks you as Online on facebook.com.

You can check Facebook to confirm this; you should see that you are online for chat when you visit Facebook.

H/t mactuts+
  Post a comment  •  Comments (1)  
  • Currently 4.14 / 5
  You rated: 5 / 5 (7 votes cast)
 
[14,927 views] Email Article To a Friend View Printable Version