Re(2): Changing current date format
Re(2): Changing current date format
- Subject: Re(2): Changing current date format
- From: JF <email@hidden>
- Date: Mon, 20 Jan 2014 10:02:49 +0000
Thx for letting me know that I should not call standard additions within application tell blocks.
Just that the do shell script in the subject line works - quite by accident it seems
Mon, 20 Jan 2014 09:52:51 +1100, Shane Stanley wrote:
>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:
>@fmail.co.uk
>Archives: http://lists.apple.com/archives/applescript-users
>
>This email sent to email@hidden
_______________________________________________
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