Re: AppleScriptObjC Explored Chapter 3 - no animation from indeterminate progress bar
Re: AppleScriptObjC Explored Chapter 3 - no animation from indeterminate progress bar
- Subject: Re: AppleScriptObjC Explored Chapter 3 - no animation from indeterminate progress bar
- From: Laine Lee <email@hidden>
- Date: Sat, 19 Feb 2011 14:30:53 -0600
- Thread-topic: AppleScriptObjC Explored Chapter 3 - no animation from indeterminate progress bar
On 2/19/11 12:45 PM, "Laine Lee" <email@hidden> wrote:
> On 2/19/11 3:52 AM, "Shane Stanley" <email@hidden> wrote:
>
>> On 19/2/11 5:14 PM, "Laine Lee" <email@hidden> wrote:
>>
>>> Nevermind, I moved "set my theCounter" to beginning and end of the doProcess
>>> - right next to the log commands, changed it to a boolean, and moved the
>>> assigned attributes from "value" to "animate".
>>
>> Animate has been deprecated since 10.5. For indeterminate bars, you should
>> use startAnimation: and stopAnimation:.
>
> OK, I'll try that and post again if I can't figure it out. Thanks.
>
> Laine Lee
I haven't yet grasped how to address startAnimation: and stopAnimation:,
presumably because they are connections instead of bindings. I first tried
connecting the progress indicator to a new startAnimation handler just as I
had previously connected the Process button to the doProcess handler, but I
couldn't manage it because the script's delegate in the .xib window won't
accept the drag from the progress indicator's instance in the IB window of
the project's target application. How should it be done? Thanks.
Laine Lee
_______________________________________________
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