Should any key be usable for shortcuts?

Report bugs & feature requests for MediaMonkey 5 and learn about the newest builds.

Moderator: Gurus

Should any key be usable for shortcuts?

You may select 1 option

 
 
View results

stax76
Posts: 176
Joined: Sun Mar 12, 2006 6:45 am
Contact:

Should any key be usable for shortcuts?

Post by stax76 »

I would much prefer if any key would be available for shortcut action use.
Ludek
Posts: 3466
Joined: Fri Mar 09, 2007 9:00 am
Contact:

Re: Should any key be usable for shortcuts?

Post by Ludek »

Note that a scripter can easily write an addon that will disable this feature.

e.g. by overriding the SearchBar.comeIn() method to not accept 'activelist' search type.
stax76
Posts: 176
Joined: Sun Mar 12, 2006 6:45 am
Contact:

Re: Should any key be usable for shortcuts?

Post by stax76 »

any tip on this is very welcome, first I need to improve my HTML/JavaScript knowledge, 2006 in MM4 it was slightly complicated, see here:

http://pastebin.com/E42ymJnE
Ludek
Posts: 3466
Joined: Fri Mar 09, 2007 9:00 am
Contact:

Re: Should any key be usable for shortcuts?

Post by Ludek »

Just create a script (folder under /Scripts/) with file /controls/searchBar_add.js

Namely [your MM5 install folder]/scripts/[YourScriptName]/controls/searchBar_add.js

with following content:

Code: Select all

SearchBar.prototype._orig_comeIn = SearchBar.prototype.comeIn;

SearchBar.prototype.comeIn = function (params) {
    if (params.searchType != 'activelist')
        this._orig_comeIn(params);
}
You can add also info.json, zip it and rename it to *.mmip so that others can easily install it as an extension.
Post Reply