0

i'd like to automate some processes, basically run some tools, click the menu, select from dropdownlist, then copy and paste to a notepad.exe application to save as a txt file -- all in windows.

however my company environment probably won't allow installation.

so i'm wondering, if it's possible to write a powershell script for that?

or, if there's any green software that needs no instalation? best if it's open-sourced.

athos
  • 6,120
  • 5
  • 51
  • 95
  • could u -- who voted to close this question -- please comment how to improve the question? it's a real problem i met in my work – athos Feb 26 '13 at 08:10

2 Answers2

5

Depending on the complexity of what you really want to do, there is a Windows Automation Snapin (WASP) for PowerShell. Some usage examples here. I've used it myself for simple tasks and it works quite well.

David Brabant
  • 41,623
  • 16
  • 83
  • 111
2

Take a look at autoit.

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying “runtimes” required!

Also you can generate executables of your scripts:

Scripts can be compiled into standalone executables

emjay
  • 1,491
  • 5
  • 17
  • 35