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
/* Ubiquity command for sleep.fm ...My first script! Thanks to sleep.fm */ | |
CmdUtils.CreateCommand({ | |
name: "sleep", | |
homepage: "http://www.arvizardanimations.com/", | |
author: {name: "Aravind Kumar", email: "aravind@arvizardanimations.com"}, | |
license: "GPL", | |
description: "Create an alarm using Sleep.fm", | |
help: "Type sleep followed by the time you want the alarm. For eg, to set an alarm at 6:30am, type 'sleep 630am'. To set an alarm at 6:30p.m, type 'sleep 630pm'.", | |
takes: {"Alarm time": /.*/}, | |
preview: function(pblock, input) { |
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
/* Ubiquity command for bing.com ...My second script! Thanks to Bing.com */ | |
CmdUtils.CreateCommand({ | |
name: "bing", | |
homepage: "http://www.arvizardanimations.com/", | |
author: {name: "Aravind Kumar", email: "aravind@arvizardanimations.com"}, | |
license: "GPL", | |
description: "Search using Bing", | |
help: "Type bing followed by the search term. For eg, to search for pizza, type 'bing pizza'.", | |
takes: {"Search term": /.*/}, | |
preview: function(pblock, input) { |