mahi123 Posted May 24, 2019 Posted May 24, 2019 Hi, When I run autoit script in remote vdi, it does not work when I minimize the window of the remote desktop. How do I solve this problem? I want the scripts to run even when I am not logged in to that machine or minimized the remote desktop window. I cannot change codes at this moment. so any other advice?
jdelaney Posted May 24, 2019 Posted May 24, 2019 https://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
mahi123 Posted May 24, 2019 Author Posted May 24, 2019 any other alternative than modifying the code? it's too late to do it as i have to present.
jdelaney Posted May 24, 2019 Posted May 24, 2019 (edited) Don't lock the desktop, and don't minimize the client. Edited May 24, 2019 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
mahi123 Posted May 24, 2019 Author Posted May 24, 2019 I have a great solution. Use cisco remote desktop manager and connect to your remote vdi. Then you can minimize it and script runs perfect.
jdelaney Posted May 25, 2019 Posted May 25, 2019 If you want to pay for something you can easily script around for free, more power to you IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
argumentum Posted May 25, 2019 Posted May 25, 2019 (edited) On 5/25/2019 at 3:35 AM, mahi123 said: I used free version of cisco desktop manager Expand So, your passwords are in the cloud. And nowadays every "service in the cloud" is hack free by strong and secure measures. Looks like a nice app. Edit: Running the app and it has a local data source Edited May 25, 2019 by argumentum tested out the app. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
jchd Posted May 25, 2019 Posted May 25, 2019 On 5/25/2019 at 9:34 AM, argumentum said: And nowadays every "service in the cloud" is hack free by strong and secure measures Expand Bitter humor or blind trust? Reveal hidden contents This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
Developers Jos Posted May 25, 2019 Developers Posted May 25, 2019 On 5/25/2019 at 11:13 AM, jchd said: Bitter humor or blind trust? Expand ... I can think of an other more appropriate option but that would be rude. 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.
argumentum Posted May 25, 2019 Posted May 25, 2019 ..I don't mean to be .. that you're thinking. In my view, regarding online stuff, I don't trust blindly any of it. I can not know when a heartbeat bug or a breach will occur. And I can not give more examples, as I could get in trouble by just hinting. I rather have RDP access in house, and as unusual as possible. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted May 25, 2019 Posted May 25, 2019 (edited) On 5/24/2019 at 8:29 PM, mahi123 said: run autoit script in remote vdi Expand What I've done to run scripts on executable programs and click-click the windows, is to have a console user auto-login and run my scripts from there. When I need to interact with the session, I shadow it. All this is done in a vm where no one can plug a monitor or keyboard to it, as is a vm. Maybe you can do this setup, and not even worry that the untended PC rebooted or what not, since the session will always run if the vm is turned on. My 2 cents PS: I even wrote me a script to make it simpler ( https://www.autoitscript.com/forum/files/file/477-rdpshadow-utility/ ) Edited May 25, 2019 by argumentum added a link to a utility Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
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