BeardedSpiceMac 多媒体快捷键
Bearded Spice 允许你使用 Mac 键盘上的多媒体快捷键控制基于 Web 的多媒体播放器(比如 SoundCloud,YouTube 等等)和一些原生应用。
BeardedSpice 特性:智能模式,自动更新,快捷键等等。
多媒体策略:
@interface MediaStrategy : NSObject /** Returns name of that media stratery. */ -(NSString *) displayName; // Required override in subclass. /** Checks tab that it is accepted this strategy. */ -(BOOL) accepts:(TabAdapter *)tab; // Required override in subclass. /** Checks tab that it is in the playback state. */ - (BOOL)isPlaying:(TabAdapter *)tab; /** Returns track information object from tab. */ - (Track *)trackInfo:(TabAdapter *)tab; /** Returns javascript code of the play/pause toggle. */ -(NSString *) toggle; // Required override in subclass. /** Returns javascript code of the previous track action. */ -(NSString *) previous; /** Returns javascript code of the next track action. */ -(NSString *) next; /** Returns javascript code of the pausing action. Used mainly for pausing before switching active tabs. */ -(NSString *) pause; // Required override in subclass. /** Returns javascript code of the "favorite" toggle. */ -(NSString *) favorite; /** Helper method for obtaining album artwork from url string */ - (NSImage *)imageByUrlString:(NSString *)urlString; @end
评论
UserKeyboardShortcutsJavaScript 快捷键库
UserKeyboardShortcuts是重构了mootools-more提供的键盘类,提供给用户本地自定义的键盘快捷键,不需要用户做过多的操作。用户只需要用Keyboard.addShortcut
UserKeyboardShortcutsJavaScript 快捷键库
0
ShortcutJSJavaScript 快捷键库
Shortcut.js 可以让你实现键盘快捷键和应用功能之间的绑定。一些快捷键定义:Shortcut
ShortcutJSJavaScript 快捷键库
0
keycode.jsJavaScript 快捷键库
KeyCode.js是个跨浏览器的JavaScript常规键盘快捷键库。这个库围绕键盘对象来运行,还有一些{Intcode,boolshift,boolalt,boolctrl}JavaScript对
keycode.jsJavaScript 快捷键库
0