Re: where does the input come from for functions?
- --- In email@example.com, "Rob " <rdarroug@c...> wrote:
> I do not understand this or other functions.from?
> If "command" accepts input, where is the input supposed to come
> I want the input to be the highlighted text in a document. Can I doMornin' again -
> What if command takes command line paramemters? Is there any way to
> get these from the document?
I belatedly saw that that I didn't address the specific command you
fires up the command interpreter (in NT; on Windows9x it will be
command.com). If I select the following text "time /t", it will be
Microsoft(R) Windows NT(TM)
(C) Copyright 1985-1996 Microsoft Corp.
which is the console output. Selected text is put into the Stdin
stream, and Stdout appears in the current document.