Closed swa72 closed 3 years ago
Hello swa,
what is the "stock example file"? I'm sorry I can't help without any information.
What Windows and Powershell version you are using? Would you please execute $PSVersionTable and post the result.
Greetings
Markus
Hi,
I was talking about files.json
. I'm running W10 Pro, 64bit. Here is the result of the command
PS C:\Users\swa> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.19041.610
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.610
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Thanks, Stefan
BTW, outlook is not installed - so that error can be ignored.
Hello swa72,
Windows and Powershell versions are okay.
files.json is not a script but a data file. I still do not know what your script is doing.
The error message lets me guess you are calling something like
Unpin-Window 0
and
Move-Window -Hwnd 0
Or you are trying to access a windows that does not exist (anymore) or is hidden. Maybe you are trying to move a child window?
Greetings
Markus
Hi Markus, I have to apologize - I filed the issue in the wrong repo. I was actually using https://github.com/SuperflyJon/FileStarter and got confused with the repos. Best, Stefan.
OK, SuperflyJon already corrected the issue (I think using the function Get-ConsoleHandle from VirtualDesktop would have been a better choice, but saying that would be too much self-advertising :-) )
Greetings
Markus
I get a bunch of errors with the stock example file. Any idea?