Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO hangs when sending AppleScript



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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.