Chuckero Posted July 5, 2016 Posted July 5, 2016 Hi guys, I'm trying to make a script to work 24/7 in a Amazon virtual machine. My script automatizes very simple tasks like receive some information from a software, after that, it clicks and enters values in a TextField in another software. Everything is working fine in my computer, but not in the VPS. In really, the VPS works only when the Windows Remote Desktop is maximized and my mouse is over the window. When my mouse is not over the window or the remote connection is off, the click's functions not work. The destiny software uses just a graphic canvas, there are no controls. There are another way to click in the canvas without mouse? So, how to make the VPS emulate clicks when there is no mouse? Is there a virtual mouse that I can install in the VPS? Some info: VPS: t2.micro with Windows Server 2012 R2. Thanks in advance
Developers Jos Posted July 5, 2016 Developers Posted July 5, 2016 40 minutes ago, Chuckero said: There are another way to click in the canvas without mouse? Not without the use of controls. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
spudw2k Posted July 5, 2016 Posted July 5, 2016 Wouldn't MouseClick do it? Of course, I wouldn't recommend it as it relies on coordinates which could be unreliable. Controls are the way to go, but if there are no controls, not sure what alternatives there are. Also, if your script relies on an RDP being open to send the clicks then MouseClick won't work from a locked session. You'd have to do something along the lines of VNC/iLO/other console over IP solution to leave the session unlocked. Not a fan of that either from a security perspective. Best be darn sure your implementation is as secure as can be so as other can hijack the remote control. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Chuckero Posted July 13, 2016 Author Posted July 13, 2016 (edited) Hi people, Apparently this is a possible answer:https://social.technet.microsoft.com/Forums/pt-BR/647e8a1a-b164-4050-a9d7-bf6025a77638/how-to-enable-the-interface-gui-permanently-in-windows-2012-r2?forum=winserver8gen Make a virtual screen by a VNC server or a VNC client pointing to itself. I don't know another software that makes a virtual screen. Edited July 13, 2016 by Chuckero
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now