Sending to a Window

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Meqadark
Posts: 4
Joined: 26 Mar 2017, 12:04

Sending to a Window

26 Mar 2017, 12:13

Hello can you guys help. :roll:
I want to send this
Spoiler
to an application. and i want the hotkey to run even it isnt the active window.

Thank you :bravo:
Meqadark
Posts: 4
Joined: 26 Mar 2017, 12:04

Re: Sending to a Window

26 Mar 2017, 12:43

I've done searches regarding the controlsend
and came up with this. but it doesn't work
Spoiler
Meqadark
Posts: 4
Joined: 26 Mar 2017, 12:04

Re: Sending to a Window

27 Mar 2017, 10:28

Meqadark wrote:I've done searches regarding the controlsend
and came up with this. but it doesn't work
Spoiler
up?
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: Sending to a Window

27 Mar 2017, 10:42

First, this is not correct, Sleep, 300;. See, comments.
Second, I do not see any problems with your ControlSend, you can try to use ahk_parent, see the control parameter of ControlSend. Also consider using SetKeydelay as suggested in the Remarks section of ControlSend.
Finally, note that not all windows accept these kinds of manipulations, you might be out of luck.
Meqadark
Posts: 4
Joined: 26 Mar 2017, 12:04

Re: Sending to a Window

29 Mar 2017, 12:24

Like this??
I tried it with notepad.exe
it works but has problems with the key delay press.
and doesnt work on the actual application :lolno:
Loop
{
Spoiler

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb, gsxr1300, PsysimSV and 282 guests