running AHK with remote desktop closed/disconnected?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ahkfan1234
Posts: 1
Joined: 05 May 2022, 11:23

running AHK with remote desktop closed/disconnected?

05 May 2022, 12:07

I am able to run AHK with my Amazon remote desktop minimized. However, I can't figure out how to run AHK with Amazon RDP closed.

Whenever I disconnect from RDP, AHK stops running.

Anyone here knows how to do this?

Attached is my script and thank you!

Code: Select all

^j::
StopLoop := False
Loop,
{
Click 321, 276
sleep 1000
Click 317, 313
sleep 1500
Click 502, 275
sleep 1600
Click 1249, 359
sleep 1700
Click 1068, 403
sleep 1800
Click 690, 664
sleep 10000
send ^{f5}
sleep 15000
if StopLoop
	break
}
return
Esc:: 
  StopLoop := True 
return
User avatar
tank
Posts: 3130
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: running AHK with remote desktop closed/disconnected?

05 May 2022, 13:45

Windows necessarily blocks mouse and keyboard interactions with a locked desktop session which occurs if you disconnect RDP.
I will not post details of code based logons but I am sure googling how to schedule a logon or auto logons can be found. betting there are even AWS specific articles on logging on without a screen
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], peter_ahk, Spawnova and 341 guests