You could also use a simple scripting tool like AutoIT http://www.autoitscript.co
Open Scite (included with AutoIT) or Notepad
Copy and Paste Attached Code
Save as something.au3
Right Click and Compile to Exe, this will create something.exe within the same folder, call from batch file or run manually. If you need to send keys for e.g. Alt Tab or Enter you could then just use
Send ("!{TAB}") ; Where ! represents Alt Key
Send ("{Enter}")
etc..
Hope that helps.
Cheers
Main Topics
Browse All Topics





by: Shift-3Posted on 2008-01-14 at 07:45:07ID: 20653737
I'm pretty sure you can't do it in batch. You can do it in vbscript as explained in this article: /en-us/lib rary/ 8c6ye a83(VS.85) .aspx
http://msdn2.microsoft.com
If you absolutely must use batch then you could echo commands to a vbscript file, call it, then delete it.
Select allOpen in new window