Open guillermo-garijo opened 6 years ago
Hello @Guiillee191 , Thanks for your kind words.
You are totally right. I have reproduced the problem with your script and I have found a bug. I will try to fix & push a new version this weekend. Hope it is not too late (I am quite busy, sorry). I will keep you informed!
Thanks
It is done, can you test 2.1 version?
I've been testing the API and seemed to work great but now I'm trying to execute a script and isn't working
The script has no parameters and outputs the window position of a certain process. I didn't wrote but i made a small modification for not needing to input anyting, just executing the script. Here it is the original version: https://gallery.technet.microsoft.com/scriptcenter/Get-the-position-of-a-c91a5f1f#content
The script is working correctly, I've tested it from the command line but when I use the executeScript() method no errors are shown but any output either. Here is the script that I'm using (the modified one), would be awesome if you could help me to make any of the versions work. The output is needed because I want to set a another window overlaping the one I'm retriving the position ( is for a HUD).
Nice work you did here too!
NOTE: The inserting code isn't working properly so I'm ataching the code with a .txt NOTE2: In the file the process beeing looked for is WhatsApp but if you want to test it with aby other just change the name code.txt