Applescript with Metacard

Mathias Glaus glaus.mathias at uqam.ca
Wed Jun 19 10:28:01 EDT 2002


I use an Applescript function with Metacard:

On mouseup
    do field "fieldname" as Applescript
    put the result into myVar
    put Fctname(myVar) into myresult
    answer myresult
End mouseup

Field "Fieldname":
tell application "myapp"
    activate -- in my case it is necessary
DoSpecificEvent
end tell

As I want to active the other application in a first time, I must
reactive MetaCard to show the answer result ... I am not able to active
Metacard with an Applescript function (I obtain an execution error) :

tell application "mchome.mc"
    activate
end tell

How can I active Metacard (by applescript or by an other way) ?

Thanks
Mathias Glaus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.runrev.com/pipermail/metacard/attachments/20020619/9b742905/attachment.htm


More information about the metacard mailing list