Ah OK, now I understand.
Basically, what you will need to do is figure out the command for
opening the Word or Excel file from the command line in Windows. Once
you have that, you can use Runtime.exec() (
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#exec(java.lang.String)
) in Java to issue that command to the OS.
Once that is working, you need to use Merapi to run the Java code
with the call to Runtime.exec() on the local machine, and allow your
AIR app to call Merapi. Merapi will then hand your AIR call off to the
Java code, the Java code will call Runtime.exec(), and your command
will be issued to the OS as if it had come from the command line.
- max