Re: Time format
Re: Time format
- Subject: Re: Time format
- From: ba95 <email@hidden>
- Date: Tue, 20 Nov 2007 06:54:46 +0100
Thanks a lot.
Quite interesting.
Yours.
BA
Le 19 nov. 07 à 21:01, J. Stewart wrote :
I see you have it solved but here's my 2¢ anyway :)
As the others have said you had some stuff in the wrong place,
notably the leadZero handler. It should not be within any other
code block and its a good idea to precede calls to it with the
"my" keyword.
The thing I've noticed: Why is there a Finder tell block in it
at all? There's no need for it with the code you've posted. If
there is other code that requires it fine but it's best in the
long run to only put stuff you absolutely must within such a
block. As it is your code is filtering all the scripting
addition calls through the Finder slowing down your script.
There is an alternative to all the date manipulation in your
script. You might find the following "do shell script" does what
you want and replaces most of the code -
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden