# PowerShell automation with FlaUI

**URL:** <https://forums.powershell.org/t/powershell-automation-with-flaui/23362>\
**Category:** PowerShell Help\
**Created:** [January 3, 2024, 3:49am UTC](https://forums.powershell.org/t/powershell-automation-with-flaui/23362 "2024-01-03T03:49:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pris](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/pris/32/5099_2.png) [@pris](https://forums.powershell.org/u/pris)\
**Post date:** [January 3, 2024, 3:49am UTC](https://forums.powershell.org/t/powershell-automation-with-flaui/23362/1 "2024-01-03T03:49:44Z")

</div>

I am developing a PowerShell script using the FlaUI library to automate PAC 2021, and I am currently facing an issue with the report window. After right-clicking on PDF/US, I am unable to shift the focus into the context menu to click the ‘Full Expand’ option. PAC 2021 does not support keyboard input for selecting this value, so any assistance would be appreciated.

 ![IMG_2182](https://us1.discourse-cdn.com/flex019/uploads/powershell/original/2X/0/027e5512457b84c6f6ef658dcbebb6a4bfd199c9.png)

---

<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:** [January 3, 2024, 8:29pm UTC](https://forums.powershell.org/t/powershell-automation-with-flaui/23362/2 "2024-01-03T20:29:28Z")

</div>

Hi there and welcome!

Could you please share your code and exactly how the PS relates to this process? Does PS generate this report for viewing? Have you confirmed this isn’t some sort of UI bug in their software?

---

<div class="post-metadata">

**Author:** ![tonyd](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/tonyd/32/1041_2.png) [@tonyd](https://forums.powershell.org/u/tonyd)\
**Post date:** [January 3, 2024, 9:59pm UTC](https://forums.powershell.org/t/powershell-automation-with-flaui/23362/3 "2024-01-03T21:59:32Z")

</div>

\<$.02\>

This seems to be more related to FlaUI than PowerShell. I trust you have reviewed the tools available here?

> **[FlaUI](https://github.com/FlaUI)**
>
> FlaUI has 5 repositories available. Follow their code on GitHub.

Perhaps the Inspection tool?

\</$.02\>

---

<div class="post-metadata">

**Author:** ![pris](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/pris/32/5099_2.png) [@pris](https://forums.powershell.org/u/pris)\
**Post date:** [January 4, 2024, 12:54am UTC](https://forums.powershell.org/t/powershell-automation-with-flaui/23362/5 "2024-01-04T00:54:28Z")

</div>

Thank you for your response. Yes, I used the tool, but as I am fairly new to PowerShell automation,

---

<div class="post-metadata">

**Author:** ![pris](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/pris/32/5099_2.png) [@pris](https://forums.powershell.org/u/pris)\
**Post date:** [January 7, 2024, 3:23am UTC](https://forums.powershell.org/t/powershell-automation-with-flaui/23362/6 "2024-01-07T03:23:48Z")

</div>

Thank you for your response. I found another hacky way by accessing it with a right-click keyboard action, and it works…

---

<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:** [January 8, 2024, 2:59pm UTC](https://forums.powershell.org/t/powershell-automation-with-flaui/23362/7 "2024-01-08T14:59:24Z")

</div>

Closed on January 8, 2024, 2:59pm UTC


