Is it possible to change the Shotcut for Peak and smooth?
Moderators: Víctor Paredes, Belgarath, slowtiger
Is it possible to change the Shotcut for Peak and smooth?
In previous version of AS Shortcut for Peak - 'P' and for Smooth - 'M'. But in AS PRO 6 Ctrl+P and Ctrl+M. Possible to change the shortcut as previous version? Because holding Ctrl key is difficult to me for the process of Smooth and Peak.
I love Moho
- Barry Baker
- Posts: 342
- Joined: Fri Aug 27, 2004 6:58 am
- Location: UK
- Contact:
Look at this discussion:
viewtopic.php?t=13515&highlight=smooth
I had the very same issue with v6. You will need the peak and smooth tools, as well as their icons, from v5.6 to be able to change it back (lm_smooth.lua and lm_peak.lua). Put them in the scripts\tool folder, then edit each lua file to take out the word LOCALIZE, which is incompatible with v6.
For example,
viewtopic.php?t=13515&highlight=smooth
I had the very same issue with v6. You will need the peak and smooth tools, as well as their icons, from v5.6 to be able to change it back (lm_smooth.lua and lm_peak.lua). Put them in the scripts\tool folder, then edit each lua file to take out the word LOCALIZE, which is incompatible with v6.
For example,
Then you need to change _tool_list.txt in the same folder by adding the following lines:It should work without any changes -- if there are problems they are most likely with any LOCALIZE statement. If so, you can safely remove the LOCALIZE function: that is, if it says something like:
LOCALIZE("Hello young lovers") change to "Hello Young Lovers".
Put these lines where you want the buttons to appear - I have them directly after lm_curvaturebutton lm_smooth M
button lm_peak P
I have put the peak and smooth buttons and changed the _tool_list.txt. Works as well. But lua console error shows.
I didn't understand in this script. How can remove the LOCALIZE function?
I didn't understand in this script. How can remove the LOCALIZE function?
I don't have script knowledge.function LM_Peak:UILabel()
return(MOHO.Localize(self.BASE_STR + 1, "Peak"))
end
I love Moho
- Barry Baker
- Posts: 342
- Joined: Fri Aug 27, 2004 6:58 am
- Location: UK
- Contact: