Questions tagged [wasp]

WASP is a PowerShell snapin for Windows Automation tasks like selecting windows and controls and sending mouse and keyboard events. We have automation cmdlets like Select-Window, Select-Control, Send-Keys, Send-Click, Get-WindowPosition, Set-WindowPosition, Set-WindowActive, Remove-Window ... etc.

WASP is a PowerShell snapin for Windows Automation tasks like selecting windows and controls and sending mouse and keyboard events. We have automation cmdlets like Select-Window, Select-Control, Send-Keys, Send-Click, Get-WindowPosition, Set-WindowPosition, Set-WindowActive, Remove-Window ... etc.

15 questions
3
votes
1 answer

Editing device manager using powershell

Part of my work routine involves frequently enabling/disabling network adapters in the device manager, which is tedious and time consuming. I am learning PowerShell, and want to write a simple script that automatically enables/disables the network…
Flopdong
  • 259
  • 1
  • 3
  • 15
3
votes
2 answers

Get Process object by window in WASP/powershell?

I have a function which makes a window -a TOPMOST window. So - I can run this : Get-WindowByProcessTitle *chrome* | Set-TopMost Notice the argument here is a process name ( "chrome" is in "chrome.exe" which is the process). The inner code which …
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
1
vote
0 answers

Wicket 1.4.7 + Swarm + Hive + Wicomsec

i have a problem when i click on my tab generated with wicket framework. In the url instead of wicket:bookmarkablepage ---page class name appears wicket:interface:1:[component] and i take a wicket Exception like this: 2020-10-14 09:32:24,365 ERROR…
1
vote
1 answer

Enable WASP server in debug mode

I need to enable debug mode in a WASP server. Where I can setup or find the remote debug port of a WASP server? Also need to find out the way to tail the log file. I tried tomcat command but they did not work.
Nipuna Priyamal
  • 370
  • 2
  • 14
1
vote
0 answers

Execute powershell commands after displaying a javascript confirm prompt in a webpage [IE]

I'm using powershell to navigate in a website and test if is it available or not. I found a problem with a search button that I need to click it. So when I click it, I get a confirm prompt with a "Yes" or "No" responses. I searched how can I…
1
vote
0 answers

Installing Unsigned drivers

I am trying to automate some stuff where I am installing certain drivers. However as the drivers are unsigned I am seeing attached security dialogue. I want to automate and click "Install" or "Don't Install" on the security dialog. Till now I have…
RazerX
  • 11
  • 1
1
vote
1 answer

Selecting Processname by string containing with WASP in Powershell

I'm trying to select a certain process name within a Powershell script with WASP. However, the issue is that every time the process is started it gives itself a randomly generated string before the extension. It does always include the extension…
Alexander Edwards
  • 772
  • 2
  • 7
  • 18
0
votes
1 answer

WASP roughness length map

I come across WASP python example (please see the link below). https://gitlab.windenergy.dtu.dk/WAsP/pywasp-examples/-/blob/master/tutorial_1/pywasp_tutorial_resource_grid.ipynb The example mention about roughness map. It says that "a map of…
0
votes
0 answers

WASP Powershell Local Instance from Task Scheduler

I am trying to get a specific restart command to a cmd.exe window at a particular time in the day everyday in order to restart the server it is running. My Action in Task Scheduler is currently: Powershell.exe -ExecutionPolicy Bypass -File…
Slacker101
  • 23
  • 6
0
votes
1 answer

Powershell UI Automation on Console Foxpro Application

I can't seem to get this code to work on a console foxpro application. Is there anything that I'm missing. I've tested this code on other applications and it works. ipmo "D:\WASP\WASP.dll" Select-Window "ntvdm" | Set-WindowActive |…
0
votes
1 answer

Hyper-v wasp sendkeys not working

I'm trying to use WASP powershell module to send keys to Hyper-v client using this command. The syntaxes are ok since this works for notepad, etc. Select-Window vmconnect | Send-Keys "Internal"
0
votes
1 answer

Get window title via mouse cursor in Powershell/wasp?

I have built a powershell script ( using wasp) which sets any window to "always on top" mode . I run the script via : Get-WindowByTitle *emul* | Set-TopMost Why do I need it ?* When I program in Eclipse/Androidstudio - I want the emulator to be…
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
0
votes
1 answer

Script to open two applications on start up and snap them with one being 80% screen and the other being 20% in Windows 8.1 Desktop

I am not a programmer rather a designer but have been trying to write a .bat file for weeks to have two applications, which I specify, open automatically and snap to a scale of 80% left hand side and 20% for the second app on the right hand side. I…
Jeff
  • 1
  • 1
0
votes
2 answers

How can I use WASP permanently without re-installing?

I'm writing powershell queries using WASP. But every time I want to use WASP I have to do : c:\Windows\System32\WindowsPowerShell\v1.0>powershell.exe Install.ps1 -Force Then I get this result : And as they say : I run this in Powershell_ise.exe…
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
-1
votes
1 answer

WASP PowerShell 32 bits

I am using WASP successfully with PowerShell 64 bits, but I need to use PowerShell 32 bits cause of OCR MODI.Document. But my PowerShell x86 is not able to load my WASP module : See when I am trying to reach WASP module How is it possible? I've…
cterra
  • 55
  • 1
  • 10