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

Author Topic: need some help basic .bat scripting  (Read 2950 times)

0 Members and 1 Guest are viewing this topic.

takeanumber

  • Guest
need some help basic .bat scripting
« on: November 29, 2007, 09:25:26 PM »
OK so i was wondering if i could get some help,, this site has been very resourceful,, i have a program that i use very frequently for data entry and preform the same task about 80% of the time,, the system i use is xp based,, what i would like to do is get a script that can select the program bring it to the front and preform predetermined actions basically a macro. i have built a GUI thru vb that i can link the scripts to anyone have anything they can throw my way?

the keys strokes in order in example would be F5, a, up, tab, n 5x, tab, enter


Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: need some help basic .bat scripting
« Reply #1 on: November 30, 2007, 07:40:46 AM »
Script56.chm should be installed on your machine. It's the compiled help file for VBScript. Check out the sendkeys method of the Shell object. You should be able to write a VBScript to handle this chore.

Good luck  8)

Note: VBScript has been installed with Windows since Win95C. If you cannot find the help file you can download it here
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein