Re: Changing current date format
Re: Changing current date format
- Subject: Re: Changing current date format
- From: Shane Stanley <email@hidden>
- Date: Mon, 20 Jan 2014 09:52:51 +1100
On 20 Jan 2014, at 5:16 AM, JF <email@hidden> wrote:
> These ones worked best for me:
> set subject of foo to "Invoice dated " & (do shell script "date +%d%b%Y")
The use of "set subject of foo to" suggests this is inside an application tell block, which would mean you are calling the Standard Additions command "do shell script" within it. That's not really a good idea: with a couple of exceptions, you should keep you scripting addition calls outside application tell blocks.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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