Page 1 of 1

General guide for writing tools?

Posted: Mon Dec 08, 2003 5:14 pm
by dave_mwi
Is there a source for coding info for tools in textpad??

For example, like what variables are available ($FileName) or what functions are available(promt(text))?

I'd like to write some nice tools for cvs specifically, but would like to know what vars and functions are available to me. For example, could I show an open file dialog box simply by putting the correct method call in the params line for running a dos command??

Thanks.

Posted: Mon Dec 08, 2003 6:28 pm
by talleyrand
Variables at least are documented in the help file Tool Parameter Macro

ahh...

Posted: Mon Dec 08, 2003 7:46 pm
by dave_mwi
Thanks for the tip. I wonder if the methods or function calls are also enumerated somewhere in help....

Posted: Mon Dec 08, 2003 8:34 pm
by MudGuard
>> Thanks for the tip. I wonder if the methods or function calls are also enumerated somewhere in help....

sounds like a misunderstanding by you.

Tools for Textpad are completely independant of Textpad except for the fact that they can be started by Textpad...

Posted: Mon Dec 08, 2003 8:56 pm
by CyberSlug
I second what MudGuard says....

I recommend a scripting program like AutoIt if you want simple GUI stuff like FileOpenDialog and MsgBox.

Hope that helps

ah...

Posted: Tue Dec 09, 2003 2:43 am
by dave_mwi
Great -- that helps me out. Yes, I'm kinda new to writing tools although I've been using TP quite a bit. Thanks for the tips.