01 February 2019, 13:20 | #1 |
Registered User
Join Date: Mar 2017
Location: Stockholm, Sweden
Posts: 26
|
Start script without opening a Shell window
I have created a simple script that just starts Wireless Manager and Genesis when I want to go online. It has an icon and I run it directly from Workbench. But one annoying detail is that it always opens a Shell window that only contains two lines similar to this:
[CLI 9] [CLI 10] Both lines in the script end with >NIL: so no other output is shown. Is there a way to avoid having this Shell window opened? |
01 February 2019, 13:41 | #2 |
Registered User
Join Date: Dec 2014
Location: Stockholm/Sweden
Posts: 285
|
Not sure but perhaps use this: <> NIL:
muadib Amiga Raytracing Society |
01 February 2019, 13:49 | #3 |
Registered User
Join Date: Apr 2017
Location: Cambridge
Posts: 136
|
Are you using IconX to run the script from Workbench?
Does any of this help? i.e. Can you add WINDOW=NIL:to your tooltypes if you never want window or use AUTOif you do but only when there would be output to show (like an error or something) |
01 February 2019, 13:54 | #4 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
|
Are you using "Run" at the start of the lines? It could be that the >NIL: is being used for the output of the Wireless Manager and Genesis executables, but the Run executable is still outputting its output to the console. Try adding >NIL: directly after run if that's the case...
Code:
Run >NIL: C:WirelessManager |
01 February 2019, 14:06 | #5 |
Registered User
Join Date: Mar 2017
Location: Stockholm, Sweden
Posts: 26
|
|
01 February 2019, 14:08 | #6 | |
Registered User
Join Date: Mar 2017
Location: Stockholm, Sweden
Posts: 26
|
Quote:
|
|
01 February 2019, 16:56 | #7 | |
Registered User
Join Date: Mar 2017
Location: Stockholm, Sweden
Posts: 26
|
Quote:
It sounds like the IconX route would have worked too but since this solved everything I haven't tried it. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Clear background color for Shell window- Shell-StartUp | fc.studio | support.Apps | 13 | 25 March 2022 18:52 |
Opening DOpus5 CLI from script? | Retrofan | support.Other | 14 | 02 August 2018 02:57 |
Start fs-uae from shell? | fstltna | support.FS-UAE | 4 | 14 July 2017 01:42 |
startup-sequence without opening CLI window | Mathesar | support.Apps | 12 | 21 June 2017 19:03 |
Snapshot Amiga Shell window? | TenLeftFingers | support.Apps | 3 | 15 June 2015 16:38 |
|
|