Wish list: hotkey to toggle "Display PDF attachments of rich texts" in Pref

I don’t want to display the inline PDF attachments when I am editing the RTF (which includes moving around the inline PDFs,) but I want to see them when I am reading it.

In the meantime, if there is a solution using Keyboard Maestro or Better Touch Tool , it’s fine. I am familiar with those apps. For AppleScript , I would require help.

thank you