Method for writing to View Presets?

Hi, I’m wondering if there’s some sort of method of writing to View Presets? Like, let’s say I have View Preset#8 that I’m happy with, could I include the data in that View Preset inside a Tool and, upon user request,destructively write the data to View Preset#8?

I’m trying to come up with a solution for forcing Disk Browser Keyboard Focus via an additional feature I’m working into Paketti, and thus far I’ve only been able to do it like this:

Save View Preset#8 by hand (with disk browser focus enabled)

Create a shortcut into Paketti that calls View Preset #8.

I would like to save the View Preset#8 setting inside the tool, and somehow write it into the global View Preset#8 setting. Any ideas?