Has anybody executed applescript from java.
I’m new at applescript; but, have some experience with WebObjects.
When I “execute” an applescript MacOSX does not return control to the java program.
ie the program hangs. The code I used follows:
//thePrinter.executeAppleScript(“tell application "TextEdit"\n activate\nend tell”);
The TextEdit window comes forward (sometimes).
Any Ideas are welcome.
Model: iMac G5
AppleScript: 2.1
Browser: Safari 412
Operating System: Mac OS X (10.4)