I would like to show “Info > Generic” by default
when I open a record in a new window with
set theWindow to open tab for record theRecord
I found this old thread: Show or hide the sidebar using AppleScript - #11 by cgrunenberg.
Has anything changed since then?
No, there are no window commands to toggle inspectors.
The only option is user interface scripting, e.g. simulating a pressed shortcut using system events.
If you have Keyboard Maestro, you can have your AppleScript launch a Keyboard Maestro macro that opens that tab in the inspector.