System-Wide Shortcut to Open Most Recent Folder or File in Finder

Help! I’d like to create a keyboard command and/or Streamdeck button that shows in Finder my most recent file, as defined by Default Folder X (which I use). I’d also like to have a different shortcut that opens in Finder my most recent folder, as defined by Default Folder X. I can’t figure out how to do this, and I’m sure it’s something simple?

To clarify

Under Preferences > Shortcuts for Default Folder X, I see lots of potential assignable key combos for various folders. Is one of those what you are looking for?

Unfortunately I see nothing listed for a file but the dev is very involved and responsive and may welcome a suggestion.