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

Re: Open Windows


  • Subject: Re: Open Windows
  • From: Ed Stockly <email@hidden>
  • Date: Wed, 16 Jul 2008 08:00:19 -0700


Any idea why at times I have so many windows left open. I have only 11
scripts running off this computer. Is it possible the scripts would clash
with each other and stop processing? Each script has it's own hotfolder to
process from.

Couldn't say for certain without looking at the scripts.

11 is not a large number of scripts, but, on the other hand, you can have conflicts with just two scripts.

If you have two scripts watching two folders and in each case they open documents in the same application, you're likely to have conflicts.

Once a document opens in an application, it has no special binding or relationship to the script that opened it, so another script, thinking it's working on another document opened by the same application could close it or change it or error out.

To resolve this you'll need some kind of scripting management scheme, or at least have each script wait until the application has no open documents before proceeding. Also you may want to look at the structure of the scripts so that if they encounter an error the close open documents rather than just quit.

HTH,

ES
_______________________________________________
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: Open Windows (From: "Script2" <email@hidden>)

  • Prev by Date: login script
  • Next by Date: Re: login script
  • Previous by thread: RE: Open Windows
  • Next by thread: login script
  • Index(es):
    • Date
    • Thread