"Send, ^{key}" doesn't work in Microsoft-Word Occasionally

Get help with using AutoHotkey and its commands and hotkeys
michael_jie
Posts: 11
Joined: 26 Nov 2018, 04:44

"Send, ^{key}" doesn't work in Microsoft-Word Occasionally

26 Nov 2018, 05:30

script:

Code: Select all

a::
	SendInput,^i
return


b::
	SendInput ,^b
return
i want to change the word's format in Microsoft-Word by sending shortcut key, sometimes it works , sometimes just send the key, without ctrl.
you can see the phenomenon from gif .
thanks for help.
Attachments
result.gif
result.gif (85.46 KiB) Viewed 630 times
Rohwedder
Posts: 3983
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: "Send, ^{key}" doesn't work in Microsoft-Word Occasionally

26 Nov 2018, 11:46

Hallo,
only at try:

Code: Select all

$a up::SendInput, ^i

$b up::SendInput, ^b
michael_jie
Posts: 11
Joined: 26 Nov 2018, 04:44

Re: "Send, ^{key}" doesn't work in Microsoft-Word Occasionally

26 Nov 2018, 20:42

Rohwedder wrote:
26 Nov 2018, 11:46
Hallo,
only at try:

Code: Select all

$a up::SendInput, ^i

$b up::SendInput, ^b
Thanks for help.
but still the same result~~~
other application works well, just doesn't work in Microsoft Word once in a while
hymal7
Posts: 66
Joined: 14 Sep 2016, 05:37

Re: "Send, ^{key}" doesn't work in Microsoft-Word Occasionally

27 Nov 2018, 05:17

maybe try

Code: Select all

a::
	Send,^i
return

b::
	Send,^b
return
should do the same thing though
michael_jie
Posts: 11
Joined: 26 Nov 2018, 04:44

Re: "Send, ^{key}" doesn't work in Microsoft-Word Occasionally

27 Nov 2018, 07:28

hymal7 wrote:
27 Nov 2018, 05:17
maybe try

Code: Select all

a::
	Send,^i
return

b::
	Send,^b
return
should do the same thing though
thanks for help .

it's so weird.
it doesn't work just started.
Many times later, it works !!!! I have change nothing!

actually , I have tried to used " send " first , It doesn't work .
after that, I change to used "sendinput".

should i happy? :monkeysee:

Return to “Ask For Help”

Who is online

Users browsing this forum: 502759216, Bing [Bot], JoeWinograd, manehscripts, nu10e8368NrrfXGQKvwn, ToJaRedi and 74 guests