AHK. При нажатии одной клавиши зажимать другую.

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: AHK. При нажатии одной клавиши зажимать другую.

Re: AHK. При нажатии одной клавиши зажимать другую.

Post by garry » 15 Jan 2018, 08:41

try english help

Code: Select all

run,%a_programfiles%\autohotkey\autohotkey.chm
return

Code: Select all

$^w::
msgbox, Keys CTRL+w
return
здравствуйте , нашел, что это
http://forum.script-coding.com/viewforum.php?id=13
http://forum.script-coding.com/viewforum.php?id=2

https://autohotkey.com/board/topic/5401 ... o-russian/

Code: Select all

;- example-2  = toggle F4 > russian or english-US
$F4::
V++
M:=mod(V,2)
if M=1
   SetDefaultKeyboard(0x0419) ; Russian
else
   SetDefaultKeyboard(0x0409) ; english-US
return

SetDefaultKeyboard(LocaleID){
	Global
	SPI_SETDEFAULTINPUTLANG := 0x005A
	SPIF_SENDWININICHANGE := 2
	Lan := DllCall("LoadKeyboardLayout", "Str", Format("{:08x}", LocaleID), "Int", 0)
	VarSetCapacity(Lan%LocaleID%, 4, 0)
	NumPut(LocaleID, Lan%LocaleID%)
	DllCall("SystemParametersInfo", "UInt", SPI_SETDEFAULTINPUTLANG, "UInt", 0, "UPtr", &Lan%LocaleID%, "UInt", SPIF_SENDWININICHANGE)
	WinGet, windows, List
	Loop %windows% {
		PostMessage 0x50, 0, %Lan%, , % "ahk_id " windows%A_Index%
	}
}
return
;=====================================================

Shanghai Tower
http://raskalov-vit.livejournal.com/134512.html

-----------------------------------------------------------
mixMP3
http://ldb.tpv.ru/

MP3-encoder of signal from soundcard.
(c) Dmitry Lesnikov ([email protected])
MP3-engine: Lame
* Execute mixmp3 -rus to get russian help

AHK. При нажатии одной клавиши зажимать другую.

Post by Hertz » 14 Jan 2018, 04:09

Существует ли хорошая русская документация по AHK(AutoHotKey)?Как возможно построить скрипт AHK суть которого заключается в том чтобы пока нажата кнопка (w) была нажата кнопка (ctrl)?

Top