DISQUS

Evan's picture

Unregistered

Feeds

aliases

  • Evan

Evan

6 months ago

in Window GUI Automation from PowerShell on Huddled Masses
I am having some problems running this code. Here are some of them I've run across so far:

1)for some strange reason "select-window *powershell*" doesn't return anything even though "select-window *notepad*" does

for the following problems, "$window = select-window *notepad*"

2)Both "get-windowposition $window" and "$window | get-windowposition" will not recognize $window as a parameter

This happens with remove-window, and send-keys

3) "set-windowposition -width 2" does nothing and "set-windowposition $window -maximize " gives and error


I can send the code I am trying with the errors if necessary
Returning? Login