• 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: Folder action query 2: properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder action query 2: properties


  • Subject: Re: Folder action query 2: properties
  • From: Jon Pugh <email@hidden>
  • Date: Thu, 11 Dec 2003 07:44:48 -0800

At 4:08 PM +0000 12/10/03, peter boardman wrote:
>--
>property currentCount : 0
>increment()
>
>on increment()
> set currentCount to currentCount + 1
> display dialog "Count is now " & currentCount & "."
>end increment
>--
>
>but this script shows 1 each time it runs:
>
>--
>property currentCount : 0
>
>on adding folder items to this_folder
> set currentCount to currentCount + 1
> display dialog "Count is now " & currentCount & "."
>end adding folder items to
>--
>
>So why doesn't the property get remembered when the script runs the
>second way?

Folder Actions apparently doesn't save scripts after running them. I'd call this a bug.

Jon
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: do shell script
  • Next by Date: Reading a file as it fills up by another program
  • Previous by thread: Folder action query 2: properties
  • Next by thread: Re: Folder action query 2: properties
  • Index(es):
    • Date
    • Thread