Quantcast
Channel: Ivanti User Community : Popular Discussions - Terminal Emulation (Powered by Wavelink)
Viewing all articles
Browse latest Browse all 8066

Help with optimization

$
0
0

Hello.

I am new in scripting.

I need to optimize work with TelnetCE app - some screens where user has to press "Enter" many times.

The script generated from with capture is below. I need to send enter on some other screens.

How can I do this on many different screens?

 

Script( 111 )

Activate( From_Menu )

    Comment: Verify that this is the desired screen.

    If_Not( Boolean_And( String_Equal( Get_Screen_Text_Length( 4, 4, 4 ), "CLT1", 0, FALSE ), String_Equal( Get_Screen_Text_Length( 6, 4, 6 ), "DOCK01", 0, FALSE ), String_Equal( Get_Screen_Text_Length( 8, 4, 4 ), "HAND", 0, FALSE ) ) )

        Return

    End_If

    Set_Cursor_Position( 6, 4 )

 

    Message( "Starting Script", 3 )

 

    Keypress_Key( "VT220", "Enter" )

    Keypress_Key( "VT220", "Enter" )

    Keypress_Key( "VT220", "Enter" )

 

    Message( "Script Done", 3 )

    Return


Viewing all articles
Browse latest Browse all 8066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>