My post is more architecture related than the actual autoit script.
Currently I have a java tool that makes a connection to a azure Windows VM using WINRM.
Then I "grep" the session ID of RDP and using psexec I execute my autoit script on the session ID of the RDP (This assumes that I need to have already a RDP connection established).
The script runs perfectly when I have a RDP session maximized/opened. If I minimize the RDP window some commands do not work, as for example the Send command.
I do understand that it has to do with the window not being active, even though the script is executed remotely.
My goal is to be able to run the autoit scripts with no limitations, like I was running in my local machine.
One important thing, all the flow is being triggered from a linux machine with no GUI. So that is why, I am using a jar file to start the winrm connection.
So to sum up:
starting server: centos with no GUI
remote server: azure win 10
goal: from starting server, launch autoit script that is on remote server
Its Possible To auto Login with autoit script ?
Good evening guys,
i'm having a problem, not about the code (i'm only thinking about it at the moment) but about the way i can do it.
I have a webpage (photo N.1) it has some elements in it.
I need only the table (photo N.2), looking at the code and with _IEFunctions i can easy find the table but how i can i "copy" it?
As i said it's really easy to found with a script but what should i do then? Copy the source? And how can i display it to the user?
In my head i'd like to display it inside a GUI, is that possible?
Thanks in advance
Edit: Posted 2 times same photo. Now should be OK
With ProcessList ( ["name"] ) we are able to get the running process list from the local machine.
Is there anyway to get the list from Remote machine, more precisely to get to know the status whether a particular application is running or not on remote machine using AutoIT?
We can implement through PSList.exe, but again we need to parse the text of it to read the output.
Is there any direct UDF in AutoIT?
How can i add sleep command using internet speed.
If my internet speed is 40-50Kbps then sleep for 5 seconds,
If my internet speed is 30-40Kbps then sleep for 4 seconds,
If my internet speed is 20-30Kbps then sleep for 3 seconds.
*Sleep command used bitween my costom script, Example,
RunWait("rasdial /disconnect", "", @SW_HIDE) ; Stop connect from start
RunWait("rasdial Internet", "", @SW_HIDE) ; Connect again