Search found 85 matches

by serzh82saratov
26 Feb 2020, 15:06
Forum: Помощь
Topic: Закрывается скрипт
Replies: 1
Views: 439

Re: Закрывается скрипт

ExitApp, AntiRP.ahk

А это что?
by serzh82saratov
17 Feb 2020, 16:25
Forum: Помощь
Topic: Скрипт на удерживание и отпускание клавиши
Replies: 1
Views: 441

Re: Скрипт на удерживание и отпускание клавиши

Code: Select all

#If !Numpad1 && (1, Numpad1 := 1)
Numpad1:: SendInput {LAlt Down}
#If Numpad1 && (1, Numpad1 := 0)
!Numpad1::
Numpad1:: SendInput {LAlt Up}
#If
В блокноте работает, в играх может не работать.
by serzh82saratov
09 Feb 2020, 16:37
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

Re: InputHook

Do you think it is logical that Escape sometimes generates KeyUp? It seems to me that the exception cannot be KeyUp. ih := InputHook("L0") ih.KeyOpt("{All}", "NS") ih.KeyOpt("{Escape}", "E") ih.OnKeyDown := Func("OnKey").bind("Down") ih.OnKeyUp := Func("OnKey").bind("Up") ih.OnEnd := Func("OnEnd") i...
by serzh82saratov
08 Dec 2019, 16:22
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

Re: InputHook

1.1.32.00 - November 24, 2019

Added InputHook OnKeyUp callback.
Many thanks!
by serzh82saratov
05 Nov 2019, 12:54
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

Re: InputHook

and make the name misleading
That is why the conversation took place now. Only now, the creator wants to make the hook available to everyone. And if so. Then do not miss the moment until it becomes law.
by serzh82saratov
05 Nov 2019, 11:58
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

Re: InputHook

And, if I understand you correctly, then I do not propose a new OnKeyUp method, I only suggest a parameter for OnKeyDown.
by serzh82saratov
05 Nov 2019, 11:50
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

Re: InputHook

evilC I ask you to understand me correctly, I have no problems in the realization of desires, it has long been implemented. Hotkey - http://forum.script-coding.com/viewtopic.php?pid=127550#p127550 Hook - http://forum.script-coding.com/viewtopic.php?pid=72459#p72459 I just suggest adding options to ...
by serzh82saratov
04 Nov 2019, 12:54
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

Re: InputHook

I could be wrong, I do not know English. Maybe the conversation was about the inconvenience of adding a new parameter to OnKeyDown.
by serzh82saratov
04 Nov 2019, 12:31
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

Re: InputHook

I’m talking about this, AutoHotkey already uses a hook, and I need to use another one of my own, and it does not work very reliably. The InputHook lacks key release events - LLKHF_UP, and the definition of the input method is LLKHF_INJECTED. Then I can only use InputHook.I did not understand what yo...
by serzh82saratov
03 Nov 2019, 02:37
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

Re: InputHook

You use LowLevelKeyboardProc for this?
by serzh82saratov
03 Nov 2019, 01:07
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

Re: InputHook

You can just register one hotkey temporarily or use KeyWait or SetTimer. By contrast, detecting key-down without knowing which key is going to be pressed (and without InputHook) may require hundreds of hotkeys or a long list of keys passed to Input. Of course, all this has been implemented for a lo...
by serzh82saratov
02 Nov 2019, 14:01
Forum: Wish List
Topic: InputHook
Replies: 18
Views: 3492

InputHook

Thanks for the addition, it has become more convenient. Maybe it’s worth adding an option so that in this version I can get that the key is released, and so that there is no spam on hold. And I still don’t understand why EndMods is empty for me. Win10x64. ih := InputHook("L0", "{Escape}") ih.KeyOpt(...
by serzh82saratov
25 Aug 2019, 13:54
Forum: Помощь
Topic: Как перебить существующую горячую клавишу
Replies: 1
Views: 1467

Re: Как перебить существующую горячую клавишу

Code: Select all

#If WinActive("ahk_class ApplicationFrameWindow") && DoubleClick()
LButton:: ToolTip % A_TickCount
#If

DoubleClick() {
	Static T
	If (A_PriorKey = "LButton" && A_TickCount - T < 300)
		Return 1, T := 0
	Return 0, T := A_TickCount
}
by serzh82saratov
29 Jul 2019, 14:58
Forum: Свободное общение
Topic: кино комедии
Replies: 1
Views: 1730

Re: кино комедии

Видео не понял, где смеяться, вы там конечно все молодцы, но зачем на русском всё снято, если в России юмор совершенно другой?
by serzh82saratov
27 Apr 2019, 20:49
Forum: Помощь
Topic: Нужна помощь в правке скрипта.
Replies: 6
Views: 1867

Re: Нужна помощь в правке скрипта.

Правку увидел! Чтобы сразу видеть, соблюдайте табуляцию. $*vk45:: ; E while (GetKeyState("vk45", "P")) { p1 := "", p2 := "" for k, v in {"Ctrl":"LCtrl","Shift":"LShift","Alt":"LAlt","LWin":"LWin","RWin":"RWin"} GetKeyState(k, "P") && (p1 .= "{" v " Down}") && (p2 .= "{" v " Up}") send, %p1%{vk45}%p...
by serzh82saratov
27 Apr 2019, 10:50
Forum: Помощь
Topic: Нужна помощь в правке скрипта.
Replies: 6
Views: 1867

Re: Нужна помощь в правке скрипта.

$*vk45:: while (GetKeyState("vk45", "P")) { if (GetKeyState("Shift", "P")) send, {Shift Down}{vk45}{Shift Up} else send, {vk45} sleep, 150 } return
by serzh82saratov
03 Apr 2019, 10:25
Forum: Помощь
Topic: Скрипт не меняет язык ввода в некоторых окнах
Replies: 1
Views: 1747

Re: Скрипт не меняет язык ввода в некоторых окнах

при выборе активным окна "Найти" в Notepad++ скрипт язык ввода уже не меняет LocaleRussian=0x4090409 ; English Language LocaleEnglish=0x4190419 ; Russian Language ~LAlt & ~LShift:: ~LShift & ~LAlt:: ThreadID := DllCall("GetWindowThreadProcessId", "Int", WinExist("A"), "Int", "0") InputLocaleID := D...
by serzh82saratov
02 Apr 2019, 15:03
Forum: Помощь
Topic: Не получается правильно построить проверку значений Topic is solved
Replies: 9
Views: 2683

Re: Не получается правильно построить проверку значений Topic is solved

Мда, а вы всё же сказочный ... экземпляр. Тут знаете ли помощь, а не стол заказов, и уж тем более как возможно постить неправильный код, на фоне: не привожу весь код, потому что не хочу. Вы если вопрос задаёте, потрудитесь сначала вникнуть в ответ. Хотите правильно выстроить проверку условий, в итог...

Go to advanced search