You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to open Chrome and Chrome incognito in split screen with a powershell script with WASP.
Chrome however used the same processname for normal and incognito screens. I found a way how i can get the process ID of the incognito one doing a win32_process search.
How can i use the process ID in Select-UiElement to move it around? Select-UIElement -ProcessID $procID -Name "*chrome*" | Invoke-Transform.Move -x 100 -y 0 -Passthru
gives error:
Select-UIElement : A parameter cannot be found that matches parameter name 'ProcessID'.
At line:17 char:18
+ Select-UIElement -ProcessID $procID -Name "*chrome*" | Invoke-Transfo ...
+ ~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Select-UIElement], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Select-UIElement
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to open Chrome and Chrome incognito in split screen with a powershell script with WASP.
Chrome however used the same processname for normal and incognito screens. I found a way how i can get the process ID of the incognito one doing a win32_process search.
How can i use the process ID in Select-UiElement to move it around?
Select-UIElement -ProcessID $procID -Name "*chrome*" | Invoke-Transform.Move -x 100 -y 0 -Passthru
gives error:
The text was updated successfully, but these errors were encountered: