🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.mac
Article #2240

Re: Telling the time in Applescript

#2240
From: Simon Slavin
Date: Sun, 14 Dec 1997 00:00
21 lines
1316 bytes
In article <19971213183524193449@cokery.demon.co.uk>,
Nigel@cokery.demon.co.uk (Rev. Nigel J. Coke-Woods) wrote:

> [snip] is there a way of getting the time in
> applescript and performing a test on it?

Start with this AppleScript (complete in one line):

return (time of (current date)) / 60 / 60

and work from there.

PS: please don't cross-post between d.t.m and comp.sys.mac.system.

Simon.
-- 
Simon Slavin -- Computer Contractor. | Excessive quoting from Shakespeare:
   http://www.hearsay.demon.co.uk    |                  gag me with a folio.
Check email address for spam-guard.  | -- sclerc@ernie.bgsu.edu (Susan Clerc)
Junk email not welcome at this site. | I receive about 2.5 junk emails a day.
Technical Details
Message-ID: <B0BA1C2E966828E275@0.0.0.0>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <19971213183524193449@cokery.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10b5a2,f487c78007553994
X-Google-Attributes: gid10b5a2,public
X-Google-Thread: 1156c9,f487c78007553994
X-Google-Attributes: gid1156c9,public
From: slavins@hearsay.demon.co.uk.NOJUNK (Simon Slavin)
Subject: Re: Telling the time in Applescript
Date: 1997/12/14
Message-ID: <B0BA1C2E966828E275@0.0.0.0>
X-Deja-AN: 298195304
X-NNTP-Posting-Host: hearsay.demon.co.uk [194.222.24.177]
References: <19971213183524193449@cokery.demon.co.uk>
Organization: First Sirian Bank
Newsgroups: demon.tech.mac,comp.sys.mac.system