Your source for indispensable Apple and Macintosh news and reviews, plus the best-selling Take Control ebooks.

 

Springy Dock Tricks

If you drag a file and hover over Dock icons, various useful things happen which are similar to Finder springing. If it's a window, the window un-minimizes from the Dock. If it's a stack, the corresponding folder in the Finder opens. If it's the Finder, it brings the Finder to the foreground and opens a window if one doesn't exist already. But the coolest (and most hidden) springing trick is if you hover over an application and press the Space bar, the application comes to the foreground. This is great for things like grabbing a file from somewhere to drop into a Mail composition window that's otherwise hidden. Grab the file you want, hover over the Mail icon, press the Space bar, and Mail comes to the front for you to drop the file into the compose window. Be sure that Spring-Loaded Folders and Windows is enabled in the Finder Preferences window.

Visit plucky tree

Submitted by
cricket

 

 

Related Articles

 

 

Updated Paste Plain Text AppleScript for Word 2008

In "Word 2008 and the Paste Plain Text Dance" (2008-01-19), I described a tiny AppleScript I use in Word 2008 to paste text without style information, so that the pasted text adopts the style of whatever is around it. From the feedback I've received, the lack of a built-in command to do this with one click had irritated quite a few people. Since then, I've found that very occasionally - I can't quite discern a pattern to why or when - text pasted with my script takes on the default font of Word's Normal template (Cambria), rather than the actual font of the surrounding text.

So I experimented further, and I've come up with a revised script that not only solves this problem but takes an entirely different approach that results in a shorter and more elegant solution. Thus far I haven't seen any occasions in which the new script fails. As before, you can either paste this into Script Editor or download the completed script, unzip it, and put it in ~/Documents/Microsoft User Data/Word Script Menu Items. Here's the script:

tell application "Microsoft Word"
    tell selection
        try
            set theClip to Unicode text of (the clipboard as record)
            type text text theClip
        end try
    end tell
end tell

Now, instead of counting the number of characters on the clipboard and moving the insertion point, the script uses the "type text" command to simulate typing, which automatically puts the insertion point in the right place.

 

Bare Bones Software's BBEdit 9.2 -- A burly upgrade with new
Sleep command, LassoScript support, plus enhancements to Projects
and core features like Find and Multi-File Search windows,
editing in browsers, and text completion. <http://barebones.com/>