advertisement

Article:
  Controlling Your Mac with AppleScript and Java
Subject:   Error -1750
Date:   2003-06-12 13:10:47
From:   pcbeard
Response to: Error -1750

Yes, I see the same problem. Something in the way Cocoa works in Mac OS X 10.2.6 has triggered this. A simple work around is to add the following code to your application:


import com.apple.cocoa.application.NSApplication;


then


NSApplication.sharedApplication();


before you use the NSAppleScript class.


1 to 1 of 1
  1. Error -1750
    2003-06-14 08:29:58  pcbeard [View]

1 to 1 of 1