inm logo
Corporate Website | Contact | Store | Support | Login  
     


Knowledgebase
View categorized listing of all common frequently asked questions.
Downloads
View our categorized library of downloads for all necessary manuals, software, etc.
 Article Options
Support Center » Knowledgebase » INM Moka Xtra for Director » How to launch an application using Java™
Support Page Banner
 How to launch an application using Java™
Product:Platform:Area:Version:
Moka Xtra for Director Windows, Macintosh code all

Summary

You can use the MokaXtra methods moka_CallStaticJavaMethod() and moka_CallJavaMethod() to call the Java™ Runtime class that can launch an application on a user's computer.

Example

gRuntime = gMoka.moka_CallStaticJavaMethod("java.lang.Runtime",                       
"getRuntime","()Ljava/lang/Runtime;")
gProcess = gMoka.moka_CallJavaMethod(gRuntime, "exec", "(Ljava/lang/String;)Ljava/lang/Process;", "NOTEPAD.EXE")

 

 



Article Details
Article ID: 61
Created On: 26 Sep 2006 11:17 AM

 This answer was helpful  This answer was not helpful

inm general footer
Services Xtras Go Products Support Gallery Store Download About Us Contact Newsroom