I'm experimenting with a user tool written in Python, since I like Python more then Lua. In this tool I use the module PySimpleGui to create a popup window to accept some user input (see attachment 'Knipsel1'). The problem is: there seems to a timeout after about 10 seconds. If nothing is entered within that time, the tool aborts (see attachment 'Knipsel2').
I use the module PySimpleGui in other Python scripts and never had that problem. So I think the timeout is generated by the user tool environment of NWC.
Is there anyone who has an idea how to solve this?
In you tool invocation, you might try checking one of these:
- Long Task Handling
- Prompts for User Input
Checking 'Prompts for User Input' solved my problem.
Why didn't I thought about that?
But of course, you're always there to help the ignorents!