Unable to view or edit code snippets in ARD

Document ID : KB000005271
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

I cannot view the code snippet screen that is accessible from "File" -> "Configuration" -> "Automation" menu option. The screen shows up blank (black).

black_code_snippet_screen.jpg

 

This prevents me from seeing any of my existing scripts. I see the same behavior when I am adding an automation action.

Environment:
ARD 2.2 and later
Cause:

The code snippet screen uses the Ace editor by default (https://ace.c9.io), which is an open-source code editor written in JavaScript.

The screen appears black on some systems because of a compatibility issue between Ace and the graphics rendering interface available on the system.

Resolution:

Click on File -> Settings and manually change the "Editor Type" to "Plain Text" from the drop down menu. This will display the code in plain text instead of using the Ace editor features.

Plain Text Editor.jpg