jdelaney Posted April 19, 2012 Share Posted April 19, 2012 When running a script through remote desktop, the autorun of CD's is disabled (I went through all the msft docs to configure RDP through options, and the config file...nothing about autorun). Is there a way to tell when you are, or are not, running the script through RDP? 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. Link to comment Share on other sites More sharing options...
Zedna Posted April 19, 2012 Share Posted April 19, 2012 I saw some little script for this in Autoit snippets topic ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
hannes08 Posted April 19, 2012 Share Posted April 19, 2012 (edited) Check the environment Variables, e.g. for SESSIONNAME If EnvGet('SESSIONNAME') <> "" Then ;You're in a RDP Session! EndIf Edited April 19, 2012 by hannes08 Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
jdelaney Posted April 19, 2012 Author Share Posted April 19, 2012 session name, perfect! one is console (local), other has rdp and gibberish. Thanks. 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. Link to comment Share on other sites More sharing options...
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