• 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: Crashing Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crashing Script


  • Subject: Re: Crashing Script
  • From: Yvan KOENIG <email@hidden>
  • Date: Fri, 12 Feb 2016 18:46:15 +0100


Le 2016/02/12 à 18:11, Steve Mills <email@hidden> a écrit :

On Feb 12, 2016, at 10:54 AM, "Stockly, Ed" <email@hidden> wrote:
…

Curiously, each record in the resulting list has the same time in the 1st item (newTime). The variable newTime is being shared among each record, as if it were ref counted. Why is that? If I change "set newTime to myTime" to "copy myTime to newTime", it works as I'd expect.

BTW, it doesn't crash for me on 10.10.2, even with the log command left in.

I was not really surprised to get the same date in every sublists.
To get the different values just edit one instruction :

set timePair to {newTime as text, TimeAsText}


Yvan KOENIG running El Capitan 10.11.3 in French (VALLAURIS, France) vendredi 12 février 2016 18:45:49





 _______________________________________________
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

References: 
 >Re: Crashing Script (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Crashing Script
  • Next by Date: Re: Crashing Script
  • Previous by thread: Re: Crashing Script
  • Next by thread: Re: Crashing Script
  • Index(es):
    • Date
    • Thread