English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 04 May 2018, 10:02   #21
fstarred
Registered User
 
fstarred's Avatar
 
Join Date: Mar 2018
Location: Rome
Posts: 173
@AmigaSystem

Thank you for all
Just one thing, I tried to add run >NIL: before runme.exe on the text file, however nothing changed.
I've then decided to add to Icon ToolTypes "WINDOW=NIL:" and now it works
fstarred is offline  
Old 04 May 2018, 10:33   #22
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Probably something is wrong, here, however, we are talking about Shell commands or through a script of TolTypes, look at the attached video test

--------- Italiano ---------

Probabilmente sbagli qualcosa, qui comunque stiamo parlando di comandi Shell o attaverso un script no di TolTypes, guarda video allegato

Last edited by AMIGASYSTEM; 10 May 2018 at 18:29.
AMIGASYSTEM is offline  
Old 05 May 2018, 00:01   #23
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
Quote:
Originally Posted by AMIGASYSTEM View Post
Probably something is wrong, here, however, we are talking about Shell commands or through a script of TolTypes, look at the attached video test
I don't get what you try to demonstrate in this video.

Your "Ital" already detaches itself from the screen and does not produce output, so it is rather pointless with "Ital >NIL:" and "run >NIL Ital". Try using something software that does not detach... clock for example, and pass on argument "?" for it to spit out something..

Code:
Shell: > Clock
The clock opens, but the shell prompt does not come back until the clock is closed, either by you closing its GUI (or via menu), or simply by ctrl-c in the console.

Code:
Shell: > Clock ?
DIGITAL/S,LEFT/N,TOP/N,WIDTH/N,HEIGHT/N,24HOUR/S,SECONDS/S,DATE/S,FORMAT/N,PUBSCREEN/K: DIGITAL
Clock shows all its flags - type "DIGITAL" and press enter, and clock again opens like in first example, but as a digital type. Shell is not available until clock again is closed.

Code:
Shell: > Clock ? >NIL:
DIGITAL
Like above, you ask Clock to show its flags, but you don't see them, because you redirect the output to NIL: device. It still takes input from the console though, so type DIGITAL and enter, and the clock appears.

Code:
Shell: > Run Clock
[CLI 3]
Shell: >
Here you ask the Clock to run as a new task, detached from the current shell, and so it opens as task number 3, and you have the shell back.

Code:
Shell: > Run Clock ?
[CLI 4]
Shell :> DIGITAL/S,LEFT/N,TOP/N,WIDTH/N,HEIGHT/N,24HOUR/S,SECONDS/S,DATE/S,FORMAT/N,PUBSCREEN/K:
Here is a confusing example - you run clock detached from current shell, so you get the prompt back, but since you also pass along ? it will print all its flags to the standard outoput, the console, and since there is no input method of the detached process, it will just pass a default enter to clock so it pops up anyways.

Code:
Shell: > Echo DIGITAL to T:bla
Shell: > Run Clock ? < T:bla
[CLI 5]
Shell: > DIGITAL/S,LEFT/N,TOP/N,WIDTH/N,HEIGHT/N,24HOUR/S,SECONDS/S,DATE/S,FORMAT/N,PUBSCREEN/K:
Well, like previous example, except you tell "clock ?" to pick its input from a file T:bla, which you on the line before have filled with "DIGITAL", so.. it is used as flag.

And finally:
Code:
Shell: > Echo DIGITAL to T:bla
Shell: > Run >NIL: Clock ? < T:bla
Shell: >
No output, no "[CLI 4]", no option flags from Clock, just a digital clock. Of course it is equivalent to
Code:
Shell: > Run >NIL: Clock DIGITAL
but using files descriptors for input to programs has plenty of use cases too.


So you have the clock running in the background...
Code:
Shell: > Status
Process  1: Loaded as command: ToolsDaemon
Process  2: Loaded as command: Workbench
Process  3: Loaded as command: clock
Process  4: Loaded as command: Status
You can then tell Clock to close down, using the Break command:
Code:
Shell: > Break 3
or if you want to be fancy:
Code:
Shell: > Break `Status Command Clock`
... and there is plenty more to be mentioned
kolla is offline  
Old 05 May 2018, 00:21   #24
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by kolla View Post
I don't get what you try to demonstrate in this video.

Your "Ital" already detaches itself from the screen and does not produce output, so it is rather pointless with "Ital >NIL:" and "run >NIL Ital". Try using something software that does not detach... clock for example, and pass on argument "?" for it to spit out something..
It is not important what i launched "Ital application was just an example", the video only showed how to type the command correctly
AMIGASYSTEM is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
3.9 desktop icon text question Roman78 project.ClassicWB 25 19 October 2016 18:30
ClassicWB Desktop icon danko project.ClassicWB 3 09 May 2016 13:05
TinyMeter create Icon launcher. Help Retrofan support.Apps 0 09 June 2013 14:12
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 04:39
Can I create ADF's on my PC?? Rob99 New to Emulation or Amiga scene 6 15 January 2007 16:06

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:58.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.14453 seconds with 13 queries