JP

Loading...

Resize the screen using the MouseGesture.ahk.

1,022 views

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Feb 11, 2012

Screen size is changed using a software called MouseGesture.ahk.
Has been incorporated where deliberately drag the mouse to be switched in an instant.
To turn off the mouse is using nomousy.exe.

MouseGesture.ahkというソフトを使った画面サイズ変更です。
一瞬で切り替えられるところをわざとマウスドラッグの操作を取り入れています。
マウスを消すのにはnomousy.exe を使っています。

■ Introductory article
http://www.autohotkey.com/forum/topic...

;;
;;The name of the script ; Half_L
;;Behavior ; Display the window in the left half of screen
;;How to Start ; Assign the behavior to use Mousegesuture.ahk.
;; ; nomousy.exe put into the same folder as the Mousegesuture.ahk
;;Author ; Shirubadappuru2012 (Japan)
;;

G=X2B_4_
Default=Sleep,10【TAB】Run,%A_ScriptDir%\Components\nomousy.exe /hide【TAB】Sleep,150【TAB】;MG_HideNavi() 【TAB】MG_StopTrail() 【TAB】CoordMode,Mouse , Screen【TAB】MouseGetPos,,,OVW【TAB】WinGetClass, OutputVar , ahk_id %OVW%【TAB】;MsgBox, Does nothing when the desktop, taskbar, SideBar, of Vector Clock【TAB】if OutputVar in Progman,Shell_TrayWnd,SideBar_HTMLHostWindow,TFormClock【TAB】{ 【TAB】}else{【TAB】;;----------------------------------------------------------【TAB】;;;The current position of the mouse【TAB】MouseGetPos, MouseX , MouseY【TAB】;;----------------------------------------------------------【TAB】WinActivate, ahk_id %OVW%【TAB】CoordMode,Mouse , Relative【TAB】MouseGetPos, MouseXR , MouseYR【TAB】MouseMove, 0, %MouseYR%【TAB】MouseMove, 0, 0【TAB】CoordMode,Mouse , Screen【TAB】;;----------------------------------------------------------【TAB】IfWinActive, ahk_class ThunderRT6FormDC【TAB】{【TAB】;Calmemo【TAB】;;; 目標値のデータを入れる【TAB】xe := 0【TAB】ye := 404【TAB】we := 418【TAB】he := 242【TAB】;;----------------------------------------------------------【TAB】}else{【TAB】IfWinActive, ahk_class QWidget【TAB】{【TAB】;TapinRadio【TAB】;;----------------------------------------------------------【TAB】;;; The goal put the data on the screen【TAB】xe := 500【TAB】ye := 400【TAB】we := 636【TAB】he := 537【TAB】;;----------------------------------------------------------【TAB】}else{【TAB】;;----------------------------------------------------------【TAB】;;; 目標値のデータを入れる【TAB】xe := 0【TAB】ye := 0【TAB】we := 794【TAB】he := 1050【TAB】}【TAB】}【TAB】;;----------------------------------------------------------【TAB】WinGet, State, MinMax, A【TAB】if State != 0【TAB】WinRestore, A【TAB】;;----------------------------------------------------------【TAB】;;; 初期画面のデータを得る【TAB】WinGetPos,xs,ys,ws,hs,A【TAB】;;----------------------------------------------------------【TAB】;;; Initial position of the upper-left【TAB】x1 := xs+250【TAB】y1 := ys+10【TAB】;;----------------------------------------------------------【TAB】;;; Upper left target position【TAB】x2 := xe+250【TAB】y2 := ye+10【TAB】;;----------------------------------------------------------【TAB】MouseClickDrag, LEFT , %X1%,%Y1%, %X2%, %Y2% , 3【TAB】;Send,{LButton Up}【TAB】Sleep,50【TAB】WinMove,A , ,%xe%,%ye%,%we%,%he%【TAB】;;----------------------------------------------------------【TAB】;;;Returns the position of the mouse【TAB】MouseMove,%MouseX%,%MouseY%, 0【TAB】;;----------------------------------------------------------【TAB】}【TAB】;----------------------------------------------------------【TAB】Sleep,150【TAB】Run,%A_ScriptDir%\Components\nomousy.exe【TAB】Sleep,10
timer=MouseGetPos,,,OVW【TAB】WinActivate, ahk_id %OVW%

Software called "窓掴み" is used instead of nomousy now.
窓掴みというソフトを現在はnomousyの代わりに使っています。2012/12/23

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...