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

Question


  • Subject: Question
  • From: Brian Christmas <email@hidden>
  • Date: Wed, 30 Sep 2015 17:15:08 +1000

G’day scripters.

I have a question, that is probably more directed at Shane Stanley. 

As part of my Xcode app process, I have a small Applescript app that, when some folder actions call it, runs until it’s satisfied that the ftp download entering the folders are completed. Takes about 40 seconds to make sure. During this time, it enters 2 delays of 20 seconds between checking. It then saves the folder name to a .dat file that is monitored by my Xcode app.

However, during the delays, it get the spinning cursor, and my Xcode app is unresponsive. I’m presuming it’s because the Applesctript runner can only handle one process at a time.

My question is, if I build that small Applescript app as an Xcode app, and use a

my performSelector:”ftp Watcher Loop:" withObject:(missing value) afterDelay:20


instead of a delay (or shell script (“sleep 20”)), will my main app become responsive?

Thanks in advance

Santa
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Question
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: How can I empty a .dat file in Xcode.
  • Next by Date: Re: Question
  • Previous by thread: Re: How can I empty a .dat file in Xcode.
  • Next by thread: Re: Question
  • Index(es):
    • Date
    • Thread