Hi, my team is trying to simulate pressing F11.
We tried the following but none worked, but we didn't get any error message at all:
1. exec_command(b”PF(3)”)
2. em.send_pf(11)
3. adding our own def send_pf11(self):
Besides, we are having trouble with the Emulator variable visible=False. It runs tests and passes in headless mode, but it doesn't let us set it to True. It complains about
Traceback (most recent call last):
File "/Users/shining.chen/PycharmProjects/scrape3270/main.py", line 21, in <module>
my3270.connect(myhost)
File "/Users/shining.chen/PycharmProjects/scrape3270/venv/lib/python3.11/site-packages/py3270/__init__.py", line 358, in connect
self.exec_command(command)
File "/Users/shining.chen/PycharmProjects/scrape3270/venv/lib/python3.11/site-packages/py3270/__init__.py", line 308, in exec_command
c.execute()
File "/Users/shining.chen/PycharmProjects/scrape3270/venv/lib/python3.11/site-packages/py3270/__init__.py", line 82, in execute
return self.handle_result(result.decode("ascii"))
This makes our debugging very difficult!
Any ideas?