• 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: Subroutine that works only on the 1st run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subroutine that works only on the 1st run


  • Subject: Re: Subroutine that works only on the 1st run
  • From: "Marc K. Myers" <email@hidden>
  • Date: Sat, 09 Feb 2002 00:30:01 -0500
  • Organization: [very little]

> Date: Fri, 08 Feb 2002 09:32:05 -0600
> Subject: Subroutine that works only on the 1st run
> From: Eric Schult <email@hidden>
> To: <email@hidden>
>
> This script works the first time it's run, but fails on any subsequent run,
> saying, "The <script> doesn't understand the fileList message. The same
> thing happens in both the "on run" and "on open" routines. Can anybody guide
> me?

I noticed that you used "fileList" for two different purposes: as the
name of a handler and the name of a list variable within that handler.
If you give them unique names does it correct your problem? It confused
me. Maybe it confused AppleScript as well.

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[2/9/02 12:28:10 A
_______________________________________________
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: How to get frontmost application?
  • Next by Date: Re: Ethernet Hardware Address
  • Previous by thread: Re: Subroutine that works only on the 1st run
  • Next by thread: Re: Subroutine that works only on the 1st run
  • Index(es):
    • Date
    • Thread