Rocket Terminal Emulator

 View Only
  • 1.  TE screen freezes after script sendkey

    Posted 21 days ago

    Hi Folks, I hope someone can help me out with this weird issue.  I have a script that has been working fine up until the last Update to v10.2.1.4931.  Now, after sending a PF3 command to the session, it freezes the screen.  Can't move the cursor, can't send input, etc.  I know exactly where it is occurring in my script, at line 1081:

    bzhao.SendKey "<PF3>"

    Up to that point it does a few other sendkey statements, like bzhao.SendKey "<Enter>", no problem.

    If it put this instead:

    MsgBox ("Hit F3 key")

    I run script in debug mode, and it works fine (as long as I hit the F3 key manually, and click on OK).

    I have tried putting disconnect and connect statements right after the sendkey, but it completely disregards them.  

    Anyone seen this before, or know how to fix this?

    Thanks.



    ------------------------------
    Daniel Hayden
    Middleware Infrastructure specialist
    Syniverse Technologies Inc.
    COMMERCE CA US
    ------------------------------


  • 2.  RE: TE screen freezes after script sendkey

    Posted 17 days ago

    Seems like the script doesn't know what PF3 is.  Check the keyboard settings for the pc and TE. See if PF3 is defined as PF3.  In debug more manually hitting PF3 works since the script has stopped.  



    ------------------------------
    Anthony Mckenzie
    analyst
    Arizona Health Care Cost Cont.
    ------------------------------



  • 3.  RE: TE screen freezes after script sendkey

    Posted 14 days ago

    See if PF3 is defined as PF3

    Did you possibly mean that PF3 was defined as PF03?



    ------------------------------
    Michael Simpson
    Rocket Forum Shared Account
    ------------------------------



  • 4.  RE: TE screen freezes after script sendkey

    Posted 14 days ago

    yes



    ------------------------------
    Anthony Mckenzie
    analyst
    Arizona Health Care Cost Cont.
    ------------------------------



  • 5.  RE: TE screen freezes after script sendkey

    Posted 13 days ago

    yes, keyboard on session has the PF03 key assigned:

    I created a test script that just does a PF3:

    Sub Main
     
      set bzhao = CreateObject("BZWhll.WhllObj")
      bzhao.Connect ""
     
      bzhao.SendKey "<PF3>"
      bzhao.WaitReady 10, 1
     
     
     
    End Sub

    And it runs fine.

    I did a trace on the problem script, working with Rocket support.  They say it shows a disconnect from the network after the F3 command is sent.  No clue why it would do that, as this script has been working fine for quite awhile now.  Now, the only way I can get it to work is if I put a pause where the send F3 command used to be, and then when it gets to that part in the script, I manually issue the F3 key.



    ------------------------------
    Daniel Hayden
    Middleware Infrastructure specialist
    Verizon Communications
    COMMERCE CA US
    ------------------------------



  • 6.  RE: TE screen freezes after script sendkey

    Posted 13 days ago

    mmm...I'm at a loss as to why.  Possibly replace the PF3 with another PF function to see what happens.  It's picking up something in the unseen code or setup to bump off the network.  Copy the code into a text file so it doesn't pickup any hidden characters, delete the program, then readd it & copy/paste from the text file.  Good luck.



    ------------------------------
    Anthony Mckenzie
    analyst
    Arizona Health Care Cost Cont.
    ------------------------------



  • 7.  RE: TE screen freezes after script sendkey

    Posted 12 days ago

    And if you do find the answer, don't forget to post it here so others can benefit from your experience.



    ------------------------------
    Michael Simpson
    Rocket Forum Shared Account
    ------------------------------