Page 1 of 1
macros to compile and run java?
Posted: Wed Jan 30, 2002 12:26 pm
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
Re: macros to compile and run java?
Posted: Wed Jan 30, 2002 11:02 pm
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

Re: macros to compile and run java?
Posted: Wed Jan 30, 2002 11:32 pm
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
Re: macros to compile and run java?
Posted: Tue Feb 05, 2002 4:13 pm
by mike
You can have a hot key associated with anything...
configure | Preferences | Keyboard
Re: macros to compile and run java?
Posted: Wed Feb 06, 2002 2:42 am
by Ray Tayek
that will due the trick. i should have rtfm'ed
thanks for the help