Messages - relipse [ switch to compact view ]

Pages: prev1 ... 3 4 5 6 7 [8] 9 10 11 12 13 ... 22next
36
Community Giveaways / Re: Free CSS Scrollbar Color Designer
« on: April 05, 2014, 11:49 PM »
Is this still availalbe? Website says not found.

37
N.A.N.Y. 2014 / Re: Nany 2014 Entry - Early Alpha - JsRoboKey
« on: September 25, 2013, 03:59 PM »
Honestly ahk did such a great job writing their little powertool to do pretty much anything you need in windows. It's downfall - it's not cross-platform and the language is nothing like a programming language in my opinon. JsRoboKey's aim is to Have at least the powerful features in the familiar javascript syntax using the powerful v8 engine.

38
N.A.N.Y. 2014 / Nany 2014 Entry - Early Alpha - JsRoboKey
« on: September 14, 2013, 12:01 AM »
I am announcing JsRoboKey as one of my entries to NANY 2014. Right now it is pre-alpha but it's got some starter features similar to AutoHotkey.
I hope to get version 1.0 in by the new year!

In case you want some teasers, the app sits in the tray (similar to ahk) and will run a script. Here are some examples (go to http://github.com/relipse/JsRoboKey for more readable format):


Example Scripts
---------------

###### sendKeys()
A simple script might look like this:
   //run notepad, wait a little bit for it to open, then send some keystrokes
    rk.run('notepad');
    rk.sleep(700);
    rk.sendKeys('abcdefgABCDEFG1234567890!@#$%^&*()');

###### addGlobalHotkey()
Or even better, trigger to run notepad after a certain hotkey!
rk.addGlobalHotkey('Meta+Alt+N', function(){
   rk.run('notepad');
});
(Meta) means the Windows key


###### getForegroundWindow() and getWindowText()
And demonstrating some new functionality, this script will run notepad and wait for it to open
function fgWinMatches(winTitle){
    var hwnd = rk.getForegroundWindow();
    var title = rk.getWindowText(hwnd);
    if (title.toLowerCase().indexOf(winTitle.toLowerCase()) >= 0){
       return {hwnd:hwnd,title:title};
    }else{
       return false;
    }
}

function winWait(winTitle, callback){
   var match = fgWinMatches(winTitle);
   if (match === false){
      rk.setTimeout(function(){
         winWait(winTitle, callback);
      },400);
   }else{
     callback(match);
   }
}

rk.run('notepad');
winWait('notepad', function(match){
    rk.sendKeys('Hello World');
});
###### onClipboardChange()
A new feature onClipboardChange() which sets up a callback when the clipboard changes, think of the possibilities!
rk.onClipboardChange(function(data){
    if (typeof(data) != 'string'){ return; }
    if (data.indexOf('foobar') >= 0){
       rk.alert('foobar on clipboard: ' + data);
    }
});

###### onKeyPress() onKeyRelease()
*unstable* not yet in master (hotfix_keylisten branch)
rk.allowKeyListen();
rk.onKeyRelease(function(key){
   if (key == 'F7'){
     rk.sendKeys('Hello World F7');
   }
});

###### 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','Check if JsRoboKey executable file exists...', function(){
   alert(__APPFILEPATH__ + ' exists: ' +
           rk.fileExists(__APPFILEPATH__));
});


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

39
https://github.com/relipse/JsRoboKey

Here's the deal, this sucker is in pre-alpha, but a basic script such as the one below is working!
Code: Javascript [Select]
  1. //run notepad, wait a little bit for it to open, then send some keystrokes
  2.     rk.run('notepad');
  3.     rk.sleep(700);
  4.     rk.sendKeys('abcdefgABCDEFG1234567890!@#$%^&*()');

I need Qt C++ developers to just dive right in and start adding features. The goal is basically to make the power of AutoHotkey cross-platform and using the javascript language.

Check it out, and let me know if you are interested in helping.

40
Post New Requests Here / Re: IDEA: 15 minute work log
« on: July 08, 2013, 10:53 AM »
In fact I could pop it up at ever 15 minute interval, 10:00-10:15, 10:15-10:30, 10:30-10:45
forcing me to enter what I did for the last 15 minutes

Pages: prev1 ... 3 4 5 6 7 [8] 9 10 11 12 13 ... 22next
Go to full version