Skip to content
조회 수 8058 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

autohotkey) 스크린세이버 활성화 / 비활성화 시키기.

 

 

SendMessage, 0x112, 0xF140, 0,, Program Manager ; activates the screen saver

 

This deactivates a screensaver:
비활성화

PostMessage, 0x0112, 0x0F060, 0,, A
; 0x0112 is WM_SYSCOMMAND, 0x0F060 is SC_CLOSE

 

 

 

Just in case anyone else wants to do what I wanted to do, I'm posting it here. When my screensaver activates, I have it set to lock my workstation so that no one can access my machine if I walk away from it. The script as provided above seems to be triggering the screensaver demo rather than the actual screensaver, and ignores my setting to lock the workstation.

The fix took me a minute or two to come up with, but is actually blindingly simple. Here it is:

Code (Copy):
;----------------------------------------------------------------
;--- Ctrl+Alt+S: screensaver launcher
^!s::
   Send #l
   PostMessage 0x0112, 0xF140, 0,, Program Manager ; 0x0112 is WM_SYSCOMMAND -- 0xF140 is SC_SCREENSAVE
Return

로그인 후 댓글쓰기가 가능합니다.

?

  1. 13
    Mar 2012
    23:06

    autohotkey) 편입 변수

    CategoryAutoHotKey Views28913
    Read More
  2. 14
    Mar 2012
    06:04

    하드 디스크 드라이브(HDD) 숨기기

    Category컴퓨터잡담 Views7334
    Read More
  3. 14
    Mar 2012
    06:08

    USB 부팅디스크 만들기

    Category컴퓨터잡담 Views4627
    Read More
  4. 14
    Mar 2012
    19:09

    ET프로젝트

    CategoryAutoHotKey Views5943
    Read More
  5. 15
    Mar 2012
    07:49

    autohotkey) 화면보호기 실행 전 클릭으로 화면보호 안걸리게 하기

    CategoryAutoHotKey Views8870
    Read More
  6. 16
    Mar 2012
    08:06

    Autohotkey) 화면보호기(ScreenSaver) On/Off 방법

    CategoryAutoHotKey Views40707
    Read More
  7. 16
    Mar 2012
    13:26

    엑셀) 날짜를 요일로 변환하기

    CategoryExcel Views19180
    Read More
  8. 17
    Mar 2012
    08:09

    autohotkey) 화면보호기, 바탕화면 control 창 열기

    CategoryAutoHotKey Views8365
    Read More
  9. 17
    Mar 2012
    08:14

    autohotkey) 스크린세이버 활성화 / 비활성화 시키기.

    CategoryAutoHotKey Views8058
    Read More
  10. 19
    Mar 2012
    09:48

    하드 공유폴더 해제하기

    Category컴퓨터잡담 Views8183
    Read More
  11. 20
    Mar 2012
    18:23

    Generic Host Process for Win32 Services 오류

    Category컴퓨터잡담 Views5490
    Read More
  12. 26
    Mar 2012
    15:25

    엑셀 RANK 함수의 낮은자리부터 순위매김

    CategoryExcel Views12589
    Read More
  13. 26
    Mar 2012
    19:13

    FTP 자동 업로드 사용방법

    Category컴퓨터잡담 Views5574
    Read More
  14. 30
    Mar 2012
    18:41

    URL Encoding 특수문자코드

    Category컴퓨터잡담 Views39124
    Read More
  15. 13
    Apr 2012
    09:19

    drwtsn32.exe 사용하지 않기

    Category컴퓨터잡담 Views4351
    Read More
  16. 14
    Apr 2012
    09:22

    카카오톡 PC버전 설치하기

    Category컴퓨터잡담 Views4958
    Read More
  17. 18
    Apr 2012
    18:41

    울산<->경주<->포항 복선전철화 기대

    Category컴퓨터잡담 Views5960
    Read More
  18. 19
    Apr 2012
    12:23

    모바일 어플만들기 (안드로이드 전용)

    Category컴퓨터잡담 Views4755
    Read More
  19. 23
    Apr 2012
    09:36

    엑셀 주소참조 - Get.Cell(type_num, reference)

    CategoryExcel Views14175
    Read More
  20. 03
    May 2012
    08:32

    윈도우7 로그인 암호 및 비밀번호 초기화 방법

    Category컴퓨터잡담 Views23440
    Read More
Board Pagination Prev 1 ... 19 20 21 22 23 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소