• 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
AppleScript: displaying progress?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript: displaying progress?


  • Subject: AppleScript: displaying progress?
  • From: "Peter E. Lee" <email@hidden>
  • Date: Mon, 11 Jul 2005 12:11:02 -0700 (PDT)

I found some AppleScript samples on-line to display a
progress bar during lengthy scripts, and I poked
around the progress indicator class in the XCode
dictionary, but  though I can write code that compiles
and runs with no errors, no progress bar is actually
displayed. Am I missing something?

Here's one example that runs OK but doesn't display
anything in XCode:

tell application "Xcode"
	set progressBar to a reference to progress indicator
"Progress" of main window

	set minimum value of progressBar to 1
	set maximum value of progressBar to 100
	set content of progressBar to 1
	set uses threaded animation of progressBar to true

	set visible of progressBar to true
	start progressBar

	repeat with i from 1 to 100
		animate progressBar
		delay 1
	end repeat

	stop progressBar
end tell

Confused,
-Peter
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: questions about project file crud
  • Next by Date: Hiding warnings
  • Previous by thread: Re: Applescript: setting build target?
  • Next by thread: Hiding warnings
  • Index(es):
    • Date
    • Thread