• 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
Stop a NSAppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stop a NSAppleScript


  • Subject: Stop a NSAppleScript
  • From: "Thomas C." <email@hidden>
  • Date: Wed, 1 Dec 2004 00:06:51 +0100

Hi everyone,

Warning : Objective-C beginner here !! ;-)

I have made an AppleScript Studio application which tells Photoshop to process some operations and this can be very long depending on the size of the image so my customer is asking me for a button to stop the script before it's finished (which is a useful sometimes).
The problem was that the interface wasn't responding to my actions when the script was running so I made an Objective-C application using NSAppleScript and NSThread to avoid this problem but now I'm looking for a way to interrupt the NSAppleScript and exit the NSThread.


I've tried different things with no luck so far (I ran into crashes until now)...
Does someone know how to do this ?


Thanks
Thomas

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Stop a NSAppleScript
      • From: Thomas Davie <email@hidden>
  • Prev by Date: Re: Swapping isa's (was Re: Hex Edit controls (resknife))
  • Next by Date: WebKit headers
  • Previous by thread: Re: Manual Outline View Sorting
  • Next by thread: Re: Stop a NSAppleScript
  • Index(es):
    • Date
    • Thread