Sign in to follow this  
Followers 0
autonoob

AutoIT, SecureCRT and VT100.

3 posts in this topic

#1 ·  Posted (edited)

Hi All,

I am attempting to get my script to use a VT100 commands in secure crt. Currently it accesses the commands by using Send.

Current Script

Func PR_Nav($ifms)
    AutoItSetOption("WinTitleMatchMode",2)
    If WinActivate("IFMS") Then
        Send("{F1}")
        Send("3{ENTER}3{ENTER}")
        Send($ifms)
        Send("{F5}")
        Return 1
    Else
        MsgBox(0,"ERROR","Could not navigate to IFMS")
        Return 0
    EndIf
EndFuncoÝ÷ Ù8^Ë.{­Øb²+-«d{)¦Ç!jx~º&ºÇ«¶¬z´¨fzÞ¶­²j+z§z¸E몷r¦jwbTõÓH¬U3Å×åS_ULñuɦ¶îZTÅ×جªiyÛh±ÊèYhrD¨
èµæÞºÚ"µÍ[ÈÓ] ÌÍÚYÊB]]Ò]Ù]Ü[Û ][ÝÕÚ[]SX]Ú[ÙI][ÝËBYÚ[XÝ]]J    ][ÝÒQTÉ][ÝÊH[Ù[
    ][ÝÞÔÐÔÓÐÒÈI][ÝÊBÙ[
    ][ÝÞÓSSÐÒßI][ÝÊBÙ[
    ÌÍÚYÊBÙ[
    ][ÝÞÑ_I][ÝÊB]B[ÙBÙÐÞ
    ][ÝÑTÔ][ÝË ][ÝÐÛÝ[Ý]YØ]HÈQTÉ][ÝÊB][Y[[

When runing this, secure CRT does no input the numlock as VT_PF1.

I have also tried every combo i can think of with "on/toggle" flags. but this still does not work.

As far as i can tell, SecureCRT is not accepting the use of numlock via autoit as VT_PF1, i have also tested this with another telnet Terminal program and it also fails.

Has anyone had experence with use of VT100 terminals and auto it?,

Also SecureCRT can be scripted by VB and i can access the required function by VB, but i am not sure how to get a VB script to work in autoit...

Thanks in advanced for any help.

Edited by autonoob

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

The report button is not for forum bugs.

If you hit the report button again for no reason like a forum bug, you'll likely find your Topic locked next time.

Edited by GaryFrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

The report button is not for forum bugs.

If you hit the report button again for no reason like a forum bug, you'll likely find your Topic locked next time.

Sorry, I couldn't see any bug report option (and i did look) and i thought a forum dedicated to a scripting language would want to know of bugs in thier own forum software, But anyway SmOke_N explained the reason for the bug to me and i now know how to get around it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0