All I wanted was a global hot key to go to the next/previous track in iTunes. Sometimes iTunes goes to a song you don't want, and you want to skip to another without using the Dock or switching to iTunes from whatever you're doing. I wrote two tiny AppleScripts to control iTunes, and then looked for ways to assign them to keys. No luck with function keys as in OS 9 (what ever happened to the F-key section from the keyboard control panel?), so Dragthing came to the rescue.
I didn't want anything to jump into the foreground, so I set up a new dock (called 'hotkey scripts') and set it to 'allow AppleScripts to run in background' in the Miscellaneous preferences tab. I then added my scripts to the new dock, and used the 'item options' from the contexual menu to set a hotkey for each. I set it so that Apple+left and right arrows are previous and next track, but any key combo would do it, presumably as long as it's not used elsewhere. The Applescripts, for anyone interested, are simple:
tell application "iTunes" next track end tell
Replace next with previous for the other script, obviously.
I don't know if this is really a hint or not but since I have been struggling with my Palm IIIx and Palm Desktop since its beta, I thought I would post my final findings in case it may help others.
I have a Palm iiix and a Beige G3/266 overclocked to 300 running OS X 10.1.3, with a Palm USB to serial and Palm Hotsync cable. My problem from the beta on has been that I get one hotsync that takes forever (I clocked it at 30+ minutes) or I cancel it. Then I can't hotsync again. Of course, serial syncing is not possible on this machine, another story.
Last night after my second consecutive completed hotsync in two days, I discovered something. Using the Palm USB cable and the desktop software, there is no setting for speed. However on the Palm side, if you change your settings to 115k and, this is the key, flow control to ON (not OFF and not AUTO), the hotsync connects quickly and efficiently. I have not yet sent this note to Palm but I think I will shortly.
I hope this helps the others out there who have been having problems with Palm hotsyncs in OS X.
Here's one for those of you who have a number of accounts set up in Mail.app. I recently got really frustrated with Mail, because I could find no way of setting the default mailbox to show when the app launched or a new viewer was shown. It used to be set up right for my needs, but somehow the default mailbox got set to my UNIX mail account, and I wanted it to show my IMAP account by default. Could I do this with the GUI - no! I think the preferences got corrupted at some point, but I'm not sure.
You can set the default mailbox by editing:
Near the top of that file is an array called 'ActiveUniViewers'. On my system it has one item; change that item to point to the required default mailbox. Mailboxes are listed in ~/Library/Mail/, and you should be able to figure out the right mailbox from the directory name. If you have an IMAP account with user foo, at host blah.com, the box will be IMAP:firstname.lastname@example.org/ in the ~/Library/Mail/ directory. Set the array item to be:
The exact mailbox name can be found by examining the account's directory. Save (remember to back up first) and hey-presto! My mailbox preferences are back!.
It used to be the case that Mail remembered the last mailbox looked at, but I can't get that to work - ideas welcome, but for the moment, here's a way to get Mail to display your mailbox of choice when you click it's icon.
[Editor's note: On my machine, switching accounts still works as expected; Mail remembers the last active setting on quit. I would think that trashing the prefs file might also fix the problem, and I'm curious why Mail would be able to update other prefs in the file but not the ActiveUniViewers setting. Hopefully this may help others with the same problem...any comments on the cause or the solution?]
I don't know if this has been mentioned before or if this is widely known but it was new to me; I came upon it by accident. You can save any graphical clipboard contents to a file if you have Preview open. Hit command-V inside Preview and a window will open up labeled Clipboard 1, showing the clipboard contents. Hitting Command-V repeatedly will open windows labled Clipboard 1, 2, 3 etc, each with a copy of the clipboard. You can then choose Save As... from the File to save the newly created image file.
I had to reinstall OSX over the weekend and, after reading a few more favourable reports on the speed gains with relocating the swapfile, thought I would try it again. Fresh reports of potential problems and the endless pages of Terminal code which promised to overcome them, though, filled my non-geek heart with fear.
I then remembered a small freeware application, Swap Cop, I had downloaded a few weeks back. Swap Cop promised to relocate the swapfile for me, sans Terminal.
So I set up the drive with 3 partitions: a 750 MB partition at the start, one big OSX (+Classic) and a small full 9.22. Did the full install of OS X and all the upgrades, then moved the swapfile with Swap Cop. It worked perfectly and quickly. Rebooted, restarted SwapCop and the old swapfile was deleted.
Performance has improved very noticeably. Six bounces in the Dock to open a disk image prior to the swap, two bounces afterwards. Everything is faster (Quicksilver 733, 768 MB RAM, 10.1.3).
[Editor's note: Some of the speed gain may be a result of reinstalling the system, but the swap move probably helped as well. For those of you who have been afraid of relocating your swap file, give Swap Cop a try.]
As a follow up to the Palm IRSync hint, I have information on how to get your Handspring Visor or Visor Deluxe to IR sync in OS X.
First, go to Palm's IR Enhancement download site and download the IR Enhancement package in zip format (to make it easier to open). Expand it on the desktop (or wherever) and install Serialirpnl.prc and Serircommlib.prc to your Visor via the USB Cradle.
Next, download the beam sync enabler package. It includes a more descriptive text file that explains everything in it. Expand the package and install bsync-e.prc onto your Visor.
Restart the Visor when prompted and go into your Preferences panel. Turn on Beam Sync-ing and follow the rest of the original tip on doing IRSyncs with Palm Desktop 4.0!
I've just completed a Cocoa batch encoder for OS X. It's really a GUI front end for LAME, with the potential to easily support other codecs (like Vorbis). It's called RipBeak (312K); here's a screenshot.
I wrote this app because it's something I wanted that did not yet exist (to my knowledge). I'm releasing it for free because I think it's something a lot of other people would like to use.
[Editor's note: I have not used this encoder myself, but thought it might be of general interest given the strong feedback on a previous hint regarding an AppleScript that works with the LAME encoder.]