topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday June 18, 2025, 6:49 am
  • 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

Recent Posts

Pages: prev1 2 [3] 4 5 6next
51
Post New Requests Here / Re: IDEA: fling a window across the screen
« Last post by relipse on April 15, 2014, 12:11 AM »
Ok, so I have been experimenting with the script you posted sk.
Here is my modified version that seems good for my purposes:

https://gist.github.com/relipse/10655325

But my question is, how can I modify it to accept parameters in the command line?
Also where can I input the direction and and grab the current window that the mouse is over or something.
Thanks,
Jim
52
Post New Requests Here / IDEA: fling a window across the screen
« Last post by relipse on April 13, 2014, 05:54 AM »
You are given these via parameters on execution:
1. sx - Start X point
2. sy - Start Y point
3. fx - Final X point
4. fy - Final Y point
5. d - final displacement (int) of start to finish swipe
6. v - Velocity (double) of how fast the touch or swipe was
7. a - final acceleration of how fast the touch or swipe was accelerating (can be negative)


Coding Snack Job - Accept the above as command line parameters and then
Fling the window across the screen slowing it down due to the friction of the desktop.


This will be in used in conjunction with a touch-pad gesture program which I will release later.
It may pass parameters like so: s100,1032 f1300,123  d103 v1.38882 a-1.313

By the way, use WindowFromPoint() api call from sx,sy to grab the window that needs to be flung
53
Well I've finally decided to release http://cworklog.com under GPLv3
If you want a complete time logging system that I've been using for 3 years now, you can install it fresh on your own computer or central server to utilize.
And best of all if you want a feature, you can add it yourself by forking me! http://github.com/relipse/cworklog

Please let me know what you think as I know several of you were interested when I first released it publicly.
Jim

THIS IS A PHP PROGRAM IT REQUIRES A WEBSERVER (I USE A LOCAL XAMPP INSTALL)
54
Living Room / Robotic Ball Controlled by Anroid/iPhone/iPad
« Last post by relipse on April 09, 2014, 10:34 PM »
http://www.gosphero.com/

Yeah i want one for my cats :)
And potential babies :)
55
Community Giveaways / Re: Free CSS Scrollbar Color Designer
« Last post by relipse on April 05, 2014, 11:49 PM »
Is this still availalbe? Website says not found.
56
N.A.N.Y. 2014 / Re: Nany 2014 Entry - Early Alpha - JsRoboKey
« Last post by relipse 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.
57
N.A.N.Y. 2014 / Nany 2014 Entry - Early Alpha - JsRoboKey
« Last post by relipse 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');
});
58
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.
59
Post New Requests Here / Re: IDEA: 15 minute work log
« Last post by relipse 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
60
Post New Requests Here / Re: IDEA: 15 minute work log
« Last post by relipse 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.
61
Post New Requests Here / IDEA: 15 minute work log
« Last post by relipse 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.
62
Living Room / Re: "Half of our users block ads. Now what?"
« Last post by relipse 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.
63
Borland C++ Builder Contest / Re: Trandesk Multiple Desktops
« Last post by relipse 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.
64
FARR Plugins and Aliases / Re: CZB pack
« Last post by relipse 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
65
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
66
Post New Requests Here / Re: IDEA: block a website for x amount of time
« Last post by relipse on March 04, 2013, 01:20 PM »
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
67
Post New Requests Here / IDEA: block a website for x amount of time
« Last post by relipse on March 04, 2013, 11:45 AM »
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
68
N.A.N.Y. 2013 / Re: NANY 2013 PLEDGE - Contractor's Work Log
« Last post by relipse 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)
69
with a todo list?
70
General Software Discussion / Re: 2013 Version: Browser Wars
« Last post by relipse on January 28, 2013, 01:58 AM »
chrome rocks!
71
N.A.N.Y. 2013 / Re: NANY 2013 PLEDGE - Contractor's Work Log
« Last post by relipse 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
72
General Software Discussion / Re: which is the most advanced pdf editor?
« Last post by relipse on January 13, 2013, 05:10 PM »
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
73
Good ol notepad++ and Chrome ctrl-shift-j for debugging for me.
74
Developer's Corner / Re: Learn C (and other things...) the Hard Way
« Last post by relipse 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.

75
LaunchBar Commander / Re: Show us your LaunchBar Commander Screenshots
« Last post by relipse on December 24, 2012, 12:26 AM »
yeah i think its the regular gray (none)
Pages: prev1 2 [3] 4 5 6next