Home
Download
Screenshots

Wiki
Plugins
Translations
Developers
Donate

Forums/Help
Contact Us

StrokeIt

Using notepad and borland

Posted by bdude 
bdude
Using notepad and borland
November 14, 2004 12:18PM
I have my borland C compiler setup to run *.cpp through a batch file; I write my programs in notepad (old school style), and I would like to easily combine the two. What do I put in the argument (under Run Program Command) so that the current file will be used as an argument in the batch file?

Thanks for any help
Jeff
Re: Using notepad and borland
November 14, 2004 12:56PM
You don't. That is, you don't do it using the built in commands, since there is no such thing as a "Get current open file from Notepad" command.

Instead, you grab the SDK from the Developers section and write a quick plugin that will do it for you. If you just want something quick and gross, you could probably just do it with a quick GetWindowText to get the filename from Notepad's toolbar, parse that however you want, and then follow it up with a call to your batch file.

Good luck,

Jeff
Author:

Your Email:


Subject:


Attachments:
  • Valid attachments: zip, sxp, cfg
  • No file can be larger than 128 KB
  • All files together cannot be larger than 512 KB
  • 4 more file(s) can be attached to this message

Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 9 plus 15?
Message: