How to adjust this HTML window? /Edited

I have an HTML window that is displayed correctly in Safari but truncated in Keyboard Maestro. How can I change the HTML to have all content displayed in Keyboard Maestro?

Safari:


Keyboard Maestro:

Custom prompt with html.kmmacros (5.6 KB)

Define the window size you want -- see the "HTML Window Design" section of the action's Wiki page.

1 Like

Thank you. I've added:

<body data-kmwindow="310,290">

I would also like to make the light blue background invisible (totally transparant). Perhaps you can point me in the right direction for this too?
Custom prompt with html.kmmacros (3.7 KB)

Try changing background-color: lightblue; to background-color: transparent;

Thanks, I had tried that before posting.

Weird, it works for me:

1 Like

Sorry. You're right. However, actually I want the background to be invisible (setting it to invisible doesn't work :wink: ) so that the round corners stick out. Do you know a solution for that too?

Like this, right?


Click the gear menu and set the prompt to Transparent.

Screenshot 2024-08-18 at 7.59.24 AM

1 Like