Rex.FM technology + freedom

3Jan/080

Mac 101: Keyboard text selection

I use these all the time... especially holding Option or Command while using the arrows to move the cursor around.

To select text you hold down the SHIFT key and then use the arrow keys or HOME, END, PAGEUP, and PAGEDOWN. The left/right arrow keys (plus SHIFT) will increase the selection one character in that direction, if you hold down the OPTION (⌥) key the left/right arrows will select an entire word in that direction, and if you hold down the ⌘ key the left/right arrows will select to the beginning or end of the line. The up/down arrow keys (plus SHIFT) will select a full line up or down; with the OPTION key held down the up/down arrows will select a paragraph. The HOME key (plus SHIFT) will select all the text to the beginning of the document and the END key (plus SHIFT) will select all the text to the end of the document. Finally, the PAGEUP and PAGEDOWN keys (plus SHIFT) will select a full "page" up or down.
Mac 101: Keyboard text selection - The Unofficial Apple Weblog (TUAW)
.

You only need to hold Shift if you want to select text. Without holding shift, the aforementioned key commands will just move the cursor around. You probably don't realize how much time you waste trying to point with that Trackpad on your MacBook.

Filed under: Mac, Productivity No Comments
12Oct/070

Applescript: Number Selected Tracks Sequentially

I think you can tell from the title what this simple applescript does. I'm sure this code could be made much shorter, but I'm really a novice, and this works pretty well, albeit there are no foolproofs.  

Here's what it does: You select some songs that are already in order (how? see below), say 12 songs that you already arranged. You then run the script... it numbers them 1 of 12, 2 of 12, 3 of 12... and so on up to 12 of 12. You now have a nicely organized album.Album not in order?

Instructions: Select all the album tracks. Make a new playlist from selection (cmd+shift+N). Click the title bar above the first column, in other words: sort by number in playlist. Then, you can rearrange the songs as you like. Now select all the songs, and finally run the script.Ahh, finally some home-brewed automation for sorting out this messy iTunes library. 

--Number Selected Tracks Sequentially
--A simple applescript from Rex Pechler
--http://rex.fm
--
--2007

tell application "iTunes"
if selection is not {} then
set sel to selection
set these_files to {}
set numtracks to the count of sel
set trackcount to 0
with timeout of 30000 seconds
repeat with this_track in sel
if class of this_track is file track then
set trackcount to trackcount + 1
set the track number of this_track to trackcount
set the track count of this_track to numtracks
end if
end repeat
end timeout
else
set count to 0
end if
end tell

Download: the applescript as text or as a binary app.

Filed under: Hacks, Mac No Comments
1May/070

The Best SpellChecker I’ve Ever Seen (and it’s free!)

If you use a spell checker, even occasionally, check this out. Uses Google (Web API) to correct mistakes, and works amazingly well. (It’s Mac only so far)
Watch the short video demonstration!

read more | digg story

Filed under: Found, Mac No Comments