From c020e2d36c1c4b745a524294b85ee010a7d822de Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Sun, 25 Apr 1999 21:37:50 +0000 Subject: Bill Bedford's Apple Data Detector extensions for Python. Unchanged, except for the readme filename. Untested too, because I don't have ADD/IAD installed yet. --- Mac/Contrib/PythonDetector/OpenPythonLib | Bin 0 -> 13234 bytes Mac/Contrib/PythonDetector/OpenPythonLib with NS | Bin 0 -> 13853 bytes Mac/Contrib/PythonDetector/PythonDetector | Bin 0 -> 27559 bytes Mac/Contrib/PythonDetector/readme.txt | 60 +++++++++++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 Mac/Contrib/PythonDetector/OpenPythonLib create mode 100644 Mac/Contrib/PythonDetector/OpenPythonLib with NS create mode 100644 Mac/Contrib/PythonDetector/PythonDetector create mode 100644 Mac/Contrib/PythonDetector/readme.txt diff --git a/Mac/Contrib/PythonDetector/OpenPythonLib b/Mac/Contrib/PythonDetector/OpenPythonLib new file mode 100644 index 0000000..87bc7be Binary files /dev/null and b/Mac/Contrib/PythonDetector/OpenPythonLib differ diff --git a/Mac/Contrib/PythonDetector/OpenPythonLib with NS b/Mac/Contrib/PythonDetector/OpenPythonLib with NS new file mode 100644 index 0000000..08cb027 Binary files /dev/null and b/Mac/Contrib/PythonDetector/OpenPythonLib with NS differ diff --git a/Mac/Contrib/PythonDetector/PythonDetector b/Mac/Contrib/PythonDetector/PythonDetector new file mode 100644 index 0000000..6fc28b8 Binary files /dev/null and b/Mac/Contrib/PythonDetector/PythonDetector differ diff --git a/Mac/Contrib/PythonDetector/readme.txt b/Mac/Contrib/PythonDetector/readme.txt new file mode 100644 index 0000000..e6b61da --- /dev/null +++ b/Mac/Contrib/PythonDetector/readme.txt @@ -0,0 +1,60 @@ +======================================================================== + Copyright (c) 1999 Bill Bedford +======================================================================== +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that the copyright notice and warranty disclaimer appear in +supporting documentation. + +Bill Bedford disclaims all warranties with regard to this software, +including all implied warranties of merchantability and fitness. In +no event shall Bill Bedford be liable for any special, indirect or +consequential damages or any damages whatsoever resulting from loss of +use, data or profits, whether in an action of contract, negligence or +other tortuous action, arising out of or in connection with the use or +performance of this software. +======================================================================== + + +PythonDetectors is a set of Apple Data Detectors that will open an entry in +the Python Library from a keyword in contextual menus. It looks up either +module name and open the relevant page or looks up a built in function and +opens at the entry in the Builtin functions page. + +If anyone would like more functionality please contact me. + +To use it you must have Apple Data Detectors 1.0.2 installed This can be +obtained from http://www.apple.com/applescript/data_detectors/ + +Two action files are provided "OpenPythonLib" will open the library file +with whatever application is defined as the Internet Config 'file' helper. +"OpenPythonLib with NS" opens the library file with Netscape. + +Instructions +============ + +1/ Open the two apple script files with the Script Editor and change the +first compiled line to point to the location of your Python Library +folder. + +2/ Open the Apple Data Detectors Control Panel and choose Install Detector +File... from the File menu. + +3/ Pick a Detector file from the dialog. + +4/ Let the Data Detectors Control Panel optimize the detector. + +5/ Choose Install Action File... from the File menu. + +6/ Pick an action file from the dialog. + +7/ The Data Detectors Control Panel will automatically place the new action +with its detector. You can click on the action in the control panel window +to view information about its use. + + +Gotchas +======= + +Unfortunately ADD only works with the US keyboard installed. -- cgit v0.12