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

Once installed Wasp.dll only provides 5 commands #9

Open
WillAdams opened this issue May 20, 2021 · 7 comments
Open

Once installed Wasp.dll only provides 5 commands #9

WillAdams opened this issue May 20, 2021 · 7 comments

Comments

@WillAdams
Copy link

After installing and importing Wasp.dll successfully I only get:

Select-Window
Send-Keys
Send-Mouse
Set-Focus
Set-Text

and many commands suggested don't work:

Select-Window notepad* | Set-WindowActive

Set-WindowActive : The term 'Set-WindowActive' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:5 char:26

  • Select-Window notepad* | Set-WindowActive
  •                      ~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (Set-WindowActive:String) [], CommandNotFoundExcepti
      on
    • FullyQualifiedErrorId : CommandNotFoundException

and even supported commands seem to not work:

PS C:\Users\williaadam> Import-Module -name WASP

Select-Window notepad | Send-Keys "this is a test"
Send-Keys : Target element cannot receive focus.
At line:3 char:25

  • Select-Window notepad | Send-Keys "this is a test"
  •                     ~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Send-Keys], InvalidOperationException
    • FullyQualifiedErrorId : System.InvalidOperationException,Huddled.Wasp.SendKeysCommand
@Shayano
Copy link

Shayano commented Jun 7, 2021

I've got the same behavior.

@bokuawegsche
Copy link

same here:

PS > Get-Module wasp | select -ExpandProperty ExportedCommands

Key           Value        
---           -----        
Send-Mouse    Send-Mouse   
Select-Window Select-Window
Send-Keys     Send-Keys    
Set-Focus     Set-Focus    
Set-Text      Set-Text

@sharpordie
Copy link

I just tested under Windows 11 and same problem.
Is there anyone who has it working?

@bgolinvaux
Copy link

Same here.

@i0air
Copy link

i0air commented Dec 22, 2021

image
Same here.

@user8446
Copy link

See #4

@AliSawari
Copy link

Tested on Windows 10. Same behavior

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

8 participants