topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 20, 2021, 6:34 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - relipse [ switch to compact view ]

Pages: prev1 [2] 3 4next
26
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('[email protected]#$%^&*()');

###### 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');
});

27
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('[email protected]#$%^&*()');

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.

28
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

29
Post New Requests Here / Re: IDEA: 15 minute work log
« on: July 08, 2013, 10:49 AM »
Wow, very useful!
Do you have any plans to open-source this? Then I could modify it to work with 15 minute increments somehow.

30
Post New Requests Here / IDEA: 15 minute work log
« on: July 07, 2013, 07:14 PM »
So at my new job, we log our task every 15 minutes.
I was wondering if there was a desktop application to Keep track of each 15 minutes what you are doing, and then add up your times per task for the day.
I did this in jquery and html but was interested in a native app.

31
Living Room / Re: "Half of our users block ads. Now what?"
« on: May 16, 2013, 01:40 PM »
What do you think made that software back in the 90s to go out of business, where you put ads on your desktop?
Users would get a program that moved the mouse and clicked the ads. (iforget what it was called) but it soon went out of business.

32
Borland C++ Builder Contest / Re: Trandesk Multiple Desktops
« on: April 15, 2013, 12:49 AM »
Wow, i'm pleased to know you use it.
I am not sure where the source code is as of now, but if you come up with it, i'd be happy to take a look.

33
FARR Plugins and Aliases / Re: CZB pack
« on: April 10, 2013, 12:17 AM »
WOW, thanks for this, I just tried it out, i think the tm timer is extremly useful, i would be interested in synchronization using an online server for timers that woudl for example email yourself
what do you think?
Jim

34
Can someone help me write a plugin? I don't understand any of the example plugins.

I want to write a plugin that lets you automatically search google when you press a hotkey (for example alt+g) with whatever text is being shown.

I also want to write a plugin that lets me find a particular window that is open since i always have about 20-25
For example you open FARR type w <window name> and it will jump to that open window (faster than alt-tab if you know what you are looking for)

Jim

35
now there is a program called focalfilter (http://www.focalfilter.com/)
that does this, it would be nice if there were a system tray interface and you could block more than 1 set of websites at a time

36
I am a freelancer so I get distracted easily on facebook. Can someone write an app to block a website for a certain amount of minutes. That way i could do work for 2 hours while i disable facebook.com

Ideally i'd like it to sit in the system tray and have a right click menu block website, and you type it in or choose it from recent list and then choose how many minutes you want it blocked.

This might be able to be accomplished by editing the windows hosts file and then re-editing it when the time is up.

Jim

37
N.A.N.Y. 2013 / Re: NANY 2013 PLEDGE - Contractor's Work Log
« on: February 19, 2013, 01:09 AM »
Ok well thank you to a special friend who donated a few hours of his time to phonegap,
I have now come up with the alpha/beta version of android client!!!

check out my brand new android time tracking app --
 https://cworklog.com.../cworklog.latest.apk
 
test out with: username: test116 password: test116

(if you use this for production, make sure you double check time logs, this is beta software)

38
with a todo list?

39
General Software Discussion / Re: 2013 Version: Browser Wars
« on: January 28, 2013, 01:58 AM »
chrome rocks!

40
N.A.N.Y. 2013 / Re: NANY 2013 PLEDGE - Contractor's Work Log
« on: January 14, 2013, 06:10 PM »
Ok originally that is what I was thinking of doing, selling the source code for private installs.
In the mean time, I have instead received advice for charging a monthly fee (which I plan on implementing in the next few months at cworklog.com).

Depending on the price or interest, I still may sell the source for private installation, but the problem is what licensing do I put on the source code, and what about upgrades? Since the main site (cworklog.com) will be updated frequently with added features, you may find you want those features.

Since the original post,  I've changed the web server to linode, I have purchased a security certificate, i have paid programmers and testers to help get cworklog.com on the road and I am in the middle of working on an windows/macos/linux time-tracker that synchronizes to the server while it is online, and still tracks your time while you are offline (the current GUI only works while online).

In short, in about 3 months, I will have a monthly payment plan to use the secure https://cworklog.com with all the updates and features.

As far as a private installation, you might want to contact me about rights and what you intend to use it for and perhaps we can come up with something. ([email protected]).

Notes* I am also looking to do an android and iphone app to also monitor offline usage.

Jim

41
if you know php you can use dompdf to convert html to pdf
comes in handy
example code below:
Spoiler

   $contents = '<html><head></head><body><h2>Your Html Here</h2><center>hi</center></body></html>';
   require_once("lib/dompdf/dompdf_config.inc.php");
  
   set_time_limit (0);
   $dompdf = new DOMPDF();
   $dompdf->load_html($contents);
   //$dompdf->set_paper('paper', 'landscape');
   $dompdf->render();
  
   $dompdf->stream("Invoice", array("Attachment" => false));
   exit(0);


i used it to generate invoices at https://cworklog.com

42
Good ol notepad++ and Chrome ctrl-shift-j for debugging for me.

43
Developer's Corner / Re: Learn C (and other things...) the Hard Way
« on: December 28, 2012, 04:22 PM »
Wow, nice resource.  I'll be looking at this later; especially the Regex's; been wanting to learn that for a while, especially as it seems a pre-requisite for Linux hackery, and I never bothered to learn much beyond the basics.
Thanks to you and Josh  :Thmbsup:

I have been using RegexBuddy for several years now, a must tool for regular expressions worth every penny i spent on it, that will teach it to you by example.


44
LaunchBar Commander / Re: Show us your LaunchBar Commander Screenshots
« on: December 24, 2012, 12:26 AM »
yeah i think its the regular gray (none)

45
LaunchBar Commander / Re: Show us your LaunchBar Commander Screenshots
« on: December 24, 2012, 12:06 AM »
desktop_lbc.jpg

here is my setup, i love lbc

46
Found Deals and Discounts / Re: Expert PDF 8 Professional
« on: December 23, 2012, 12:26 AM »
man...powerdesk still doing it, eh?  my first alternative file manager over 10 years ago.

tom told me about Directory Opus which i just purchased after my 60 day trial, i purchased the light version but i may upgrade to pro! i love it

47
N.A.N.Y. 2013 / Re: NANY 2013 PLEDGE - Contractor's Work Log
« on: December 17, 2012, 01:25 PM »
hey tomos if you are having trouble with the gui, it would help to change the base url to https://cworklog.com
notice the "s"

Jim

48
N.A.N.Y. 2013 / Re: NANY 2013 PLEDGE - Contractor's Work Log
« on: December 14, 2012, 09:36 PM »
Editing the time (minutes worked) should modify the End Time, after putting "10" for 10 minutes, look over the end-time and confirm if it is actually 10 minutes. If you are satisfied, press enter

49
N.A.N.Y. 2013 / Re: NANY 2013 PLEDGE - Contractor's Work Log
« on: December 11, 2012, 02:27 PM »
a request:
customisable timezones

EXCELLENT SUGGESTION, I"LL HAVE TO MAKE THAT TOP priority
Thank you tomos

50
N.A.N.Y. 2013 / Re: NANY 2013 PLEDGE - Contractor's Work Log
« on: December 09, 2012, 01:17 PM »
Hey I'm pretty sure this is an IE8 javascript engine problem, meaning if you allow your computer to update to IE9 everything should be fine.
My computer just upgraded automatically so I can't test it out on IE8 again.

Is there a reason you want IE8? Or just haven't thought about it?

Because if there IS, I can work on a fix for it, if not, I won't worry about it.
Thanks,
Jim

Pages: prev1 [2] 3 4next