cvs: phpweb / tips.php

From: Date: Sun, 27 Jul 2003 09:42:37 +0000
Subject: cvs: phpweb / tips.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19575@lists.php.net to get a copy of this message
goba Sun Jul 27 05:42:37 2003 EDT Modified files: /phpweb tips.php Log: Add new BBEdit tip from Stian Index: phpweb/tips.php diff -u phpweb/tips.php:1.33 phpweb/tips.php:1.34 --- phpweb/tips.php:1.33 Sun Jun 22 06:43:02 2003 +++ phpweb/tips.php Sun Jul 27 05:42:37 2003 @@ -1,5 +1,5 @@ <?php -/* $Id: tips.php,v 1.33 2003/06/22 10:43:02 goba Exp $ */ +/* $Id: tips.php,v 1.34 2003/07/27 09:42:37 goba Exp $ */ require_once './include/prepend.inc'; commonHeader("Cool Quick Reference Tips"); @@ -34,6 +34,30 @@ For a description of PHP.net shortcut URLs, please visit our <a href="urlhowto.php">URL Howto page</a>. </p> + +<?php tipTitle('Quick Reference for BBEdit', 'Stian Andersen', '27-July-2003');?> + +<p> + BBEdit users can put this little AppleScript into the Scripts folder of + BBEdit to look up functions on the PHP website as they type. This will + probably work in other AppleScript supporting text editors too, with + small modifications. The script uses the current selection, or prompts for + a function name, and uses the default browser to show the page at php.net. +</p> +<pre> +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 +</pre> <?php tipTitle('Quick Reference for iCab', 'Telcontar', '17-Jun-2003');?>

« previous php.mirrors (#19575) next »