Skip to main content

URL schemes and OS commands

A URL scheme identifies a resource that can be called with an iRidi command. URL schemes can start an application, open a link in a browser, open an email client, call a phone number, or send an SMS. You can also use URL schemes to open third-party applications if iRidi does not support the equipment you need or the available driver does not meet your requirements.

Different operating systems use different URL schemes. Consider the OS on which the project will run when selecting commands to execute.

Calling from iRidi​

In iRidi, you can create a button that opens a third-party application or a link in a browser. To do so, assign the Execute command to the button and specify the application's URL scheme:

Execute.png

Windows URL schemes​

AppURL Schemes
Any application's exe filec:\Program Files\iRidium.exe
On-Screen Keyboardosc

Apple URL schemes​

AppURL Schemes
Calendarcalshow://
Clipsclips://
Contactscontacts://
Diagnosticsdiagnostics://
Facetimefacetime://user@exam
Facetime AudioFacetime-audio://user@example.com
Find My Friendsfindmyfriends://
Find My Phonefmip1://
Game Centergamecenter://
Garagebandgarageband://
iBooksibooks://
iCloudDrive:appleiclouddrive://
iMovieimovie://
iTunes Remoteremote://
iTunes Storeitms://
iTunes Universityitms-itunesu://
Mailmessage://
Mail tomailto://user@example.com
vMapsmaps://
Messagesms://phonenumber
to:sms://user@example.com
Musicmusic://
Newsapplenews://
Notesmobilenotes://
Phonetel://phonenumber
Photosphotos-redirect://
Podcastfeed://
pcast://
Radioitsradio://
Remindersx-apple-reminder://
Safarisafari://
Safari Searchx-web-search://
Safari FTP Fileftp://location-to-ftp-file
Safari HHTP Sitehttp://website URL
Safari HTTPShttps://website URL
Shortcutsshortcuts://
TVvideos://
Videosvideos://
Voice Memovoicememos://
Walletshoebox://
Watchitms-watch://
Workflowworkflow://

Popular URL schemes​

AppURL Schemes
Alexaalexa://
Amazonaiv://
amznmp3://
AprilaireRemoteAccess://
Bluesoundbluesound://
Dahua NVRidmss://
Deezerdeezer://
DoorbirdDoorbird://
Ecobeeecobee://
Facebookfb://
Flickrflickr://
Googlegoogle://
googlechrome://url
Gmailgooglemail://
HBO Gohbogo://
HBO Nowhbonow://
Heosheosbydenon://
Hikvisionhik.intent.action.iVMS-4500://
Huluhulu://
IMDbimdb://
Instagraminstagram://
Kaleidescakscape2://
Lift Mastermyliftmaster://
Lutronlutronhomecontrol://
lutronconnect://
lutroncaseta://
Messengerfb-messenger://
Movie Passmoviepass://
Musicastjp.co.yamaha.avkk.musiccastcontroller://
My Canalcplus://
Nestnestmobile://
NetatmoNetatmo
Netflixnflx://
NFLnflmobile://
Nuvonuvoplayer://
Onkyooremote://
Orangeotvp://
Pandorapandora://
Pinterestpinterest://
Pioneer Remotepioneer-remote-app://
Philips Huehue2://
Plexplex://
ProControlpropanel://
Pyngcrestron-pyng://
Rachiorachio://
Ringring://
Rokuroku://
RTIrtipanel://
Samsungsmartthings://
Skypeskype://
Slingspm-iphone://
Snapchatsnapchat://
Sonossonos://
Sonos S1sonos-1://
Sonos S2sonos-2://
Spotifyspotify://
Sportssportscenter://
Tidaltidal://
Tumblrtumblr://
Tivotivo://
Twittertwitter://
Vimeovimeo://
Wazewaze://
WhatsAppwhatsapp://
Wyrestormnhdtouch://
XBMCsybu-xbmc://
Xfinity TVxfinitytv://
Youtubeyoutube://
Zappiti 4Kzmc4kremote://
Zappiti Oldzmc://
Important
  • URL schemes differ between iOS and Android
  • An application cannot be started if its developer has not provided this capability!

Android URL schemes​

On Android, you can find an application's URL scheme using the Google Play Store:

  1. Open Google Play and find the required application.

  2. In the address bar, copy the text between the equals sign (=) and the ampersand (&). This is the URL scheme.

URL.png

Calling from JavaScript​

Create a JavaScript file in the iRidi Studio script editor to execute commands when a button is pressed or a system event occurs.


IR.Execute("http://iridiummobile.net");

Details on working with JavaScript are provided in the Guide.

Calling iRidi from other applications​

Launch URL schemes can be called from a browser or email client, like hyperlinks to network resources. Use these commands:

  • i3pro:// - calls the application (opens or restores it). It works in the browser on an iOS/Android device where it is installed. It can be used as a hyperlink in a browser, email client, or another application

  • i3pro://script?data1&data2:

    • a command that calls the application and runs a script
    • a data string passed to the script in the query parameter.

    IR.AddListener(IR.EVENT_RECIEVE_SCHEME,0,function(query, source) ); - the listener you need to create in the iRidi project to receive data from the URL scheme

Example:

URL scheme in a third-party application or browser:

i3pro://script?Page1

URL scheme handler in iRidi:


IR.AddListener(IR.EVENT_RECIEVE_SCHEME,0,function(query, source)
{
if (query == "Page1")
IR.ShowPage("Page 1");
});