Manipulate Finder or Path Finder Sidebar?

I generally use Path Finder as my file browser of choice; however, I'm finding that some of the bits I really want to like are really buggy. In particular, the Sidebar in Path Finder keeps resetting to its default values. I've saved some configurations and can manually reapply them when needed, but I want to avoid the need for interaction.

Is it possible to manipulate the Finder or Path Finder Sidebar Favorites list via KM or AppleScript?

Edit: Added context.