OS X Safari automatically convert selection to contact
I am relatively new to OS X.
Is there a downloadable app or service which will allow me to select some text (address, ph开发者_开发百科one number) from a web page or other text and automatically create a new contact in the address book?
Thanks.
Search on Data Detectors - in Mail these are automatically enabled, but in other apps they can be contextual (i.e. you need to select the text first and right-click) or require activation (again via the context menu) first.
If they require activation, you can probably change the default from Preferences or Terminal.
As you say you are new to OS X, Services are another area that it is worth looking into and understanding - it is possible for third party programs to register that they offer a service on selected text, images, etc - which will appear in the contextual services menu. These can be bound to a custom shortcut key, etc.
You can relatively easily develop your own services using any of the variety of supported scripting languages, or Automator. Third party apps often expose scripting APIs (see AppleScript, but their usage is not restricted to AppleScript as a language).
So long as you are using OS X 10.6 then the standard OS X data detectors should pick up addresses, phone numbers, dates, flight numbers, etc, so that you can generate contacts, calendar entries, etc. If you find a page where this does not work the file a bug report using Apple's Bug Reporter.
Regarding Paul R's response, if you cannot get the contextual service menu item "Create New Contact", try selecting just an address or just a phone number. Sometimes the data detector doesn't recognize a text string, but will recognize a valid phone, email or street address within it. For example, from OmniOutliner, I typed in "Orbis Corporation 1-800-890-7292". When I select ALL this text, I do not get the Create New Contact contextual menu item. But selecting just the phone number, I do.
精彩评论