Custom HTML Prompt - No Title, Click and Move Window?

I'm pretty sure the answer is No, but is there any way to allow clicking on a part of the Custom Prompt Window to click-drag it to a different location, when the Title bar ("Has Title") option is disabled?

This is a global behavioural change, so will affect all apps/windows, and requires a restart (so you can't just enable it for titleless Custom HTML Prompts). But

defaults write -g NSWindowShouldDragOnGesture -bool true

...will allow you to βŒƒβŒ˜-Click anywhere in a window to then drag it.

If you don't like the on-click window bounce then that can be disabled with

defaults write -g NSWindowShouldDragOnGestureFeedback -bool false

In both, miss out the -g if you want this to only apply to the currently logged in user account.

3 Likes

@Nige_S this is great thanks for the suggestions.

I just uploaded this code to show you how to allow a Custom HTML Prompt with no caption to be dragged:

1 Like

Nice...

This . Is . Amazing. Thank You. Works perfectly!

1 Like