AppleScript: displaying progress?
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