Support Portal

for ProcessRobot and WinAutomation

Start a new topic

Custom Dialog with Dynamically Changing Picture


This couple of processes launches a Custom Dialog which dynamically displays a picture, based on the user's selection.

This is achieved using JavaScript; the main process fires up the secondary one and proceeds to display the Dialog, while the secondary one runs the required JavaScript code on the Dialog and finishes.

This paradigm may be used to perform any JS manipulation/customization on a Custom Dialog.

(To run this example, import both .waj files, save the images to your Desktop, and run the "Custom Dialog with Pictures" process through the Console. You may need to edit the "Start Process" action on the main Process, so that it targets the "JS" Process in your Console.)

(61.2 KB)
(50 KB)
(88 KB)
1 Comment

Hi, I like this approach and I use it to create a progress bar in my projects, but recently it is closing the custom dialog windows trying to attach, now it only attach using foreground setting. Anyone have any idea why?? Normally I attach to the custom dialog with title "Custom Dialog". I think it started after update.
If anyone is interest I can make a post showing a how to and example...


1 person likes this
Login or Signup to post a comment