Quick Reference tip

From: Date: Sat, 26 Jul 2003 22:17:54 +0000
Subject: Quick Reference tip
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19569@lists.php.net to get a copy of this message
Hi there, thanks for a great project, i'm using the site all the time as reference for my php- script Here's a little AppleScript you may want to add to the Quick Reference page ( http://www.php.net/tips.php ) for the Mac-OS community: BBEdit users can put this little AppleScript into the Scripts-folder of BBEdit and look up functions on the php-site as they type. -------------------------- tell application "BBEdit" set my_function to selection of window 1 as string if my_function = "" then set my_function to text returned of ¬ (display dialog "PHP Function:" default answer "") end if if my_function is not "" then set target_URL to "http://www.php.net/" & my_function open location target_URL end if end tell -------------------------- With small modifications it will also work on other text-editors if they can use AppleScripts. The script uses the default web-browser to show the function-page on php.net. Thanks again for a great project. Stian

« previous php.mirrors (#19569) next »