# How to Customize Buttons in URScript Error Popup?

**URL:** <https://forum.universal-robots.com/t/how-to-customize-buttons-in-urscript-error-popup/41007>\
**Category:** URCap Development\
**Created:** [August 29, 2025, 3:39pm UTC](https://forum.universal-robots.com/t/how-to-customize-buttons-in-urscript-error-popup/41007 "2025-08-29T15:39:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![efkere](https://avatars.discourse-cdn.com/v4/letter/e/bbe5ce/32.png) [@efkere](https://forum.universal-robots.com/u/efkere)\
**Post date:** [August 29, 2025, 3:39pm UTC](https://forum.universal-robots.com/t/how-to-customize-buttons-in-urscript-error-popup/41007/1 "2025-08-29T15:39:00Z")

</div>

Hello everyone,  
I am developing a URCap for Polyscope 5 and want to customize the error popup behavior in URScript. By default, the error popup shows only “Stop Program” and “Continue” buttons.

Is there a way to modify these buttons, for example replacing the “Continue” button with a different one, or adding custom buttons?

Any advice or best practices on customizing the popup buttons would be highly appreciated.

Best regards,  
Halit

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/e/e6d349dadeaa59851e05dde38c15a4a99ff90bc7.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/df5e746b9f1eba2c422e4dc728620e656c52e3ed.png)
