MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Christopher Green <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Sun, 22 Jan 2006 05:26:51 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
Hi, all.
I have successfully run NSAppleScript from within a Java beanshell (10.4.4
Tiger). Great.
Now I want to do the ... what I think is the slightly more complex thing,
which is send a doScript apple event from same to a specific app with a text
argument, in other words:

from Java: send apple event eventcode 'misc' eventid 'dosc' to specific app
with scriptTextVariable.

Could someone please help out with a few clues, or example code (even just
the cocoa, if it follows the above bad pseudo code I could undoubtedly
extrapolate).

Example code would be HUGELY appreciated.

Thanks in advance

CG

ATOM RSS1 RSS2