Re: Detect an URL
Re: Detect an URL
- Subject: Re: Detect an URL
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 20 Mar 2001 06:10:49 -0500
on 3/20/01 1:48 AM, Cal at email@hidden wrote:
>
Not true. (Sorry again, Paul.) The above idle handler will execute
>
every 30 seconds by default, as if there were a "return 30" as the
>
last command of the handler.
>
>
on idle
>
beep
>
end idle
>
>
There's no return in this, and it will beep every 30 seconds.
Cal, the script Paul was describing implicitly returns the result of Display
Dialog, since the last command on either branch of the If test is Display
Dialog. So the script returns a record (Button Returned, etc.). Will the
idle handler still fire every 30 seconds, because the result is not a
number?
In your example, beep returns no result at all.
--
Bill Cheeseman, Quechee, Vermont <
mailto:email@hidden>
The AppleScript Sourcebook
<
http://www.AppleScriptSourcebook.com>
Vermont Recipes-A Cocoa Cookbook
<
http://www.stepwise.com/Articles/VermontRecipes/>