• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detect an URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/>


References: 
 >Re: Detect an URL (From: Cal <email@hidden>)

  • Prev by Date: Re: QuarkXPress: finding anchored boxes
  • Next by Date: Re: Mounting network volumes
  • Previous by thread: Re: Detect an URL
  • Next by thread: upgrade issues: 8.1 --> X
  • Index(es):
    • Date
    • Thread