Invalid SQL: INSERT INTO `swsessions` (`sessionid`, `ipaddress`, `lastactivity`, `useragent`, `isloggedin`, `sessiontype`, `typeid`, `dateline`, `status`) VALUES('8db66d60efe6cc00dd0bc04263ca336f', '54.167.225.62', '1498610953', 'CCBot/2.0 (http://commoncrawl.org/faq/)', '0', '40', '0', '1498610953', '0'); (The table 'swsessions' is full)
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\support.inm.com\includes\functions.php:410) in C:\Inetpub\support.inm.com\includes\functions.php on line 1612
How to launch an application using Java™ - Support Center
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