<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2713.1100" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial>I use an Applescript function with Metacard:<BR><BR>On
mouseup<BR> do field "<EM>fieldname</EM>" as
Applescript<BR> put the result into
<EM>myVar</EM><BR> put Fctname(<EM>myVar</EM>) into
<EM>myresult</EM><BR> answer <EM>myresult</EM><BR>End
mouseup<BR><BR>Field "<EM>Fieldname</EM>":<BR>tell application
"<EM>myapp</EM>"<BR> activate -- in my case it is
necessary<BR><EM>DoSpecificEvent</EM><BR>end tell<BR><BR>As I want to active the
other application in a first time, I must<BR>reactive MetaCard to show the
answer result ... I am not able to active<BR>Metacard with an Applescript
function (I obtain an execution error) :<BR><BR>tell application
"mchome.mc"<BR> activate<BR>end tell<BR><BR>How can I active
Metacard <SPAN class=111091414-19062002>(by applescript or by an other way)
?</SPAN><BR><BR>Thanks<BR>Mathias Glaus<BR></FONT></DIV></BODY></HTML>