你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/16072-wme-keyboard-shortcuts-useage2,源站連結 點此以跳轉。
Adds Keyboard Shortcuts to WME
This is an example script showing how to add keyboard shortcuts to WME,
using the library file i wrote. please feel free to use the library.
Please feel free to make any suggestions to rickzabel on waze
There are three main functions
1. setups the keyboard shortcut section in the keyboard editor
and will add shortcuts when called
2. loads the previously set shortcuts and reapplies them.
3. save the keyboard shortcut to a localstorage on page reload or exit
in your scripts header add
// @require https://greasyfork.org.cn/scripts/16071-wme-keyboard-shortcuts/code/WME%20Keyboard%20Shortcuts.js
replace all 'WMEAwesome' with your script's name such as 'SomeOtherScript'
Further usage and details are in the script.