mavaddat / wasp

Windows Automation Snapin for PowerShell
MIT License
167 stars 15 forks source link

Once installed Wasp.dll only provides 5 commands #9

Open WillAdams opened 3 years ago

WillAdams commented 3 years ago

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

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

Shayano commented 3 years ago

I've got the same behavior.

bokuawegsche commented 3 years ago

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 commented 3 years ago

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

bgolinvaux commented 2 years ago

Same here.

i0air commented 2 years ago

image Same here.

user8446 commented 2 years ago

See https://github.com/mavaddat/wasp/issues/4

AliSawari commented 2 years ago

Tested on Windows 10. Same behavior