ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

which programming language is most powerful in automating/interacting with MS Wi

(1/2) > >>

kalos:
hello!

which programming language is most powerful in automating/interacting with MS Windows applications' GUI?

I mean to get info from third-party GUI controls, edit them, etc

thanks!

barney:
That question may be unanswerable as stated.

Most any answer you get is going to be highly subjective, methinks.  And I suspect you're looking for versatility, rather than power. 

When I was using VB, it was the most versatile. 

Then when I used Turbo Pascal or Delphi, they were, in turn, the most versatile.

As far as raw power, C/C++ will likely take the lead, but there will be differences of opinion even there.

Power/versatility, other than really hard core programming, are mostly going to depend upon what you are trying to do at the moment.  Each language has degrees of weakness and strength, and each has differing ways of dealing with GUIs.

I'd suggest that you pick a language, then really learn it.  That's the only way you're going to discover whether it will perform according to your needs.  If it doesn't try another one (1).  Sooner or later, you'll find the one (1) that truly suits your needs and purposes.  Yes, it's an arduous process, but the only one (1) that works in the long run, at least in my experience.  There really aren't any shortcuts  :(.

mouser:
Kalos is asking a specific question, about interacting and manipulating the gui controls of other applications.

I'm guessing your answer is going to be something like: AHK/AutoIt, or Microsoft Powershell, or C#.

People who are more familiar with Powershell may be able to chime in on how it compares to AHK/AutoIt for such purposes, as I'm really not sure.

kalos:
okay, I am between powershell or vb or c#

which would be best? definately for this task described in the first post, but also for other tasks as well (eg create a GUI)

Ath:
I'd go for AutoIt (my personal preference) or AHK (select the AHK_L variant), PowerShell is more a "cmd.exe on steroids" kinda tool, not so easy in interacting with 'foreign' UI controls, while AutoIt and AHK are actually specialized in that.
VB and C# do offer ways to interact with 'foreign' controls, but not quite as easy and seamless as AutoIt or AHK.

Navigation

[0] Message Index

[#] Next page

Go to full version