Sign in to follow this  
Followers 0
duckblaster

.

4 posts in this topic

#1 ·  Posted (edited)

.

Edited by duckblaster

Share this post


Link to post
Share on other sites



anyone tried to modify windows settings while certain apps are running then reset them?

This?

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Share this post


Link to post
Share on other sites

duckblaster

Try this:

WinWait("[Class:Notepad]")

RegWrite("HKCU\Control Panel\Desktop", "ScreenSaveActive", "REG_SZ", 0)
$Scr = RegRead("HKCU\Control Panel\Desktop", "SCRNSAVE.EXE")
RegWrite("HKCU\Control Panel\Desktop", "SCRNSAVE.EXE", "REG_SZ", "")

WinWaitClose("[Class:Notepad]")

RegWrite("HKCU\Control Panel\Desktop", "ScreenSaveActive", "REG_SZ", 1)
RegWrite("HKCU\Control Panel\Desktop", "SCRNSAVE.EXE", "REG_SZ", $Scr)

Share this post


Link to post
Share on other sites

.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0