I do a lot of writing with TextEdit, using a keyboard shortcut with the macro editor QuicKeys. My SL macro would switch to or open TextEdit, close any previous TextEdit document using the built-in Mac keyboard shortcut Command+D (which closes a window without saving). Lion has evidently done away with the Command+D shortcut, so my macro wouldn't work. Here is a simple script that opens or switches to TextEdit, closes (without saving) any note that is there, and opens a new note:
tell application "TextEdit" activate try close window 1 saving no end try make new document end tell
This can be entered in QuicKeys and activated with the keyboard shortcut of your choosing.
[
crarko adds: I suppose the removal of Command+D is a result of the new Auto Save feature; thing ...



Source: http://feeds.macosxhints.com/click.phdo?i=309cba42700cca89915f2f92c6392a54
mac computer news mac help desk latest apple news apple online store
No comments:
Post a Comment