stavbuck Posted May 3, 2012 Posted May 3, 2012 Hi all I'm quite new to all this but having scrolled through the examples i'm still struggling in finding a way to get information about a user/computer in AD. What I want to do for example is type in a users name and it will bring information about that user i.e. users location, password status. Also I want to be able to type a computer name in and get the IP address, be able to clear temp files and apply hotfixes. If in the GUI I have radio buttons so I can just click computer or user and different windows appear with the information I want or if I could expand users and computers in AD and then double click an item for it to then input the information. I have attached an example GUI. I hope someone can shed some light on this for me. Steve
stormbreaker Posted May 3, 2012 Posted May 3, 2012 (edited) I hope someone can shed some light on this for me. Definitely, I will shed some on it... Firstly, don't expect anyone here to code for you. Post a sample and we can try to improve it. Secondly, here is a little advice:- Check for @Username and other system macros in help file- GUI programming can't be helped. Best source to refer is help file examples. Take your time studying their code and playing with it. For making your own GUI's Koda Designer is the best tool. Before I help you further, answer my question: Why did you hide the title-bar in the image you posted? Edited May 3, 2012 by MKISH ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
stavbuck Posted May 3, 2012 Author Posted May 3, 2012 Definitely, I will shed some on it... Firstly, don't expect anyone here to code for you. Post a sample and we can try to improve it. Secondly, here is a little advice:- Check for @Username and other system macros in help file- GUI programming can't be helped. Best source to refer is help file examples. Take your time studying their code and playing with it. For making your own GUI's Koda Designer is the best tool. Before I help you further, answer my question: Why did you hide the title-bar in the image you posted?Hi Thank you for your reply. I will look in the help file more and hopefully get to grips with this. The GUI is from a friend and the title bar contained his company name which he asked me to removed before I posted on here.
stavbuck Posted May 3, 2012 Author Posted May 3, 2012 Hi Thank you for your reply. I will look in the help file more and hopefully get to grips with this. The GUI is from a friend and the title bar contained his company name which he asked me to removed before I posted on here.
ProgAndy Posted May 3, 2012 Posted May 3, 2012 (edited) Hello,To access AD information you will need this UDF: http://autoitscript.com/forum/topic/106163-active-directory-udf/To run executables remotely, have a look at the PsTools (PsExec, PsShutdown, ...) Edited May 3, 2012 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
water Posted May 3, 2012 Posted May 3, 2012 If you have any questions regarding the Active Directory UDF please post in the "General Help & Support Thread".I will do my very best to answer your questions. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
stavbuck Posted May 3, 2012 Author Posted May 3, 2012 Thank you both for the replies, I will take a look at these. As you can see from the screen shot theres alot I want to do and I will let you know how i'm getting on with it.
water Posted May 3, 2012 Posted May 3, 2012 If you have a look at the example script section of the Active Directory UDF you will see a tool named "ADAT" (Active Directory Administration Tool).It is ugly but the concept was to split AD tasks to separate tabs and separate functions in the script. It's easy to add additional tasks by expanding the GUI and adding a new function. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
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