macros to compile and run java?

Using the Java SDK with TextPad

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

Post Reply
Ray Tayek

macros to compile and run java?

Post by Ray Tayek »

hi, i have a licensed copy of 4.5.0. iirc, an older verision had single key shortcuts to compile and run. i suppose one could make these by recording them, but there is no shortcut (character) to select the compile or run options afte you have alt-t'ed to the tool menu. down arrowing to select compile or run seems brain damaged. is there a clean way to get single key to conpile and run (like f7 anf f5)?

thanks
lee

Re: macros to compile and run java?

Post by lee »

hey

so long as you have the jdk installed, go to Configure | preferences, then click on the tools menu item on the left hand side of the preferences dialog.

then, on the right hand side click the "add" button, and the jdk commands will be added to the tools menu, with the shortcuts ctrl+1 for compile, ctrl+2 for run app, and ctrl +3 for run applet...

hope that helps :)
Ray Tayek

Re: macros to compile and run java?

Post by Ray Tayek »

i can edit the java commands that are already there. putting control+1 does not seem to do anythng. &'s don't seem to work either. macro does not work, because those are grayed when recording. how do you enter the control stuff? iirc, earler versions behaved in tje way you described.

thanks
mike

Re: macros to compile and run java?

Post by mike »

You can have a hot key associated with anything...

configure | Preferences | Keyboard
Ray Tayek

Re: macros to compile and run java?

Post by Ray Tayek »

that will due the trick. i should have rtfm'ed :(

thanks for the help
Post Reply