Skip to main content
Participant
February 6, 2024
Question

Is it possible to create HTML element on document?

  • February 6, 2024
  • 2 replies
  • 327 views

 

can we create a visual layout that looks like the UI shown in the image within an InDesign document using ExtendScript? It seems that I can’t find any API to create an HTML-like element.

 

This topic has been closed for replies.

2 replies

Robert at ID-Tasker
Legend
February 6, 2024

Do you want just visual effect - or functionality? 

 

Participant
February 6, 2024

I just want to render the UI as the visual effect and export the InDesign file to PDF. Thank you

James Gifford—NitroPress
Legend
February 6, 2024

I'd simply use styles to create the components and effects. Not sure why a 'live function' approach is needed. (Actually, to be honest, I'd probably use Illustrator, although I'm not bad at technical illustrations in ID...)

Peter Kahrel
Community Expert
Community Expert
February 6, 2024

Maybe try radioButtons. I don’t know whether and if so, how, they appear when you export them to HTML though.

Participant
February 6, 2024

Hi, I am new to ExtendScript. I tried the radioButtons, but it does not look like what we normally see radioButton in HTML.