IBM WebSphere Host On-Demand (HoD): Cannot run program with "runprogram" command. What can I do?

Posted by kokbira on Super User See other posts from Super User or by kokbira
Published on 2011-05-09T03:32:07Z Indexed on 2012/03/26 17:33 UTC
Read the original article Hit count: 218

Filed under:
|

I access a system that uses an IBM Host on Demand client.

I am tryig to create a macro to do a hard task (more than 90,000 keys must be pressed to complete it), but to do it easier I need to call some "external" aplications using "runprogram" tag.

But I don't know why it does not function (following IBM help - http://publib.boulder.ibm.com/infocenter/hodhelp/v11r0/index.jsp?topic=/com.ibm.hod.doc/doc/macro/macro.html - did not help...). I am running in Firefox 3.6 and my Java version is jdk1.6.0_20.

Below, an example of macro that should function, but didn't.

<HAScript name="TEST4" description="" timeout="60000" pausetime="300" promptall="true" blockinput="false" author="wingman" creationdate="05/05/2011 16:14:31" supressclearevents="false" usevars="false" ignorepauseforenhancedtn="true" delayifnotenhancedtn="0" ignorepausetimeforenhancedtn="true">

    <vars>
        <create name="$intReturn$" type="integer" value="0" />
    </vars>

    <screen name="Tela1" entryscreen="true" exitscreen="false" transient="false">
        <description >
            <oia status="NOTINHIBITED" optional="false" invertmatch="false" />
        </description>
        <actions>
           <runprogram exe=
              "'c:\\Program Files\\Windows NT\\Accessories\\Wordpad.exe'"
              param="'c:\\a.txt'" wait="true"
              assignexitvalue="$intReturn$" />
           <message title="" value="'Return value is '+$intReturn$" />
        </actions>
        <nextscreens timeout="0" >
        </nextscreens>
    </screen>

</HAScript>

© Super User or respective owner

Related posts about ibm

Related posts about websphere