11 January 2008, 17:10 | #1 |
Registered User
Join Date: Sep 2007
Location: Tampere / Finland
Posts: 127
|
Standard output window
When selecting from icon information that a program is to be started from 'Shell' as opposed to 'Workbench', it can open a small output window for itself. This feature may be newer than Workbench 3.0, because I don't remember it from before.
Is there a way to control the position, size and properties of such a window? I could make a small script and run it with IconX and its WINDOW tooltype, but this looks like it could be a more elegant solution. |
11 January 2008, 18:10 | #2 |
Registered User
Join Date: Dec 2007
Location: Oooh what a feeling yeaaah dancing on the ceiling
Posts: 314
|
Something like "WINDOW=CON:LEFT,TOP,WIDE,HIGH,..." and all that sort of stuff?
|
11 January 2008, 22:21 | #3 | |
Registered User
Join Date: Sep 2007
Location: Tampere / Finland
Posts: 127
|
Quote:
(csh:csh-startup) csh:cshAnd then have a type Project icon with the default tool of Sys:System/CLI and the tooltypes WINDOW=CON:0/500//200//CLOSE/NOWAITThis way clicking on the icon runs me a CLI which opens me up the window that I describe, reads and executes the script above and thus runs csh. Once csh exits, the shell runs endcli and exits as well. (without an explicit endcli it would take longer for the window to close). I'm not happy though; the need to run an extra CLI and the parsing and executing of a script seem completely unnecessary here. Then I noticed that the Information panel of a type Tool icon in this here Workbench gives me the choice to "Start from: Shell". And if I make such a csh.info for the csh executable, it does pretty much what I want; no unnecessary processes or scripts needed. However, the resulting window is very small, opens up in an inconvenient location, and needs the close button pressed twice to get rid of. Workbench clearly doesn't expect or honor the WINDOW tooltype in this case. Might it perhaps expect something else? |
|
11 January 2008, 23:51 | #4 |
Registered User
Join Date: Dec 2007
Location: Oooh what a feeling yeaaah dancing on the ceiling
Posts: 314
|
Maybe. Care to provide some relevant details about your system?
Try IconJ. |
17 January 2008, 23:17 | #5 | |
Registered User
Join Date: Sep 2007
Location: Tampere / Finland
Posts: 127
|
Quote:
I had a look at IconJ. The documentation suggests I could integrate the startup script as tooltypes, but I didn't have much success with first try. While it would be an improvement over launching a CLI to parse a script from a file, I still have a feeling there must be a way to affect the properties of the window that the Start from: Shell option opens up. That would probably be all I need. |
|
17 January 2008, 23:36 | #6 | |
Registered User
Join Date: Dec 2007
Location: Oooh what a feeling yeaaah dancing on the ceiling
Posts: 314
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anyone got the game Standard Deviation. | fredflint | project.aGTW | 73 | 18 June 2017 13:50 |
Standard Palette | Brakus | Coders. General | 3 | 04 May 2009 07:08 |
Photos of standard mouse | bLAZER | request.Other | 101 | 02 February 2008 22:52 |
How do I replace the standard WB requesters? | Bloodwych | support.Apps | 13 | 02 September 2002 21:48 |
How much ram in standard 1200? | etheridge | support.Hardware | 5 | 29 May 2002 10:45 |
|
|