Exetools  

Go Back   Exetools > General > Source Code

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-17-2023, 07:54
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
How to turn it back on?
Reply With Quote
  #2  
Old 11-17-2023, 12:01
fqjp fqjp is offline
Friend
 
Join Date: Apr 2011
Posts: 46
Rept. Given: 1
Rept. Rcvd 2 Times in 1 Post
Thanks Given: 2
Thanks Rcvd at 38 Times in 20 Posts
fqjp Reputation: 2
Quote:
Originally Posted by chants View Post
How to turn it back on?
Wake up with a mouse or keyboard click
Reply With Quote
  #3  
Old 11-17-2023, 21:15
wild wild is offline
Friend
 
Join Date: Oct 2017
Posts: 37
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 54
Thanks Rcvd at 32 Times in 17 Posts
wild Reputation: 1
I suggest to use the asynchronous PostMessage(...) instead of the synchronous SendMessage(...) to avoid waiting forever.....


Code:
cmd /c "powershell.exe -Command "(Add-Type '[DllImport(\"user32.dll\")]public static extern int PostMessage(int hWnd,int hMsg,int wParam,int lParam);' -Name a -Pas)::PostMessage(-1,0x0112,0xF170,2)""
Reply With Quote
The Following User Gave Reputation+1 to wild For This Useful Post:
Fyyre (12-07-2023)
The Following 5 Users Say Thank You to wild For This Useful Post:
blue_devil (11-19-2023), foosaa (05-03-2024), niculaita (11-30-2023), ontryit (01-18-2025), tonyweb (11-19-2023)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT +8. The time now is 20:48.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )