Skip to content

Commit

Permalink
added more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
relipse committed Sep 13, 2013
1 parent 6c14b08 commit b8a9437
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ rk.onClipboardChange(function(data){
```

###### onKeyPress() onKeyRelease()
unstable in hotfix_keylisten branch
*unstable* not yet in master (hotfix_keylisten branch)
```js
rk.allowKeyListen();
rk.onKeyRelease(function(key){
Expand All @@ -76,6 +76,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(){
alert(__APPFILEPATH__ + ' exists: ' +
rk.fileExists(__APPFILEPATH__)
});
```


Need Helpers
------------
In order to make this a reality, I am going to need some passionate helpers to get this working, we need most all of the features which AutoHotkey has, and cross-platform.
Expand Down

0 comments on commit b8a9437

Please sign in to comment.