Page 1 of 1

Graph editor button commands

Posted: October 24th, 2011, 4:38 pm
by i4n
Hey All,

It would be really great to be able to attribute common graph editor's button tasks to variables so I could assign to keyboard shortcuts. These are the two I'm most interested in:

*"Fit all graphs to view"
*"Auto-zoom graph height"

To anyone's knowledge, are there already javascript commands to toggle/engage these button's functions?
Maybe even a "app.executeCommand(app.findCommandId("Fit all graphs to view"));" equivalent, but for graph editor commands?

This would be really, really, really helpful, not just to me but to a lot of folks that use the graph editor a lot, I think.

Thanks,
Ian