Website Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • August 30, 2015, 05:34:37 PM
  • Proudly celebrating 10 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

Author Topic: On Change Run Task - My first Windows desktop application  (Read 983 times)

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
On Change Run Task - My first Windows desktop application
« on: March 19, 2012, 11:52:22 AM »
If you are the 1% of people that always wanted to run a program / batch file / autohotkey script when the contents of a file/script/text document/htm/css file changes, and you haven't found a program for it, then you might benefit of the program i've put together today: On Change Run Task.

OCRT is the smallest program that would still be useful for me that I could write using Visual Studio C# 2010 Express. (as it is my first one) I hope you find it useful. Thanks to kyrathaba for making the tutorials that finally got me started :))

Possible use cases:
* run your build batch file to compile and create a installation package whenever your auto hotkey script is updated. (reason why I made this)
* run a script to refresh your browser whenever your CSS changes.
* 1000 possible other obscure uses.

Future development will depend on my continued use and any interest from you. I managed to disable ClickOnce but it still requires .NET Framework 4 Client Profile, which you probably have already installed.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,354
    • View Profile
    • Donate to Member
Re: On Change Run Task - My first Windows desktop application
« Reply #1 on: March 19, 2012, 01:32:12 PM »
I'm not sure I'm doing it right. "Add Task" seems to add a file to watch, but then I can't load in anything for it to do. How does that work?

I re-installed the Framework but no effect. I'm on Win7.

justice

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,896
    • View Profile
    • Donate to Member
Re: On Change Run Task - My first Windows desktop application
« Reply #2 on: March 19, 2012, 02:27:20 PM »
Right click on the file and choose set action, you will be asked to browse to an executable. Sorry!

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,354
    • View Profile
    • Donate to Member
Re: On Change Run Task - My first Windows desktop application
« Reply #3 on: March 19, 2012, 02:31:24 PM »
Oh there we go! That is kinda cute! Not sure what to do with it yet, but I'm good at Rube Goldberging stuff!