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

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


  • Prev by Date: openUntitledDocumentAndDisplay vs. AppleScript's make document
  • Next by Date: Re: NSFileManager - "Can't read directory contents" ??
  • Previous by thread: openUntitledDocumentAndDisplay vs. AppleScript's make document
  • Next by thread: Something like runUntilDate in CoreFoundation
  • Index(es):
    • Date
    • Thread