# Is Powershell about to work with GUI

**URL:** <https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097>\
**Category:** PowerShell Help\
**Created:** [July 15, 2021, 9:04pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097 "2021-07-15T21:04:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwilliams401](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@jwilliams401](https://forums.powershell.org/u/jwilliams401)\
**Post date:** [July 15, 2021, 9:04pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/1 "2021-07-15T21:04:54Z")

</div>

Sorry for hijacked a thread. Not this thread another one.  
I was wondering if PowerShell can work with GUI? I haven’t seen anywhere that says anything about it. I have found the GUI that Powershell can produce but nothing on automation of GUI Application.  
Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [July 15, 2021, 9:49pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/2 "2021-07-15T21:49:39Z")

</div>

Have you looked at the links I posted on the other thread?

> [@How can I best go about approaching this issue of extracting URL links from an RSS feed?](https://forums.powershell.org/t/how-can-i-best-go-about-approaching-this-issue-of-extracting-url-links-from-an-rss-feed/17088/5):
>
> Julie, Welcome to the forum. wave:t4 Please do not hijack other peoples threads. Instead create a new one for yourself and if needed place a link to the other thread if needed. wink In this case it doesm’t even fit to the question of the original question. face_with_raised_eyebrow Even if it may be possible PowerShell is not made for such tasks. But there are scripting language particularely invented for those scenarios. You may take a look at and Both have been actually invented t…

Regardless of that - you may explain what you’re actually trying to do. There may be better ways of achieving what you need instead of remotley controlling another application by mimicking the behaviour of a human being. In the best case there is an API you could trigger.

---

<div class="post-metadata">

**Author:** ![jlogan3o13](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@jlogan3o13](https://forums.powershell.org/u/jlogan3o13)\
**Post date:** [July 15, 2021, 9:57pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/3 "2021-07-15T21:57:59Z")

</div>

As suggested in the other thread AutoIt is a great language for managing GUIs (I am a bit biased being on the team that manages the language and moderates the forums 🙂 ). I would steer clear of AHK personally, as the syntax is convoluted (again, my 2 cents).

As mentioned above, if the app has an API, that is best. If it is a legacy application with no API, another suggestion would be to use something like Automation Anywhere, which has some great AI for dealing with both desktop (thick client) and web applications.

---

<div class="post-metadata">

**Author:** ![jwilliams401](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@jwilliams401](https://forums.powershell.org/u/jwilliams401)\
**Post date:** [July 16, 2021, 3:25pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/4 "2021-07-16T15:25:14Z")

</div>

I am trying to test an application. Need to be able to select the buttons and type in the fields. Would the API work for this?

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [July 16, 2021, 3:32pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/5 "2021-07-16T15:32:38Z")

</div>

Well … it depends on what exactly/particularely you want to test on this application. If it is about the correct output for a certain input it might be working with an API if there is one.

---

<div class="post-metadata">

**Author:** ![jwilliams401](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@jwilliams401](https://forums.powershell.org/u/jwilliams401)\
**Post date:** [July 16, 2021, 4:26pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/6 "2021-07-16T16:26:55Z")

</div>

What we have is a powershell script that installs the application. Then a sign in page then activation pages. Then have to verify that has certain display to know it activated.  
Autoit works with Powershell or would we be better off using a scripting language like python?

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [July 16, 2021, 4:50pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/7 "2021-07-16T16:50:32Z")

</div>

> [@jwilliams401](#):
>
> What we have is a powershell script that installs the application. Then a sign in page then activation pages. Then have to verify that has certain display to know it activated.

Sorry, but I’m afraid there is little to no chance to get a definitive answer to your question without actually seeing/touching the application you’re talking about. The best chance you have is to ask the author/vendor of the application to support you with this task.

It’s like you’re describing a vehicle with four wheels what’s moving forward. This could be an ox cart or a Bugatti Veron or even a shopping cart. 😉

AutoIt and AutoHotkey are independend from PowerShell. They are scripting languages by themself and run on Windows.

---

<div class="post-metadata">

**Author:** ![jwilliams401](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@jwilliams401](https://forums.powershell.org/u/jwilliams401)\
**Post date:** [July 16, 2021, 5:10pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/8 "2021-07-16T17:10:36Z")

</div>

Thank you for your help. I’ve got autoit downloaded I will see it’s options. I will need help from the Developer .

---

<div class="post-metadata">

**Author:** ![jlogan3o13](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@jlogan3o13](https://forums.powershell.org/u/jlogan3o13)\
**Post date:** [July 19, 2021, 10:58pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/9 "2021-07-19T22:58:42Z")

</div>

If you need AutoIt help, please do not hesitate to post over on [Forums - AutoIt Forums](https://www.autoitscript.com/forum/). There is a large community of folks that like to help out 🙂

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:23pm UTC](https://forums.powershell.org/t/is-powershell-about-to-work-with-gui/17097/10 "2024-05-16T20:23:47Z")

</div>


