Les combinaison touche comme alt ou Control ne marche pas Topic is solved

Poser vos questions de programmation en AutoHotkey
TheFireDante

Les combinaison touche comme alt ou Control ne marche pas

31 May 2020, 12:38

Bonjour alors tout d'abord je suis tout nouveau sur Ahk est j'aimerais savoir pourquoi quand j'essaie de crée une combinaison de touche ,les touche comme Alt ou Control ne marche pas par exemple si je fait :

#s::
Send,!&

Seulement la touche & marche

ou alors j'ai essayer :

#s::
Send,{Alt Down} & {Alt Up}

Mais seulement la touche & s’exécute ducoup je voudrai savoir si il faut que je rajoute quelque chose pour permettre a la touche Alt de rester appuyer pendant la combinaison de touche
User avatar
joedf
Posts: 8953
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Les combinaison touche comme alt ou Control ne marche pas

01 Jun 2020, 10:59

Peut-être y faudrait que t'essayes SendInput or SendPlay au lieu de Send. :think:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
TheFireDante
Posts: 2
Joined: 31 May 2020, 15:37

Re: Les combinaison touche comme alt ou Control ne marche pas

01 Jun 2020, 14:47

J'ai essayer mais malheureusement seul & marche la touche alt ne fonctionne pas
User avatar
joedf
Posts: 8953
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: Les combinaison touche comme alt ou Control ne marche pas

02 Jun 2020, 17:15

pt si on est plus spécifique? :think:
SendInput, {LAlt Down} & {LAlt Up}
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Return to “J'ai besoin d'aide”

Who is online

Users browsing this forum: No registered users and 53 guests