And if you do find the answer, don't forget to post it here so others can benefit from your experience.
Original Message:
Sent: 04-16-2024 10:40
From: Anthony Mckenzie
Subject: TE screen freezes after script sendkey
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.
Original Message:
Sent: 04-16-2024 08:58
From: Daniel Hayden
Subject: TE screen freezes after script sendkey
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
Original Message:
Sent: 04-12-2024 11:09
From: Anthony Mckenzie
Subject: TE screen freezes after script sendkey
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.
Original Message:
Sent: 04-06-2024 16:54
From: Daniel Hayden
Subject: TE screen freezes after script sendkey
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
------------------------------