Search found 4 matches

by reborn
29 Jun 2020, 20:26
Forum: 请求帮助
Topic: 映射手柄方向键的问题
Replies: 0
Views: 1609

映射手柄方向键的问题

因为dpad没有特定的joykey所以我把他映射到方向键上了,我想请问一下为什么我不能直接映射KeyToHoldDown为我想要的组合键,或者再用方向键去映射组合键也不工作 #NoEnv #Persistent #IfWinActive, ahk_exe anki.exe SetTimer, WatchPOV, 5 return WatchPOV: GetKeyState, POV, JoyPOV KeyToHoldDownPrev = %KeyToHoldDown% if POV < 0 ; 没有角度 KeyToHoldDown = else if POV > 31500 ; 315 至 3...
by reborn
28 Jun 2020, 22:32
Forum: Ask For Help
Topic: How to remap controller's dpad to combination hotkeys
Replies: 0
Views: 315

How to remap controller's dpad to combination hotkeys

I tried remap arrow keys to ctrl+numpad1,2,3,4 but it didn't work,and idk why KeyToHoldDown can only define one sigle key.Can anybody help me figue this out? #NoEnv #Persistent #IfWinActive, ahk_exe anki.exe SetTimer, WatchPOV, 5 return WatchPOV: GetKeyState, POV, JoyPOV KeyToHoldDownPrev = %KeyToHo...
by reborn
23 Jun 2019, 12:38
Forum: Ask For Help
Topic: About moving a window to another screen
Replies: 3
Views: 521

Re: About moving a window to another screen

If there a way can adjust windows size automatically. I haven't studied your code, but the answer to your question is that WinMove allows parameters to set the Width and Height. Here's the full syntax: WinMove,WinTitle,WinText,X,Y,Width,Height,ExcludeTitle,ExcludeText So, in addition to your newX a...
by reborn
23 Jun 2019, 07:35
Forum: Ask For Help
Topic: About moving a window to another screen
Replies: 3
Views: 521

About moving a window to another screen

Here is my code. #q:: WinGetPos, winx, winy,,, A WinGet, mm, MinMax, A WinRestore, A If (winx > 1912) { newx := winx-1920 OutputDebug, Moving left from %winx% to %newx% } else { newx := winx+1920 OutputDebug, Moving right from %winx% to %newx% } WinMove, A,, newx, winy if mm=1 WinMaximize, A Return ...

Go to advanced search