Popup Input Prompts

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
plautodfl
Posts: 18
Joined: Tue Apr 16, 2019 8:16 pm

Popup Input Prompts

Post by plautodfl » Wed Sep 11, 2019 4:53 am

Is there anyway to pin the input windows to the main app?
We are having trouble with the main app launching and the input window being on another monitor.

$script:ComputerName = Read-Host -Prompt "Input The Machine Name That Needs Cleaning"
Write-Host "Checking Computer Name Against Active Directory.. Hang ..."

Thanks!
P.
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.167
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17763.0

User avatar
brittneyr
Site Admin
Posts: 162
Joined: Thu Jun 01, 2017 7:20 am

Re: Popup Input Prompts

Post by brittneyr » Wed Sep 18, 2019 11:52 am

From what I see from what you are currently doing, there is no option available to you with how you are currently getting the user information. Windows is determining the location the the input window pops up. You can always make another form to get the user information and then set the StartPosition.
Brittney Ryn
SAPIEN Technologies, Inc.