0

I am looking for an automation software which should be configurable to handle any other software for repetitive tasks on Windows. Push button x if ... Does anybody know such a software. If not would it be possible to program such a robot in python? Are there existing python-modules for this?

Bobby
11.6k5 gold badges49 silver badges70 bronze badges
asked Dec 6, 2010 at 12:16
5
  • What's wrong with PowerShell? technet.microsoft.com/en-us/scriptcenter/powershell.aspx Why aren't you using this? Commented Dec 6, 2010 at 12:21
  • If you are looking for an automator, Take a look at AutoIt. It has been designed to do what you want. Commented Dec 6, 2010 at 12:28
  • @user366121: Are you saying you never heard of Powershell? Commented Dec 6, 2010 at 12:31
  • 1
    If I understand your question correctly, I'd use AutoHotkey for this, not Python Commented Dec 6, 2010 at 12:33
  • @user366121: To what ends? May be easier for someone to point you in the right direction if you mentioned the kind of thing you wanted achieve. Nice name by the way, catchy. Commented Dec 6, 2010 at 12:35

2 Answers 2

1

PowerShell. http://en.wikipedia.org/wiki/Windows_PowerShell

http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx

would it be possible to program such a robot in python?

The answer to all "is it possible" question is always "Yes." As long as the question doesn't involve time travel, anti-gravity or perpetual motion, the answer to all "is it possible" questions is "yes".

Are there existing python-modules for this?

The answer to this is always "Yes." There are modules for this kind of thing.

Perhaps you have other questions, more specific and useful?

answered Dec 6, 2010 at 12:31
Sign up to request clarification or add additional context in comments.

6 Comments

A side question - for someone knowledgeable in Python, what does PS add for Windows scripting?
@Eli Bendersky: I don't get the question. What does PS add? Add to what? I'll guess that you're asking how PS is superior to Python? The answer is that the question is Windows-specific, and the questioner did not use Google, so the simplest possible answer is the only thing that's appropriate. For people who can't use Google, the all-singing-all-dancing-all-Microsoft answer is about the only one that will work.
@S.Lott: I'll try to reprhase - suppose Bob is a good Python programmer, and knows how to use Python for Windows programming as well. In your opinion, will Bob benefit from learning PS too? Can he then do something with PS that would be much harder to achieve using Python alone?
@Eli Bendersky: "Bob is a good Python programmer" doesn't really need PowerShell, AFAIK. If Bob is in Windows-only world, however, PowerShell may provide more access to Windows API's. There's no firm distinction between "shell" scripting and "binary code". However, reliance on internal API's seems to be a distinction that's important. A shell script which depends on internal API's seems like using the wrong tool for the job. At some point, C# should be introduced. Python+C# is every bit as good as PowerShell.
@S.Lott: when you say "internal APIs" do you mean APIs not exposed publicly in Win32 API (which Python can access via win32api)?
|
1

AutoIt was created especially for that. If you want to go specifically with Python, you could give PyWinAuto a go. I think the latest version is on SourceForge.

answered Dec 6, 2010 at 12:39

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.