Re: OSAScriptController's stopScript action
Re: OSAScriptController's stopScript action
- Subject: Re: OSAScriptController's stopScript action
- From: sqwarqDev <email@hidden>
- Date: Wed, 17 Dec 2014 22:30:40 +0700
> > Is there any way to programmatically stop a script once it's running without using OSAScriptController's 'stopScript' IBAction?
>
> See OSASetActiveProc() in the Retired Documents library:
>
> https://developer.apple.com/legacy/library/documentation/Carbon/Reference/Open_Scripti_Architecture/index.html#//apple_ref/c/func/OSASetActiveProc
>
Ah, perfect! If you were a girl, I'd kiss you.
> As to OSAScriptView and OSAScriptController, I've not used them myself but I remember Shane telling me a while back that they were also crap and had ended up writing his own classes from scratch.
Yep, he told me the same thing, which was going to be my answer if anyone said "Why don't you just use an OSAScriptView?"
Thanks again for the tip and background explanations.
Best
Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden