Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Windows application which is deadware, and it lacks the option of exporting data into a file. The only way to extract data is to copy each line into the clipboard, and paste it in an editor.

As a work-around, I'm thinking of recording the action once, and loop through it until it reaches the last line in the application.

I know there are quite a few such utilities for Windows, so I'd appreciate it if you could recommend one for this task. Thank you.

share|improve this question
    
Anybody remembering recorder.exe in Windows 3.x? Magnificent tool, still runs under Win9x, but not anymore on 64bit systems, thanks Microsoft! –  mpy Jul 16 at 17:18

3 Answers 3

AutoIt is what you need:

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!

share|improve this answer

There is also similar free scripting language called AutoHotkey.

AutoHotkey is a free, open-source utility for Windows. With it, you can:

  • Automate almost anything by sending keystrokes and mouse clicks. You can write a mouse or keyboard macro by hand or use the macro recorder.
  • Create hotkeys for keyboard, joystick, and mouse. Virtually any key, button, or combination can become a hotkey.
  • Expand abbreviations as you type them. For example, typing "btw" can automatically produce "by the way".
  • Create custom data-entry forms, user interfaces, and menu bars. See GUI for details.
  • Remap keys and buttons on your keyboard, joystick, and mouse.
  • Respond to signals from hand-held remote controls via the WinLIRC client script.
  • Run existing AutoIt v2 scripts and enhance them with new capabilities.
  • Convert any script into an EXE file that can be run on computers that don't have AutoHotkey installed.

Always use AutoHotkey from http://ahkscript.org/ (current version, new official website)! AutoHotkey from autohotkey.com is outdated!

share|improve this answer
    
Can it automate mouse position ? That would match more to "Automating GUI tasks". –  Gnoupi Aug 25 '09 at 9:19
    
Also, If you copy the list of functionalities from their site, keep mostly what is linked to the question (or at least emphasize them). –  Gnoupi Aug 25 '09 at 9:19
3  
Yes, you can read/set mouse cursor position, click mouse buttons, double click and drag and drop. It is very powerful tool with helpful community. There is lot of examples on their website and in their forum. –  Protipes Aug 25 '09 at 11:37
1  
AutoHotkey also has some ability to read data directly out of Windows common controls like listboxes etc, so you might be able to do it even better than copy and pasting. See "ControlGet" and "ControlGetlist": autohotkey.com/docs/commands/ControlGet.htm –  Matthew Lock Aug 26 '09 at 2:20
    
From what I read, AHK is a 2003 fork of AutoIt, which is now "freeware" (I guess that means that it's now closed-source). Seems like there's quite a lot of ill feelings from the AutoIT community toward AHK. At this point, I can't tell which is a better option. –  OverTheRainbow Aug 26 '09 at 9:30

WinBatch. You can record your GUI actions or commands, and then save them and make a program out of them. It costs, but it's worth every penny. http://www.windowware.com/. I used it more than 10 years ago, and it was very easy to use and a mature product then. Since their page shows a couple of updates this year, they're not just coasting now.

share|improve this answer
    
Thanks. I didn't know WinBatch was still under development. –  OverTheRainbow Oct 3 '09 at 10:54
    
WinBatch is amazing, but not free. Full apps (running to 10,000+ lines) have been developed using this product. Amazingly easy procedural language to learn. The user forum is very active and questions answered quickly. I'm a very satisfied customer of > 10 years (not in any way assoc with the company). Incidentally, you will often see the tell-tale WinBatch icon during system setup of hardware from many majors, such as Dell, Compaq, Intel, HP, etc. Costs around $100 to install/run on one PC, and $500 for compiler version (apps can be run on any Windows system). –  gibberish May 23 '13 at 19:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.