AHK script can not run on VPS ??

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
sigartrader
Posts: 9
Joined: 01 Feb 2018, 20:34

AHK script can not run on VPS ??

01 Feb 2018, 20:49

Hello,

iam new here on this forum since i decide to use ahk to automate clicking on a website on my remote desktop (Virtual Private Server / VPS),
when i open vps via RDP remote desktop on my laptop and can see script of ahk for auto clicking on a website is working fine,
but when i am out of my vps (mean my vps disconnect from my laptop) the script of ahk is not work, mean only work when i open VPS on RDP windows,

is that causing by VPS virtual screen or anything ??, please help this situation, thanks before

Regards
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: AHK script can not run on VPS ??

02 Feb 2018, 03:31

AFAIK, the remote screen gets locked once you disconnect. Therefore any event that is mimicking a user (mouse/keyboard/...) AKA not command line/background driven is blocked.
Check if you can re-configure the VPS host to keep the screen unlocked (well, that means you've to care for that the box is placed in a secure environment eg away from keyboard jumping grumpy cats etc).
Good luck.
sigartrader
Posts: 9
Joined: 01 Feb 2018, 20:34

Re: AHK script can not run on VPS ??

04 Feb 2018, 10:37

Ah thanks,

I've found the way to make auto click work on RDP,
Finally
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: AHK script can not run on VPS ??

04 Feb 2018, 10:43

Are you willing to share your final result/effort?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb and 296 guests