• 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: floating point idle delays, 'with timeout' and the date class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: floating point idle delays, 'with timeout' and the date class


  • Subject: Re: floating point idle delays, 'with timeout' and the date class
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 14 Mar 2004 12:00:59 -0800

On 3/14/04 11:57 AM, "Paul Berkowitz" <email@hidden> wrote:

> On 3/14/04 10:51 AM, "Graff" <email@hidden> wrote:
>
>> You can do this already. There is a constant called "minutes" which is
>> defined as 60 seconds. There are also hours, days, weeks, and months.
>> All of these are just constants and they resolve to the number of
>> seconds that such a unit of time would hold. To use them you would do
>> something like:
>>
>> with timeout of 10 * minutes
>>
>> I'm not sure when this was added but I know that it has been around
>> since at least AppleScript 1.9.2
>
> More like AppleScript 1.3 or thereabouts (OS 8.5 or 8.6), I think. Or
> earlier.

Except that does _not_ work in 'with timeout of' . That requires 'seconds'
[or 'second'] as part of the statement. 'minutes' (and 'hours', 'days' and
'weeks') are constants that can be used as a conversion for numbers, but not
in 'with timeout'.

--
Paul Berkowitz

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: floating point idle delays, 'with timeout' and the date class
      • From: Walter Ian Kaye <email@hidden>
    • Re: floating point idle delays, 'with timeout' and the date class
      • From: Graff <email@hidden>
References: 
 >Re: floating point idle delays, 'with timeout' and the date class (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: floating point idle delays, 'with timeout' and the date class
  • Next by Date: Re: scriptable applescript application
  • Previous by thread: Re: floating point idle delays, 'with timeout' and the date class
  • Next by thread: Re: floating point idle delays, 'with timeout' and the date class
  • Index(es):
    • Date
    • Thread