Stop a NSAppleScript
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