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

Re: log command


  • Subject: Re: log command
  • From: Steve Mills <email@hidden>
  • Date: Wed, 06 Apr 2016 18:22:40 +0000 (GMT)

On Apr 06, 2016, at 12:52 PM, RJay Hansen <email@hidden> wrote:


On Apr 6, 2016, at 11:35 AM, Steve Mills <email@hidden> wrote: 
Yes, every time. Unless your script is skipping sections because possibly you're using a property to control some program flow, and that property is preserved until you recompile the script. Care to show us your script?


Yes, the variables I’m trying to log are being used every time the script runs so they should be logged. Here’s my script (I imagine Nigel Garvey could reduce this to half its size):

Note that I said "property", not "variable". You aren't using properties here, but remember that a property is a variable that has a global scope and whose value is saved in the script. You're using plain local variable, so their values are initialized and destroyed with every run.

Sent from iCloud's ridiculous UI, so, sorry about the formatting

 
 _______________________________________________
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

  • Prev by Date: Re: log command
  • Next by Date: Re: log command
  • Previous by thread: Re: log command
  • Next by thread: Simple applescriptable diagram maker
  • Index(es):
    • Date
    • Thread