♣ Tech & Biz Salon/Tech

화면보호기 실행 명령어

TasteGod 2012. 7. 10. 16:14

무식한 검색어 

windows7 screen saver force command

로 찾았다.

http://stackoverflow.com/questions/1430108/how-to-turn-screensaver-on-windows-7-by-a-code-in-cmd

아래부분에 좋은 답변이 달려있다.!!

 have Windows 7. I placed the line:

@start /wait %windir%\ExtraPath\ScreenSaverName.scr /s & rundll32 user32.dll,LockWorkStation

in a batch (.bat) file, place it in a appropriate dir, and created a shortcut pointing to this, with the desired shortcut key. In this line, \ExtraPath is the additional path under your win dir (usually this is \system32) where the screen savers are located, and ScreenSaverName.scr is the name of the desired screen saver itself.

It works perfectly.

Now I can press the shortcut keys to run the screen saver and lock the pc.

Thanks really a lot. 


화면보호기중 3차원 텍스트라는 것이 있다. 그놈은 system32 폴더의 ssText3d.scr 에 해당하네.
아래처럼 문구별로 화면보호기를 따로 만들면 좋을텐데

ssText3d.scr - 잠시 자리비움...
ssText3d_InnerMeeting.scr - 회의중입니다.

안된다. 3D텍스트 화면보호기는 그냥... 하나다. 저렇게 복사해서 만들면 두개가 동기화되어 버린다;;

* 화면보호기 편집은 scr 파일 오른클릭 > 구성 클릭!

그리고 portable program 용 폴더에

bat 파일 만들고, 그 놈을 다시 바탕화면 바로가기로 만들어놓으니 좋네.

RunScreenSaver.bat 의 내용

@start /wait %windir%\system32\ssText3d.scr /s & rundll32 user32.dll,LockWorkStation