• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re(2): Changing current date format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Re(2): Changing current date format
      • From: "koenig.yvan" <email@hidden>
References: 
 >Re(2): Changing current date format (From: JF <email@hidden>)
 >Re: Changing current date format (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Changing current date format
  • Next by Date: Re: Re(2): Changing current date format
  • Previous by thread: Re: Changing current date format
  • Next by thread: Re: Re(2): Changing current date format
  • Index(es):
    • Date
    • Thread