Results 1 to 9 of 9

Thread: How do you take focus off..

  1. #1
    Join Date
    Sep 2006
    Location
    My Computer
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How do you take focus off..

    I was just wondering how do you take focus off the client and put it back onto the script for example a progress report, its must be something really simple

  2. #2
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    I don't really undrstand what you mean, do you mean how do you switch onto SCAR while yuo are running a script, if it is then just press cntrl+alt+s to stop it then manually click back onto the SCAR window

  3. #3
    Join Date
    Sep 2006
    Location
    My Computer
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No i meant say your script is running, then it finished and you want to make a progress report how do you do that?

  4. #4
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    So you want help making a whole new progress report.

    If you do, what things do you want it to say?

  5. #5
    Join Date
    Sep 2006
    Location
    My Computer
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well im just making my first script at the moment so its basically an autotalker, i just want to add a progress report to it, its only got 2 variables, a
    "Times": integer to make the loop user controled(count Controlled)
    "Text": The text that was said

  6. #6
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    writeln('texthere');
    writeln(inttostr(1));
    addtoreport('text');
    addtoreport(inttostr(1));

    WriteLn-writes to the debug box.
    AddToReport-writes in the report box.

  7. #7
    Join Date
    Sep 2006
    Location
    My Computer
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks alot i knew it was something simple

  8. #8
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    no worrys. im glad i could help.

  9. #9
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    If you are putting the time it is running do this

    SCAR Code:
    Procedure ProgressReport;
      Begin
       WriteLN('Ran for' + TimeRunning + '.')
      End;

    or if you want it in the report box
    SCAR Code:
    Procedure ProgressReport;
      Begin
       addtoreport('Ran for' + TimeRunning + '.')
      End;

    And if you wanted the times it typed then you make TimesTyped a variable or something and do the same thing as above except with TimesTyped

    Hope this helped

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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