Question about AHK on Terminal Services

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
snowmind
Posts: 124
Joined: 12 Nov 2015, 15:18

Question about AHK on Terminal Services

18 Aug 2017, 09:06

Hi everybody,
Sorry for the doubt, but I did not find any topic talking in detail about this problem...

Is AHK not 100% functional within a terminal services?

A script like this in a terminal services and run, it works as long as I have the window open and looking at it

Code: Select all

Sleep, 3000
Run, notepad
WinWait, Untitled - Notepad
Send, OK
Now, if I run the same script and minimize the window, and re-maximize the window again a few seconds later, nothing happened!
I know it could work using "ControlSend" but I question it because I want to automate something inside "Citrix" and in it I can not use "ControlSend" :crazy:
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: Question about AHK on Terminal Services

18 Aug 2017, 09:29

AFAIK any user related stuff (manual intervention) like sending keys, mouse movement etc won't work with a locked screen.
Check out if you can use whatever "command line" options/parameters to trigger things.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 322 guests