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 LICENSE NUMBERS, ACTIVATION 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.
This topic is 4 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
plautodfl
Posts: 30
Last visit: Thu Jun 09, 2022 6:09 am

Popup Input Prompts

Post by plautodfl »

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: 1655
Last visit: Thu Mar 28, 2024 3:14 pm
Answers: 39
Been upvoted: 30 times

Re: Popup Input Prompts

Post by brittneyr »

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
SAPIEN Technologies, Inc.
This topic is 4 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.