Michael J. Lew wrote/ schreef:

> [snip]
> For instance the following
> Applescript works in the applescript editor, returning 97 (the number
> of messages at the moment):
> 
> tell application "Eudora"
> get the count of messages of mailbox "In"
> end tell
If you have any AppleScript that works in the editor, you can use

  send <script> to program "Finder" with "MISCDOSC"

MiscDosc tells the program (FInder) to execute the data (the script). Note
that the Finder has to be open for this one.

  send "tell application" && quote & "Eudora" & quote & cr & "get the count
of messages of mailbox" && quote & "In" & quote & cr & "end tell" to program
"Finder" with "MISCDOSC"

Something like that should work. Didn't test it, but..

Hope this helps,
Sjoerd

Reply via email to