I want to create a GUI dialog box in ICM for my bench chemists to use to retrieve chemicals by entering the ID number. How to create GUI popup dialogs?

22 views
Skip to first unread message

Andrew Orry

unread,
Mar 7, 2025, 11:04:22 AMMar 7
to MolSoft ICM Knowledge Base
Q.
I want to create a GUI dialog box in ICM for my bench chemists to use to retrieve chemicals by entering the chemical ID number. How to create GUI popup dialogs? 
A.
ICM has an extensive range of tools for creating your own GUI elements. These options are described here.

Example:

Here is an example of HTML with a link to a dialog to ask for ID followed by a read command which can be edited foryour particular example.

#dialog{"Load By ID"}

# s_Enter_ID:id () [REQUIRED]

read binary "path/to/" + $id + ".icb"

Ruben

unread,
Mar 10, 2025, 6:35:01 PMMar 10
to MolSoft ICM Knowledge Base
A good question. The answer depends on the environment. 
When your chemists open ICM what do they see (it may be configured with. $ICMHOME/_startup or ~/.icm/user_startup.icm scripts).
Depending on the location of your chemical tables of databases, one can add any type of specific search menu to the ICM client.
Reply all
Reply to author
Forward
0 new messages