General guide for writing tools?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
dave_mwi
Posts: 3
Joined: Mon Dec 08, 2003 5:10 pm

General guide for writing tools?

Post 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.
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Variables at least are documented in the help file Tool Parameter Macro
I choose to fight with a sack of angry cats.
dave_mwi
Posts: 3
Joined: Mon Dec 08, 2003 5:10 pm

ahh...

Post by dave_mwi »

Thanks for the tip. I wonder if the methods or function calls are also enumerated somewhere in help....
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post 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...
User avatar
CyberSlug
Posts: 120
Joined: Sat Oct 04, 2003 3:41 am

Post 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
dave_mwi
Posts: 3
Joined: Mon Dec 08, 2003 5:10 pm

ah...

Post 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.
Post Reply