using parameters with java applications

General questions about using TextPad

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

Post Reply
Michael

using parameters with java applications

Post by Michael »

I was wondering if it is possible with textpad, and if so how it is done, to pass parameters to java free standing applications. For example the simple program such as the one below displays the string "Hello" but I want to know if I can instruct textpad to display the string "Hello world" by entering 'world' as a separate parameter rather than entering it as code into the program. Any feedback would be very gratefully received.
Regards Michael


public class Greeting
{

public static void main(String[] args)
{
System.out.println("Hello");
}
}
Jeff Epstein

Re: using parameters with java applications

Post by Jeff Epstein »

In the tool, check "Prompt for parameters". Then when you run the tool, type "Hello" into the dialog box. Should work.

:' )
Jeffy
http://www.jeffyjeffy.com/textpad
bob maatta

Re: using parameters with java applications

Post by bob maatta »

How is the ability to see the menu option to configure settings controlled in Win2000 with TextPad 4.5.0? For example, I want to prompt for parameters. For some users, I can see the menu option configure-->preferences-->tools. I can set prompt for parameters here. For other users, the tools option is missing from the preferences menu. What controls whether a user see the tools option?
Andreas

Re: using parameters with java applications

Post by Andreas »

Help -> Help Topics,
Content Tab
How To...
Restrict User Capabilities
Post Reply