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

automated progress indicator


  • Subject: automated progress indicator
  • From: Rhon Fitzwater <email@hidden>
  • Date: Sat, 12 Nov 2005 21:12:26 -0500

All,

Christoper Hickman has written a sample application (apple script studio app) that has an automated progress indicator (uses cocoa). By automated progress indicator, I mean one that continues to update while another task is running (i.e progress bar updates 1 percent each second until a do shell script task ends). All would be great if the program worked this way. The only problem is it does not.

In the sample program Topher uses a "delay 60" to let progress bar update. This works fine. I however, would like to replace the delay 60 with do shell script command. For testing I tried do shell script sleep 60 to mimic the delay 60. When I do this, the progress bar stops updating. With the delay 60, the progress bar updates during the delay.

If anyone thinks they can debug this problem, I am attaching a link to download the sample project. Any help would be greatly appreciated. I know this is an applescript studio program, and or problem. But possibly someone on this list will be able to see a problem with the cocoa code (if there is one) and come up with a solution, or another way to get it to work. Any help would be appreciated.

Download Sample Project here: <http://www.fitzwaterinc.com/ ProgressBarTest.zip>

Thanks a lot,

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


  • Prev by Date: Re: How to see the arguments of methods from the stack trace during debugging
  • Next by Date: Re: Where do asynchronous API do their "work"?
  • Previous by thread: Re: Where do asynchronous API do their "work"?
  • Next by thread: Objective-C++ overload resolution no longer working?
  • Index(es):
    • Date
    • Thread