Tuesday, August 23, 2011

I Didn't Think I Could Love OpenShot Any More Than I Do, But I Was Wrong

Over the last couple of years, I have supported the OpenShot project in every way I could, and have been inspired by its evolution under the guidance of Jonathan Thomas -- the guy deserves a medal.

One feature that I needed was a keyboard shortcut for adding a marker.  So with a little bit of grep I managed to find the information I needed in the MainGTK.py file.

Here is what my change looks like in code:

if self.is_edit_mode == False:
            if keyname == "c":
                # Cut all tracks at this point (whereever the playhead is)
                self.cut_at_playhead()
                return True
           
            if keyname == "m":
                # Experimental, trying to add a keyboard shortcut for adding a marker
                self.on_tlbAddMarker_clicked(widget)
                return True   


Here is what my change looks like on screen:




And here is what my change looks like on face:




Thank you, JT and the OpenShot community, for this magnificent software :D

No comments:

Post a Comment