Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script issue #40

Open
guillermo-garijo opened this issue May 10, 2018 · 2 comments
Open

Script issue #40

guillermo-garijo opened this issue May 10, 2018 · 2 comments
Assignees

Comments

@guillermo-garijo
Copy link

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

@guillermo-garijo guillermo-garijo changed the title Need help! Script issue May 12, 2018
@profesorfalken
Copy link
Owner

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

@profesorfalken
Copy link
Owner

It is done, can you test 2.1 version?

@profesorfalken profesorfalken self-assigned this May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants