Created
January 30, 2011 15:58
-
-
Save tmyt/802965 to your computer and use it in GitHub Desktop.
Azurea Script Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Postの中で最初に出現するURLをブラウザで開くショートカットキーをつくってみた。 | |
.キーで実行されまする。 | |
API Level >= 8 な環境で使ってね! | |
*/ | |
System.addKeyBindingHandler(0xBE, 0, function(id){ | |
var urls = new Array(); | |
TwitterService.status.getUrls(id, urls); | |
if(urls.length > 0) System.openUrl(urls[0]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment