Re: Days and hours
Re: Days and hours
- Subject: Re: Days and hours
- From: Martin Orpen <email@hidden>
- Date: Sat, 22 Oct 2005 13:12:03 +0100
- Thread-topic: Days and hours
on 20/10/05 18:16, Mark J. Reed at email@hidden wrote:
> But I'm not using SMILE, and chrono, like change, is a SMILE-only feature.
If you're using Tiger you can time stuff without using additions:
script o
tell application "Finder" to get folder of someFile
end script
set someFile to choose file
timeIt(o)
on timeIt(o)
tell application "Automator"
set foo to call method "timeIntervalSinceReferenceDate" of class
"NSDate"
o
set bar to call method "timeIntervalSinceReferenceDate" of class
"NSDate"
return (bar - foo)
end tell
end timeIt
-->0.008687973022
And if you are using Panther you can achieve the same thing by calling on an
AppleScript Studio app instead of Automator.
It's nice to have found something useful to do with Automator though :-)
--
Martin Orpen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden