Thomas wrote:
The default size of the window is hard coded. You could search the string in the executable with a hex editor and patch it.
But the better solution would be this:
create a small shell script in S: (lets call it NS) containing the command
newshell con:0/150//300/AmigaShell/AUTO/CLOSE
then set the S flag (protect s:ns +s).
Now you can open the execute window and enter ns for a new shell window. Even shorter than CLI.
Make sure that S: is contained in your path before LoadWB is called. Maybe you have to move the script to C:. Workbench is very restrictive with its path setting.
Bye,
Thomas
Or you could do the same using the "Alias" command. Add the following to your User-Startup :
Alias ns "c:newshell con:0/150//300/AmigaShell/AUTO/CLOSE"Either this or Tomas's solution should work for you, and will also save typing! (ie type "ns" instead of "newshell")
Alternatively, I use Toolsdaemon to launch apps from the menubar, and you can also assign a hot-key to each one. (I use R-Amiga + / to bring up a shell window at a specified size and screen position.)
Toolsdaemon can lauch progs from either their WB icon tooltypes or from a cli command. If you dont like Toolsdaemon there are 101 other progs that could give you the same hotkey functionality.
-Rebel