SikuliX1 icon indicating copy to clipboard operation
SikuliX1 copied to clipboard

For Popup: Reminder that interaction is needed

Open roboraptor opened this issue 4 years ago • 3 comments

I have few automation scripts that are pretty long like 30minutes+and it would be great to have some eye/ear-catching thingy to wake up user/operator from his work on other machines or stuff.

Original comment: #456
Also something like reminder on that interaction if it is waiting for too long? Like when u have pretty long automation process for like 30+ minutes and somewhere in the middle you need to wakeup the user from the work on other machines.

  1. Visual Blinking screen/popup like use red/green highlight on and off

  2. Sound use that java toolkit make sound thing or powershell command mediaplayer thing

roboraptor avatar Jun 17 '21 12:06 roboraptor

If the "user interaction" is stuck on screen for given amount of time (can be set as some global timeout value) it will start to do the "reminder" thingy.

reminderTime(30) # global value which sets the number of seconds after the reminder starts to remind 😄

reply = Do.popAsk("Do this or that","Do something",120, reminder = visual/sound/both )

Reminder can be set to value visual, sound or both or disabled by not being specified. Reminder can be used even on popups which dont have any timeout specified like basic popup("") and popError("")

roboraptor avatar Jun 17 '21 13:06 roboraptor

Ah ok, now I understand: Your workflow issues a popup for some reason and wants the user to recognise/answer it, even while not staring ;-) on the screen during the run of your workflow.

I will check, how this can be implemented.

RaiMan avatar Jun 18 '21 16:06 RaiMan

Exactly. I love your work! ❤️

roboraptor avatar Jun 18 '21 16:06 roboraptor