# Close Assignment popup window via script when not needed

**URL:** <https://forum.universal-robots.com/t/close-assignment-popup-window-via-script-when-not-needed/26756>\
**Category:** URScript\
**Created:** [February 13, 2023, 7:40pm UTC](https://forum.universal-robots.com/t/close-assignment-popup-window-via-script-when-not-needed/26756 "2023-02-13T19:40:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abelch](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@abelch](https://forum.universal-robots.com/u/abelch)\
**Post date:** [February 13, 2023, 7:40pm UTC](https://forum.universal-robots.com/t/close-assignment-popup-window-via-script-when-not-needed/26756/1 "2023-02-13T19:40:16Z")

</div>

I know you can close normal popup windows with by opening a socket and sending the “close popup” command.

I was trying to do something similar with an assignment window. I have an Assignment popup that comes up to ask the operator a question. Sometime the issue is self resolved (via the attached machine) and does not require the operator to answer the questions.  
Is there a way to cancel the questions with a script command?  
The close popup seems to just stop my program rather than just closing the assignment window.

I think the back-end script assignment is: request\_boolean\_from\_primary\_client()
