Skip to main content
Inspiring
July 2, 2024
Question

Remove border from selected item in ScriptUI dialog

  • July 2, 2024
  • 3 replies
  • 1782 views

This is trivial, but it bothers me ...

 

If I click on an item, there is a gray dotted border around the selected item. See Selection 3 in the image attached.

 

How can I eliminate this.

 

I tried
Ckbx_Note3 = Panel01.add("checkbox", [10, 5, 300, 20], " Selection 3","borderless: true"); and it didn't work.

 

Uploads don't seem to be working for me.  

 

 

 

This topic has been closed for replies.

3 replies

Peter Kahrel
Community Expert
Community Expert
July 3, 2024

I don't see this problem in Windows 10. Maybe it's something to do with Windows 11.

Inspiring
July 3, 2024

@Peter Kahrel - Interesting. I don't remember seeing it before but I was working on a new script and I see it in my older scripts also. I think at the time I was just excited that the scripts that I wrote worked.

I opened FrameMaker 15 in Windows Server 2012 (which is based on Windows 😎 and I see it there.  I also opened FrameMaker 17 in Windows 11 and I see it there also. 

rob day
Community Expert
Community Expert
July 3, 2024

Does it happen if you run it from another Adobe app—Photoshop, InDesign, Illustrator?

Legend
July 3, 2024

Could this be the focus highlight as of accessability?

E.g. when you use the tab or alt+tab key, would it wander around?

You could either fight it from that side, or maybe add some padding, margins or whatever the appropriate mechanism to give the actual widget more room.

A quick Google search hints to "Settings > System > Focus assist", I did not try whether it applies.

Inspiring
July 3, 2024

I don't think so: https://www.elevenforum.com/t/turn-on-or-off-focus-assist-in-windows-11.1351/ - however, I did notice that if I press Tab, it goes to the next checkbox.

 

I also searched @Peter Kahrel 's excellent guide for Script UI for things like "Selection", "Border", "Focus", but I could have easily missed it.

Robert at ID-Tasker
Legend
July 2, 2024

You can paste screenshot in the contents of your post. 

 

Inspiring
July 2, 2024

Not working for me. I tried copying to the clipboard and pasting - nothing happened.  I tried clicking insert Picture and it said there was an error uploading the file. I tried adding the .jpg as an attachment and it said "Uploading" but it never finished.

leo.r
Community Expert
Community Expert
July 2, 2024
quote

Not working for me.

By @Marshall_Brooks

 

As a last resort, you can upload your screenshot somewhere and post a link to the screenshot.