• 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
WO hangs when sending AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO hangs when sending AppleScript


  • Subject: WO hangs when sending AppleScript
  • From: Norberto Menendez <email@hidden>
  • Date: Wed, 5 May 2004 12:26:46 -0400

Hi,

I'm trying to send an AppleScript script from WebObjects. To do it:
- created a Java file that includes a function that creates a NSApplescript object and executes it with the string representing the script (file imports cocoa.foundation)
- call that function from one of my actions in my component


Everything works, but when WO calls the action, it executes the script (activate finder), but WebObjects just hangs (seemingly waiting for something to happen) in perpetuity.

In the debugger, if I hit pause, WO seems to be in com.apple.cocoa.foundation.NSAppleScript.execute() and never comes out.


Any ideas ?

Thanks
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: MultiECLockManager
  • Next by Date: RE: (SOAP) web services and how they are implemented
  • Previous by thread: Re: Com.webobjects.eoaccess package in Direct to Java
  • Next by thread: RE: (SOAP) web services and how they are implemented
  • Index(es):
    • Date
    • Thread