Page 1 of 1

Blank Screen on Python Script Tool

Posted: Tue May 04, 2021 11:04 am
by george
Hi, I've been using the Python Script tool but the window won't let me input any data. The first time it worked great and ran the script but now I can't edit it. I've tried creating new tasks and even reinstalling Robotask but it shows just a blank unwritable screen (see attached file).

How can I fix it?
Thanks.

Re: Blank Screen on Python Script Tool

Posted: Tue May 04, 2021 6:38 pm
by AlexeySurkis
Hi, try to do the following:
- run regedit.exe
- open the HKEY_CURRENT_USER\SOFTWARE\TaskAutomation\RoboTask\Settings\Plugins\ScriptTools key
- remove the TfrmScriptActionBase and TfrmPythonScriptAction subkeys

Re: Blank Screen on Python Script Tool

Posted: Tue May 04, 2021 7:14 pm
by george
That fixed it, thanks Alexey!! :D

Re: Blank Screen on Python Script Tool

Posted: Tue May 04, 2021 10:15 pm
by george
Everytime I open and close a Python Script Action to edit it, the lower margin starts getting closer to the upper margin; so when I reach aprox. 6 edits it no longer shows the code window.
I don't know if it happens just to me or it's a bug.

Anyway, I can fix it deleting the TfrmPythonScriptAction on regedit for now. :?

Re: Blank Screen on Python Script Tool

Posted: Thu May 06, 2021 10:09 am
by Oleg
It seems we have found the problem

The couple questions:
  • - What scale of RoboTask do you use? (Options->Scale)
    - What system size of text do you use (context menu on desktop -> Display settings)
We will release the patch in nearest time

Re: Blank Screen on Python Script Tool

Posted: Thu May 06, 2021 5:29 pm
by george
Hi Oleg, the scale I'm using on Robotask is 125% and the text size is 100%
For now I'm able to make it work blocking permissions to the edition of that subkey in specific.