so I am working on a project trying to get a button when pressed to startAnimate the NSProgressIndicator bar this is an indeterminate progress bar that i would like to manually just stopanimation on
under app delegate outlets myProgressBar -- myProgressBar
in applescript-
thanks for any help.
under app delegate outlets myProgressBar -- myProgressBar
in applescript-
Code:
property myProgressBar : missing value -- connected to the progress bar
on buttonPressRepair_(sender)
--------------------------------start animation
set myProgressBar to (void)startAnimation:(myProgressBar)sender
tell myProgressBar
end tell
display dialog "ok Done"
--------------------------------stop animation
end buttonPressRepair_
thanks for any help.