Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Program to output into text box  (Read 3000 times)

0 Members and 1 Guest are viewing this topic.

Khasiar

    Topic Starter


    Intermediate

    Program to output into text box
    « on: January 20, 2010, 06:57:01 PM »
    Hey,

    One of our servers constantly ask for domain username and password, which is really annoying as our password is very long.

    what i am trying to do is create a sheduled task that runs after its predecessor which prompts for username and pass and get it to type in my username + password and hit ok.


    i know in dos you can output to a text file by

    @echo off
    echo username* >> username.txt
    echo password* >> password.txt

    this would save my daily job and put it in a scheduled task.

    help would be greatly appreciated

    Helpmeh



      Guru

    • Roar.
    • Thanked: 123
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Windows 8
    Re: Program to output into text box
    « Reply #1 on: January 20, 2010, 07:13:18 PM »
    Well if you know how often it prompts you? You can set your batch file to open at intervals with the scheduled tasks manager.

    Batch won't be able to add text to text boxes, but if you can get your program to recieve the username and password from a file, then you're good to go!
    Where's MagicSpeed?
    Quote from: 'matt'
    He's playing a game called IRL. Great graphics, *censored* gameplay.

    Khasiar

      Topic Starter


      Intermediate

      Re: Program to output into text box
      « Reply #2 on: January 21, 2010, 04:23:17 AM »
      wasnt my program so scimming thro all the code will be difficult..
      any external programs that will do it?

      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: Program to output into text box
      « Reply #3 on: January 21, 2010, 04:52:51 AM »
      A macro? Something like Autohotkey is good to use.
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.