Filed under: Features, Troubleshooting, Ask TUAW
Ask TUAW: Automatically printing attachments, upgrading to Leopard, testing backups and more
For the first round of Ask TUAW this week we'll be treating questions about searching Google with Safari, automatically printing attachments, logging out after a set time, upgrading to Leopard, deleting from a Flash drive, testing backups and more.As always your suggestions are most welcome, and questions for next week should be left in the comments. And now on to the questions!
Sean asks
In Safari, sometimes I come across a word/phrase I want to google. I right click and hit "search google" what I want it to do is open that google search in a new tab by default, like Firefox does. I really don't care for firefix except when dealing with safari-resistant pages.
All you have to do is first hold down the Command (⌘) key then select the text, right-click and choose "Search in Google"
ball asks
I'm looking for a way to automatically print email attachments provided that they come from the proper sender, etc... using Apple Mail. I know that I can set up a Mail rule to run an applescript if certain conditions are met, but I can't find a pre-existing applescript that can grab the attachment and send it to my printer. I also lack the leet-haxor-applescript-skills to throw my own script together. Help?
Let me say that I haven't tried this myself, but I ran across this site that includes an AppleScript to automatically print incoming PDFs. As he author, Ryan Hunt, notes it should work for any kind of file that the comman line utility lp can handle.
Jim asks
I work as internal IT support so I'm having to log in and out of various shared drives all day. My company has a policy (due to SarBox audits) that we log into shares we use for "normal purposes" such our personal home directory or other general use shares using our "normal" credentials which restrict permissions. There are occasions though where I will need to log in to that same share with Administrative privileges which essentially give us full control of the share (create directories, delete files, move files, etc.) and then log out after handling my admin requirements and log back on with my "normal" (restricted privilege) account. My problem is that keychain remembers my ID and if I try to command-k to that same drive it logs me in with whatever credentials that I last used instead of prompting me so that I can use the appropriate ID.
Well if I'm understanding you correctly all you have to do is start the Keychain Access application in /Applications/Utilities and then delete the keychain entry for that server. The next time you log on (with ⌘K), just be sure that you don't check the "Remember this password in my keychain" box, and then it will prompt you for credentials each time.
Update: My colleague Mike Rose, who has more experience with this sort of Enterprise problem, says: "Even if AFP creds are saved in keychain, you still get the dialog box -- his problem is Kerberos, which is invisibly doing single sign-on... he needs to open /system/library/coreservices/kerberos.app and kill his ticket."
Benjamin asks
1) Is it possible to have a single account that logs out automatically after a set period, without having all accounts do so?
I think I found exactly what you need, a free screensaver called Ciao from LorenB software.
2) I've been trying to select a custom user account image, but the results have been terrible. On the first attempt, I cropped a photo to a square shape, but left it at original size. OS X did a very poor quality resize, leaving a blocky icon. So, on the second attempt, I both cropped the photo and resized it myself to 48x48... but when I tried to select the image in the Accounts preference pane, the zoom control wouldn't go all the way in! I was left with a border around the image much bigger than the image itself, which was only appearing at 16x16. I don't get it. How can I turn an existing image into a decent user account icon?
Well, I don't think there's any magic here. Some sorts of icons just won't look very good when resized to that small. If you'll notice all of the default choices have very bold colors and stark shapes. So I'd suggest just playing with it a bit, trying different sizes, etc.
Phil asks
Is there any way to make an iTunes music library composed of unencrypted AAC visible to a PS3 over my network via the media server interface? I've tried Twonky media, but it fails at this with weird error messages (despite user complaints on their forum). Windows Media Player can play the files, but refuses to share them / make them visible via the media server interface. If I plug in a usb drive with the music on it, the PS3 can play the files, so I know it's not file incompatibility.
I would suggest checking out the tutorial which we posted on a while back for using MediaTomb with your Mac.
Nick asks
Everyone talks about backing up your data and how important that is, but people also mention that an important aspect of backing of your data is testing your restore process so that you know you can actually restore a backup if needed. Can anyone recommend a good process for this? I have never been able to come up with a good way to test it.
I recommend making a complete bootable backup of your main hard drive every day (e.g. in the middle of the night), using the excellent SuperDuper ($27.95) or Carbon Copy Cloner (donationware). Once you've done that you can test your backup by booting to the external drive by restarting your Mac and holding down the option key. Since the external drive should be a perfect mirror of your internal drive, everything should be the same. I do this on my computers (using SuperDuper) and I've never had a problem.
Adam asks
1) As a Mac newbie what should I expect when I upgrade to Leopard? I will certainly back up just incase, though will it wipe my system clean or will it archive everything and install the new OS on top of the old?
If you have enough hard drive space it should allow you to do three things: 1) upgrade (i.e. overwrite the Tiger system folder with the Leopard System), 2) archive (the Tiger System) and install (the Leopard System), or 3) erase and install. Here's my suggestion (indeed what I am going to do when Leopard ships). Make a complete bootable backup of the Tiger install with SuperDuper (as described above) to a FireWire external hard drive. Then, either archive or just erase and do a new install of Leopard. After Leopard installs use the Migration Assistant to pull user data from the external FireWire drive.
I generally think that it's much better to do a clean install than an upgrade. You don't want the cruft of left over from an upgrade (rather than a clean install).
2) I have a USB flash drive I like to use when I am swapping files between computers. The other day I noticed that there was significantly less memory available on it. It turns out that whenever I was deleting files from it it would send them to a hidden trash folder on the USB drive which would only be cleared when I emptied the trash on my computer. Is there a way to delete these files without having to clear my entire trash.
Well you could do this manually in the terminal, but as far as I know there's no built-in way to do this with the default Finder. The free applet Super Empty Trash will allow selective volume trash emptying. The shareware application Compost ($12.50) is perhaps a more elegant way to do the same thing (with additional features as well).
To delete files immediately I put the little application Graveyard into the toolbar of the Finder. So I can drag and drop a file onto Graveyard and it will simply be deleted, bypassing the Trash altogether.
Luigi193 asks
My macbook has been acting very strange lately! Every once in a while whenever I type, the cursor moves either to another text box or into the middle of the box I am currently typing in. It also does the same in XP and Ubuntu, so that lessens my hopes that a clean install would do the trick... I am not touching tab or the trackpad. As you can imagine its very hard to type ANYTHING!!!
Well, are you absolutely sure you're not accidently brushing the trackpad? I have one suggestion to try first. Go the Trackpad tab of the Keyboard & Mouse Preference Pane. Check the box next to "Ignore accidental trackpad input" under Trackpad Options. If that doesn't help (and it's happening in other OSes) it's probably a hardware problem and you should take it into an Apple Store, etc.



![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 3)
Tucker said 4:06PM on 10-10-2007
The asker's question states:
"what I want it to do is open that google search in a new tab **by default**, like Firefox does."
Your answer should be "sorry, you're SOL." I'm with the asker - I don't want to have to hold all manner of key combos, I just want the option to make it work like it *should*. Unfortunately, it appears this isn't possible in Safari.
Reply
Pat said 5:35PM on 10-10-2007
Any idea if Migration Assistant in Leopard can use USB? The requirements list firewire, but seeing as tiger can boot off of USB, perhaps?
Reply
petesopete said 4:59PM on 10-10-2007
1. I use BonEcho (a localized version of Firefox) and whenever I select a word or phrase and right-click I see a "Search Google for ..." command.
Reply
michael said 4:55PM on 10-10-2007
i have a, probably stupid, question: whenever i use bootcamp to boot into winxp to do a few things, be it five mins or a few hours, when i reboot back into my tiger partition the time is always off. usually its a few hours behind... is there anyway to fix this? whenever i correct the time i always click the lock to "prevent further changes".
Reply
Aron Trimble said 4:59PM on 10-10-2007
Migration Assistant in Tiger looks for another Mac booted in Target Disk Mode (FireWire only). For this reason, if you have a fully-bootable backup on an external FireWire drive Migration Assistant will actually think it's connecting to another Mac in Target Disk Mode. I would assume Leopard is going to be the same way, but you know what happens when you assume.
I used to like Graveyard, but it seems to be kind of buggy when deleting lots of files or really large (~4gb) files. Something in the way it deletes, it does not show up in Finder and the system thinks the disk is considerably more full than it really is.
Reply
matt said 5:30PM on 10-10-2007
I have some questions...
1) I thought I was the only person for which the Firefox "Search Google for..." feature was a dealbreaker! I am at work right now, so forgive me if the trick above will suffice, but does anyone know how to make Camino do the same thing? I use the "Search" function of the browswer 99% more than any silly extensions. This would be much better than highlighting, hitting ⌘-T, and using a quick-search. I prefer it to open&load in a new tab, in the _background_ (don't steal my focus, bro).
2) My santa rosa mbp will often drop my wireless connection. I can click on the Airport icon in the menubar and reconnect rather painlessly, but it is quite annoying. I have found many similar complaints googling for this, but no definitive solutions. Some suggest that this behavior is limited to time spent running on battery, although I haven't had the foresight to notice if I'm plugged in or not when the connection drops. Anyone?
Reply
Tom Henderson said 5:14PM on 10-10-2007
Pathfinder allows you to empty the trash for a specific volume.
Reply
Jinesh Gheeya said 5:16PM on 10-10-2007
I just have a general question: I have a MBP, and I been hearing a lot about 10.5 and time machine. I was wondering what is a good mac compatible external hard drive (which would also work with the time machine)? I am thinking about buying a good hard drive and partition it: one for time machine and another for mirror hard drive. How can I partition an external drive?
Reply
Tyler said 5:17PM on 10-10-2007
would using an ipod in "disk mode" and a firewire connector work? for migration assistant?
Reply
Martin said 5:43PM on 10-10-2007
OMG U CHANGED UR BACKGROUND. Niiiice!
Reply
David Fischer said 5:51PM on 10-10-2007
"I recommend making a complete bootable backup of your main hard drive every day ... Once you've done that you can test your backup by booting to the external drive by restarting your Mac and holding down the option key."
Huh? You wholly duplicate your hard-drive every night and test that it's bootable every day? How many hard-drives do you cycle through in your backups? Isn't this overkill?
Why not recommend an ongoing, differential backup that only copies changed files and allows you to roll back to various archive points. I believe the suggested software does this as well.
Reply
petey said 8:17PM on 10-10-2007
OMG! They probably finally got a takedown notice from Apple!
Reply
Aron Trimble said 5:58PM on 10-10-2007
HOLY NEW BACKGROUND BATMAN!!
All right, who stole this from a developer build? Uncle Steve is NOT going to be happy!
Reply
Aron Trimble said 6:06PM on 10-10-2007
@Jinesh - I personally have used several Maxtor drives with much success. My dad likes Lacie drives - but they are a little more than what I like to spend. If you want to save, you can buy an internal drive and put it an external drive enclosure (make sure it has FireWire). Disk Utility.app (in the Utilities folder) is the best/easiest way to make partitions in OS X.
@Matt - Have you taken the latest Airport updates for your MBP, I've heard those are supposed to help. Also, what brand router are you using? I had this happen a lot on a Linksys. Now I have an Apple Airport Extreme which I haven't had this problem with. I also have had good luck on D-Link routers.
@Pat - See my earlier comment (#4)
@David - Mat did recommend using SuperDuper! which, even though not mentioned, does do incremental backups. It is not versioned backup like Time Machine will be; but it can be set (hint: choose "Smart Update") to only backup the changes from day-to-day. I run this every night and have not had a problem yet.
Reply
Gary said 6:31PM on 10-10-2007
When using migration assistant on a new machine, or new OS install, what exactly gets migrated? I have so much residual application crud, and other deleted application remnants, that I don't need (or want) that stuff on a new machine/install.
Having never used Migration Assistant before (always opting to do it manually) I'm hesitant that all that stuff will get moved along too.
Thoughts?
Enjoy..................G
Reply
Michael said 6:37PM on 10-10-2007
Can the Mac's hard drive be cloned to a FW drive that isn't empty? I have a 60GB drive on my Mac Mini, but a 500GB FW drive that has plenty of space to clone my drive to, but it isn't empty (my iTunes library is on it).
Actually, now that I think of it, here's another question:
My iTunes library is on the external drive, but the library file is on my internal drive on the Mini, under ~/Music. How can I get that to go into the same /Music directory on the external drive, so I could, theoretically, blow away the ~/Music folder (to avoid confusion)?
Reply
Mat Lu said 6:43PM on 10-10-2007
@11: Sorry if that was unclear; I do an incremental backup (what SuperDuper calls "Smart Update"). And no, I don't test it every day. I do actually test the backup now and again, though, just to make sure everything is kosher, particularly before I do anything that might affect my boot volume.
Reply
brandon said 7:04PM on 10-10-2007
Could you guys give a tutorial on putting up a site made with iweb without using .mac?
Thanks
Reply
Redfood said 7:55PM on 10-10-2007
"After Leopard installs use the Migration Assistant to pull user data from the external FireWire drive."
I always assumed thats up upgrade does (except from an archive on the same disk). Does anyone really know if this is a different/better method than upgrade or is it just voodoo?
Reply
Macman752 said 8:23PM on 10-10-2007
@8 (2) My Santa Rosa MBP has the same problem and often drops it's Airport connection (Extreme Draft-N). It happens more often when I'm running on battery but it has occurred when on AC power.
Reply