Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
relipse committed Sep 13, 2013
1 parent 3372ff2 commit 6e424a5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Expand Up @@ -79,11 +79,17 @@ rk.onKeyRelease(function(key){
###### trayMsg()
demonstrating a few of the latest features as well,
after the tray bubble message gets shown, the callback gets called when the user clicks the tray message
```
rk.trayMsg('Hi','Click here for details...', function(){
```js
rk.trayMsg('Hi','Check if JsRoboKey executable file exists...', function(){
alert(__APPFILEPATH__ + ' exists: ' +
rk.fileExists(__APPFILEPATH__)
rk.fileExists(__APPFILEPATH__));
});


rk.trayMsg('About','Click to open the JsRoboKey website', function(){
rk.openUrl('http://github.com/relipse/JsRoboKey');
});

```


Expand Down

0 comments on commit 6e424a5

Please sign in to comment.