# Override native maya command

**URL:** https://forum.highend3d.com/t/override-native-maya-command/412
**Category:** Maya
**Tags:** mel
**Created:** [June 28, 2012, 1:25am UTC](https://forum.highend3d.com/t/override-native-maya-command/412 "2012-06-28T01:25:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hyungeun-kim](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/h/dc4da7/32.png) [@hyungeun-kim](https://forum.highend3d.com/u/hyungeun-kim)
#### Post date: [June 28, 2012, 1:25am UTC](https://forum.highend3d.com/t/override-native-maya-command/412/1 "2012-06-28T01:25:12Z")

</div>

I hope to add some work on "keyframe", "setKeyframe" commands.  
When they called, I need to renew my UI.  
I tried to use "scriptJob", but there isn't such a event, right?  
So, I think up that I have to override the commands.  
But I can't find the way to adjust native command. ☹

How can it work?

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [July 3, 2012, 8:07am UTC](https://forum.highend3d.com/t/override-native-maya-command/412/2 "2012-07-03T08:07:12Z")

</div>

You can not override the native command, except with mel procedue but then youll break maya.

The next best thing is to override the GUI that is you change the commend in the menus AND you change the keyboard shortcut.
