NSAppleScript hangs
NSAppleScript hangs
- Subject: NSAppleScript hangs
- From: Dominic Feira <email@hidden>
- Date: Tue, 19 Jul 2005 20:31:32 -0400
Hello.
I'm using [[NSAppleScript alloc] initWithContentsOfURL: error:] to
load an applescript. However, for one single user it is hanging at
this point. I have verified that the URL is correct many times. I
noticed on Cocoa Dev Central that someone there also ran into this
problem:
http://64.233.167.104/search?q=cache:k-1Zg2oYQwoJ:cocoadevcentral.com/
articles/000052.php+initWithContentsOfURL+hang
+NSAppleScript&hl=en&client=safari
I was unable to find the original, so the google cache will have to
do. Anyway, they solved this problem by moving the initWithURL into
an init method instead of in awakeFromNib. I have done this already,
and the app still hangs.
Has anybody experienced this problem? I'm assuming this is a bug, it
should at least return a nil pointer and an error dictionary. Any
ideas or suggestions are appreciated.
Cross-posted: cocoa-dev, applescript-implementors
Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
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