Opened 2 years ago
Closed 2 years ago
#3899 closed Bug (No Bug)
_GUICtrlListView_ClickItem issue with remote desktop
Reported by: | raffaelet@… | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.16.0 | Severity: | None |
Keywords: | _GUICtrlListView_ClickItem | Cc: |
Description
I have a scheduled task that uses _GUICtrlListView_ClickItem
Working phisically on the pc, the scheduled task works as expected.
Connecting in remote desktop, if the scheduled task runs while the user is still in remote desktop, the scheduled task works as expected.
However, connecting in remote desktop, then closing the remote desktop (without disconnecting the user), the scheduled task does not work (the function _GUICtrlListView_ClickItem does not click on the list item).
If I connect again phisically , the task works again.
Tested with AutoIt latest version.
Attachments (0)
Change History (2)
comment:1 Changed 2 years ago by anonymous
comment:2 Changed 2 years ago by mLipok
- Resolution set to No Bug
- Status changed from new to closed
This is normal MS Windows API behavior.
Take a look on:
https://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F
https://www.autoitscript.com/forum/topic/201285-maintain-active-desktop-after-rdp-disconnect/
btw.
Next time ask on the forum before you submit ticket.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
The issue can be reproduced with a scheduled task that launches the following script:
https://gist.github.com/rickupton/16f9a7b445a668c70c61
I'm using a x86 compiled exe of this script.