개인적인 오토핫키 스크립트.ㄷㄷㄷㄷ

컴터를 자주 포맷하는 관계로


마땅히 저장해 놓을곳이 없어서...ㅎㅎ


예비 저장소 입니다.


그냥 뒤로가기 하시면 됩니다.ㄷㄷ




; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a

; semicolon, such as this one, are comments.  They are not executed.


; This script has a special filename and path because it is automatically

; launched when you run the program directly.  Also, any text file whose

; name ends in .ahk is associated with the program, which means that it

; can be launched simply by double-clicking it.  You can have as many .ahk

; files as you want, located in any folder.  You can also run more than

; one .ahk file simultaneously and each will get its own tray icon.


; SAMPLE HOTKEYS: Below are two sample hotkeys.  The first is Win+Z and it

; launches a web site in the default browser.  The second is Control+Alt+N

; and it launches a new Notepad window (or activates an existing one).  To

; try out these hotkeys, run AutoHotkey again, which will load this file.


#z::Run www.autohotkey.com


; Create Notepad: WinKey + n

#n::

IfWinExist Untitled - Notepad

WinActivate

else

Run Notepad

return


; Create Notepad: WinKey + c

#c::

IfWinExist Untitled - 

WinActivate

else

Run calc.exe

return


; Create Notepad: WinKey + c

#v::

IfWinExist Untitled - 

WinActivate

else

Run C:\Program Files\Internet Explorer\iexplore.exe

return


; Create Notepad: WinKey + c

#x::

IfWinExist Untitled - 

WinActivate

else

Run C:\Documents and Settings\cubit\Local Settings\Application Data\Google\Chrome\Application\chrome.exe

return



; Create Notepad: WinKey + c

#o::

IfWinExist Untitled - 

WinActivate

else

Run C:\Program Files\WareValley\Orange for ORACLE 3.0 DBA\Orange.exe

return



; Alt + 4 -> Alt + F4

!4::Send !{F4}


; 맨오른쪽 키를 한자키로 셋팅

RWin::

Send, {SC1f1}

return


#singleInstance force


subApplyNumLockWindow()

return 


~ScrollLock::         subApplyNumLockWindow()  

return



subApplyNumLockWindow(){

   static numLockGui:=77


   bNumLockOn:=GetKeyState("ScrollLock","T")  

   if(bNumLockOn){

       Gui %numLockGui%: +Owner


       Gui %numLockGui%:Show, NoActivate, NumLockWindow 

   }else{

       Gui  %numLockGui%:Destroy 

   }

}


#ifWinExist NumLockWindow


sc027::Left

'::Right

[::Up

/::Down

l::PgUp

.::PgDn

k::Home

,::End

j::NumpadDiv   ;(/)

h::NumpadMult  ;(*)

m::numpadsub  ;(-)

n::NumpadAdd   ;(+)

1::F1

2::F2

3::F3

4::F4

5::F5

6::F6

7::F7

8::F8

9::F9

0::F10

y::send, 00

u::NumpadDot

-::F11

=::F12

\::Ins

a::SoundSet -4

s::SoundSet +4

d::SoundSet +1,,mute

f::

Drive, Eject

; If the command completed quickly, the tray was probably already ejected.

; In that case, retract it:

if A_TimeSinceThisHotkey < 1000  ; Adjust this time if needed.

    Drive, Eject,, 1

return


#ifWinExist






; Note: From now on whenever you run AutoHotkey directly, this script

; will be loaded.  So feel free to customize it to suit your needs.


; Please read the QUICK-START TUTORIAL near the top of the help file.

; It explains how to perform common automation tasks such as sending

; keystrokes and mouse clicks.  It also explains more about hotkeys.



이전 댓글 1
Årchangelus 2012-07-25 08:22
이거 제가 복사후 쪽지로 보내드릴게요 ㅋㅋㅋ쪽지발송완료.
← 자유게시판 목록으로