Internet Address Detectors
Please check out the new eMailman® discussion forums available via web browser or newsreader
Internet Address Detectors from Apple is a neat system for making it so that you can highlight Internet style addresses in almost any application and be able to choose what action to take with those addresses. For example, highlight http://www.apple.com in a word processing document, control-click it, and choose to go to Apple's web site. Or highlight an e-mail address in a database program, and control-click it to choose to send a message to that address.
Note that Internet Address Detectors are part of the overall Address Data Detectors from Apple. You also get Currency detectors and Location detectors. Translate a price into various denominations or find a zip code for a given city and state!
See also ADD Depot
Contents:
- Installing Apple Address Detectors / Internet Address Detectors
- Writing your own ADD/IAD actions.
- Installing actions you wrote or downloaded from elsewhere.
- Actions available for download.
Installation instructions:
- See notes below regarding Internet Scripting scripting addition (if you wish to make use of any of the actions that come with IAD that make use of Internet Config/Internet Control Panel)
- Download and install ADD if you haven't already
- Test ADD to make sure it works generally.
- Try highlighting comp.sys.mac.comm and control-click it. (when control-clicking, hold both control and click down, don't just release).
- Try highlighting an e-mail address and control-clicking it.
Internet Scripting scripting addition.
- The actions that come with IAD that take advantage of Internet Config require Internet Scripting scripting addition. This file, however, does not come with ADD/IAD, and is hard to find.
- If you have Mac OS 8 or higher, you should have it, or follow instructions below for using "InternetConfig Commands". You might look for "Internet Scripting" in "Scripting Additions" folder in "Extensions" folder in System Folder. If it is there, move it to "Scripting Additions" folder in System Folder (not inside of "Extensions" though).
- If you don't have "Internet Scripting" then download IC Scriptor and install if you wish to use the actions that use Internet Config
- You might wish to move "InternetConfig Commands" scripting addition and others from "Scripting Additions" in "Extensions" folder in System Folder to the "Scripting Additions" within the System Folder, if the latter folder exists.
- (System 8.0 or 8.1 or later moved the Scripting Additions folder from the extensions folder to the System Folder. If you only have the Scripting Additions folder in extensions, leave everything there.)
- If you already have ADD installed, restart your system now; otherwise proceed with ADD installation above, which will restart your system, then continue with the step below.
- Fix the Internet Address Detectors that make use of Internet Config. (again, only if you don't have "Internet Scripting" scripting addition.)
- Go into Actions folder. (In "Apple Data Detectors" folder in System Folder.)
- Double click a script to enter the script editor. (Get AppleScript from Apple if necessary).
- Replace "<<event sysogurl>>" with "LaunchURL"
- Hit command-S or "save" from file menu
- Hit command-W or "close" from file menu.
- Repeat for other Internet Config actions you might use.
- Quit Script Editor.
- Note: The actions you have edited will have a different icon than the unedited ones, but will still work. (If you want them to have the same icon, use ResEdit to give them creator code "std6").
Writing your own actions:
- Copy an action (from the "Actions" folder in "Apple Data Detectors" folder in System Folder) from the category (e-mail, newsgroup, host, ftp, http, USCityState) for which you wish to make an action.
- Note that the first line of the description (the upper window in Script Editor) controls whether the action is for e-mail, newsgroup, host, ftp, http, or USCityState. Change the first line to change what sort of action the script it. See actions that come with ADD to determine what the first line should be. But its easier just to start by copying an action from the category you wish to use in the first place.
- Move copy outside of Actions folder and rename it to what you want it to be named.
- Double click it to enter script editor. (Get AppleScript from Apple if necessary).
- The second line of the description (the upper window in Script Editor) will be the name that Apple Data Detectors gives this action after you install it. Currently it will be named for the script you copied; rename it with something similar to the new file name you gave this script.
- Edit the script to do what you want it to.
- Most likely this will involve altering the portion that launches a URL of some sort.
- Remember to replace "‚event sysogurlé" with "LaunchURL" if you started with an Internet Config script that you have not fixed as explained above.
- Save the script.
- Quit Script Editor.
- Note: The actions you have edited will have a different icon than the unedited ones, but will still work. (If you want them to have the same icon, use ResEdit to give them creator code "std6").
- Danny Goodman's AppleScript Handbook, 2nd Ed. is the book to get on Applescript.
Installing Actions you wrote or downloaded from elsewhere:
- Do not place an action directly in the actions folder.
- Open the Control Panel "Apple Data Detectors"
- Choose "Install Action File" from the File menu. Select the action you have created or downloaded. It should then say "File installed successfully."
- Highlight text that uses the same category of action that you have written an action or downloaded an action for. The new action should appear as an option!
Actions/detectors available for download:
- NewsReaders.com IAD actions has actions for finding newsgroup archives in DejaNews and finding the FAQ for a newsgroup. Also lets you research posts archived in DejaNews coming from a particular person or domain.
- Finger IAD has actions which let you finger e-mail addresses or hosts.
- ADD Pack for DragThing 1.2 contains two action scripts which will place the URL/Email into the first free slot in the first DragThing dock it can find.
- Info-Mac Data Detector has a detector which recognizes references to Info-Mac files and an action which will download the file from the mirror you set in Internet Config.
- Eudora (choose) is an action which will let you choose which Eudora settings file to use when sending an e-mail message.
- Eudora Nickname IAD lets you add e-mail addresses to the Eudora Address Book.
- Anarchie action lets you request Anarchie for ftp downloads.

Copyright © eMailman, LLC 1998-2006. Emailman ® is a registered mark of eMailman, LLC. The eMailman character, NewsReaders.com character, "NewsReaders.com", "Emailman always delivers", "electronic superhero", "eMailOrder", the backwards "@" sign, "@ backwards", "turning your e-mail around" and "Read. Discuss. View. Think." are trademarks of eMailman, LLC. All other marks belong to their respective owners.