Results 1 to 5 of 5

Thread: Command Line capture

  1. #1
    All AUGI, all the time
    Join Date
    2003-10
    Posts
    688

    Default Command Line capture

    Is there a way to capture the command line text as it scrolls through on an OPEN? I'd like to be able to grab all the text that's in the F2 window immediately after open and set it to some sort of text variable. Is this possible?

  2. #2
    AUGI Addict .T.'s Avatar
    Join Date
    2000-12
    Location
    Lost
    Posts
    1,473

    Default Re: Command Line capture

    Quote Originally Posted by Coolmo View Post
    Is there a way to capture the command line text as it scrolls through on an OPEN? I'd like to be able to grab all the text that's in the F2 window immediately after open and set it to some sort of text variable. Is this possible?
    The only way I can think of is to use the log file. Maybe use some combination of LOGFILEMODE, or LOGFILEON and LOGFILEOFF, then open the log file to read in the text.

    Just an idea.
    Tim Creary
    S&D
    DILLIGAF

  3. #3
    Certifiable AUGI Addict irneb's Avatar
    Join Date
    2007-07
    Location
    Jo'burg SA
    Posts
    4,344

    Default Re: Command Line capture

    Possibly using a set of reactors, e.g. vlr-command-reactor, or vlr-editor-reactor, or vlr-lisp-reactor, etc.
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  4. #4
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,706

    Default Re: Command Line capture

    Quote Originally Posted by irneb View Post
    Possibly using a set of reactors, e.g. vlr-command-reactor, or vlr-editor-reactor, or vlr-lisp-reactor, etc.
    naaaa.... if you can manage that I want the code

    . . . in the mean time use the logfile.

    : ) Happy Computing !

    kennet
    The essential thing is what you write in the post. . . .not the numbers of posts.

  5. #5
    Moderator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    2,383

    Thumbs up Re: Command Line capture

    I was browsing the results from a search here on the forums, and came accross this thread hoping to utilize something fruitful.

    Instead I find something funny as hell:

    Quote Originally Posted by Coolmo View Post
    If = 0 then
    End If
    Hmm... did Coolmo induldge in one or two before writing his code...? You decide.

    Thanks Coolmo, you made my Friday!
    "Potential has a shelf life." - Margaret Atwood

Similar Threads

  1. Replies: 3
    Last Post: 2009-10-22, 10:19 PM
  2. Replies: 6
    Last Post: 2007-04-23, 01:40 AM
  3. Replies: 1
    Last Post: 2006-11-16, 02:09 PM
  4. Replies: 4
    Last Post: 2006-05-09, 08:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •