Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Pssuspend not working when cmd hidden

$
0
0
Hello everyone!

I've had a good search but can't find an answer, hope this isn't an annoying noob question

I'm trying to use pssuspend to suspend a program while the script runs which works perfectly until I try and hide the cmd window that pops up when pssuspend is activated. The line I'm using is as follows:

Run ("pssuspend.exe",@SW_HIDE)

All works without the hide command but when I add it, it successfully hides the window but the program that should suspend, doesn't.

Any ideas as to how I can fix this?

Many thanks

Pete

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>