Tiger Bits: Autocomplete in Cocoa Applications
Even though I am a hardened Apple pundit it seems that Tiger has a few tricks up its sleeve for me to discover, or at least for people to email to us in the form of tips which I then take credit for figuring out myself.If you are in a Cocoa application and typing along, but you just don't feel like typing the rest of the word you are in the middle of just hit the 'Esc' key. A menu with a bunch of different possible completions for the word you started are offered up to you in a nice, scrollable interface. Simply click on the one you want to go with and let the OS do the typing.
Now, this is pretty cool though I question the real world usefulness of this application. However, anything that you can show to a PC user to impress them about Tiger is good enough for me.
Tip of the hat to michael for sending this my way.
Share
Categories
Even though I am a hardened Apple pundit it seems that Tiger has a few tricks up its sleeve for me to discover, or at least for people to...
Add a Comment
This strikes me as something that would be most useful in a device which is operated without a physical keyboard... like perhaps a tablet?
May 27 2005 at 12:18 PM Report abuse Permalink rate up rate down ReplyHmm, my Option-Shift-K Apple symbol shows up as a question mark. I thought I was asking too much. Well, I meant command-F1. Not that it is important... oh me...
May 27 2005 at 12:09 PM Report abuse Permalink rate up rate down ReplyGreat comment iFelix. Callum, under the 'Keyboard & Mouse' system preference click on the last tab: 'Keyboard Shortcuts.' Scroll down and change; I set mine to F1, resetting "Full Keyboard Access", which I never use, to ?(Command)-F1. It's beautiful. Customize away.
May 27 2005 at 12:05 PM Report abuse Permalink rate up rate down ReplyThis is nice. And immediate - unlike that dictionary, that has a long way to go. Can anyone tell me how to re-route the dictionary from that three key combo (CTRL+?+D) to just the ESC key?
May 27 2005 at 7:27 AM Report abuse Permalink rate up rate down ReplyI lick this feather, it makes typhoid on my Powerhouse much easing.
May 27 2005 at 4:21 AM Report abuse Permalink rate up rate down ReplyAs has been pointed out, this is not actually new. In Panther you could press F5 or option-esc to get the auto-completion. (The plain escape shortcut is new, and was probably added to make it easier to discover.) This works in any NSTextView (unless the application has specifically disabled it). Applications can modify what list of words is returned (Xcode does so, for example) .. see the description of -[NSTextView complete:] (and related methods and delegate methods) in the documentation.
May 26 2005 at 10:32 PM Report abuse Permalink rate up rate down ReplyI was aware of the autocomplete menu accessed by pressing escape in XCode, but I am pleased to see this is a system-wide feature!
May 26 2005 at 9:07 PM Report abuse Permalink rate up rate down ReplyThis isn't new in Tiger; it was in Panther as well. And I use it fairly often when I'm not sure of a spelling, so I guess it's useful in the real world, at least to me. I always thought it was Option-Escape though, so I guess I did learn something new.
May 26 2005 at 9:06 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



8 Comments