羞羞的一指禪

圖片發(fā)自簡書App

小A一個(gè)人在宿舍里,對(duì)著電腦屏幕,觀賞著某島國動(dòng)作片!哇,好帶勁哦!!啪宿舍門開了,小A女朋友進(jìn)來,小A。。。好尷尬。

小B一個(gè)人在單位辦公室,對(duì)著電腦屏幕,觀賞著某島國動(dòng)作片!哇,好帶勁哦!!“咦,有腳步聲”,我點(diǎn),電腦屏幕上就是桌面,上邊寫著“業(yè)精于勤”,我操這也行!!

使用方法:

  • 點(diǎn)擊屏幕最上端最小化所有窗口,

  • 再次點(diǎn)擊最小化的窗口還原


; 點(diǎn)擊桌面最上端最小化所有窗口,

;再次點(diǎn)擊最小化的窗口還原

;河許人

#SingleInstance,Force

#NoEnv

SendMode,Input

SetWorkingDir,%A_ScriptDir%

SetWinDelay,0

CoordMode,Mouse,Screen

applicationname=羞羞一指禪

Gosub,MENU

WinMinimizeAllUndo

hidden=0

Return

~LButton::

MouseGetPos,mx,my,mwin,mctrl

WinGetClass,class,ahk_id %mwin%

Return

~LButton Up::

If (my=0 And mx>A_ScreenWidth/4 And mx<A_ScreenWidth/4+A_ScreenWidth/2)

If hidden=0

{

WinMinimizeAll

hidden=1

Return

}

Else

{

WinMinimizeAllUndo

hidden=0

Return

}

If mctrl Not In SysListView321

Return

If class Not In Progman,WorkerW

{

If hidden=1

{

WinMinimizeAllUndo

hidden=0

}

Return

}

WinWaitActive,ahk_id %mwin%

ControlGet,selected,List,Count Selected,%mctrl%,ahk_id %mwin%

If hidden=1

{

If selected>0

Return

WinMinimizeAllUndo

hidden=0

}

Else

{

WinMinimizeAll

hidden=1

}

Return

MENU:

Menu,Tray,DeleteAll

Menu,Tray,NoStandard

Menu,Tray,Add,%applicationname%,ABOUT

Menu,Tray,Add,

Menu,Tray,Add,關(guān)于,ABOUT

Menu,Tray,Add,退出,EXIT

Menu,Tray,Tip,%applicationname%

Menu,Tray,Default,%applicationname%

Return

ABOUT:

Gui,99:Destroy

Gui,99:Margin,20,20

Gui,99:Add,Picture,xm Icon1,%applicationname%.exe

Gui,99:Font,Bold

Gui,99:Add,Text,x+10 yp+10,%applicationname% v1.0

Gui,99:Font

Gui,99:Add,Text,y+10,- 點(diǎn)擊桌面頂端最小化所有窗口,

Gui,99:Add,Text,xp+5 y+5,或者點(diǎn)擊屏幕頂部的中間部分.

Gui,99:Add,Text,xp-5 y+10,- 再次點(diǎn)擊恢復(fù)窗口.

Gui,99:Add,Picture,xm y+20 Icon2,%applicationname%.exe

Gui,99:Font,Bold

Gui,99:Add,Text,x+10 yp+10,智能熱鍵

Gui,99:Font

Gui,99:Add,Text,y+10,查找更多工具,信息 或者打賞, 請(qǐng)?jiān)L問

Gui,99:Font,CBlue Underline

Gui,99:Add,Text,y+5 G智能熱鍵,www.autoahk.com

Gui,99:Font

Gui,99:Add,Picture,xm y+20 Icon7,%applicationname%.exe

Gui,99:Font,Bold

Gui,99:Add,Text,x+10 yp+10,捐贈(zèng)

Gui,99:Font

Gui,99:Add,Text,y+10,支持我:

Gui,99:Font,CBlue Underline

Gui,99:Add,Text,y+5 G捐贈(zèng),www.autoahk.com/buyamoney

Gui,99:Font

Gui,99:Add,Picture,xm y+20 Icon6,%applicationname%.exe

Gui,99:Font,Bold

Gui,99:Add,Text,x+10 yp+10,AutoAHK

Gui,99:Font

Gui,99:Add,Text,y+10,這個(gè)工具原產(chǎn)于這里:

Gui,99:Font,CBlue Underline

Gui,99:Add,Text,y+5 GAutoAHK,http://www.autoahk.com/archives/1475

Gui,99:Font

Gui,99:Show,,%applicationname% About

hCurs:=DllCall("LoadCursor","UInt",NULL,"Int",32649,"UInt") ;IDC_HAND

OnMessage(0x200,"WM_MOUSEMOVE")

Return

智能熱鍵:

Run,http://www.autoahk.com,,UseErrorLevel

Return

捐贈(zèng):

Run,http://www.autoahk.com/buyamoney,,UseErrorLevel

Return

AutoAHK:

Run,http://www.autoahk.com/archives/1475,,UseErrorLevel

Return

ABOUTOK:

Gui,99:Destroy

OnMessage(0x200,"")

DllCall("DestroyCursor","Uint",hCur)

Return

WM_MOUSEMOVE(wParam,lParam)

{

Global hCurs

MouseGetPos,,,,ctrl

If ctrl in Static9,Static13,Static17

DllCall("SetCursor","UInt",hCurs)

Return

}

Return

EXIT:

ExitApp

代碼不會(huì)使用的話,可以到網(wǎng)盤直接下載可執(zhí)行文件哦!!

百度網(wǎng)盤下載地址:

https://pan.baidu.com/s/1dFpR3MT 密碼:3myr

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容

  • 你在減肥嗎? 同事聚餐,親戚接風(fēng),紅白喜事,都是吃飯。似乎,我們除了吃飯,再也找不到生活的其他的交流方式。 當(dāng)然,...
    駭客文閱讀 248評(píng)論 0 0
  • 1 還有23天過年,馬上要回家的你,被催著相親了嗎?非誠勿擾的孟非說過,每年快過年的時(shí)候,牽手的男女嘉賓會(huì)成倍增長...
    一個(gè)有個(gè)性的女漢子閱讀 217評(píng)論 0 0
  • 人若真心待我,我必以心交人…以假心欺我者,我必覆你乾坤
    二五九閱讀 123評(píng)論 0 1
  • 老師,我丟了一樣?xùn)|西。 什么? 我
    _陳沛閱讀 197評(píng)論 0 2