• 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
Re: OSAScriptController's stopScript action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: OSAScriptController's stopScript action
      • From: sqwarqDev <email@hidden>
References: 
 >Re: OSAScriptController's stopScript action (From: has <email@hidden>)

  • Prev by Date: Re: OSAScriptController's stopScript action
  • Next by Date: Re: OSAScriptController's stopScript action
  • Previous by thread: Re: OSAScriptController's stopScript action
  • Next by thread: Re: OSAScriptController's stopScript action
  • Index(es):
    • Date
    • Thread