ledigeine Posted May 15, 2012 Share Posted May 15, 2012 Ok I am trying to make this utility for work just to map drives, clear mapped drives and run an exe to install files from the mapped drives. So the way this kinda has to go is first they pick a folder, one of 3 radio buttons, based on the folder there are several version, pick a version, then pick a radio button for what country version of the software. In most cases that will be it and you can map the drives then run the exe. But if the FOLDER is the Shipped option i need it to also give me one more list to use. This extra list will be based on folder/version/country. Screen shots will help this make sense i hope. Here is the part of the UI im talking about, so when testassigned is set, that right most list should not display anything. Thats good. When shipped is picked, I need to figure out how to make a list show on the right. So the list has to be based off the Folder/version/country. Right now it looks like thats happening but i just set the list like this as an example. Any ideas how to fill this list based on each of those items? Link to comment Share on other sites More sharing options...
spudw2k Posted May 15, 2012 Share Posted May 15, 2012 (edited) You should be able to store the values in either an array or ini file. The logic (to me) would go like this. onclick event for radio, Clear ListView, Populate Listview based on data onclick listview, clear second listview, populate second listview based on data edit: Check out the GUi examples in the AutoIt extras folder to get started. Edited May 15, 2012 by spudw2k 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 BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
ledigeine Posted May 16, 2012 Author Share Posted May 16, 2012 Hmm ok yeah ive been avoiding array's because i dont totally get them yet. And i should add, based on each of these fields being set I will be pulling sections of a path from an XML file i created. Also i was asking a buddy at work, he suggested setting up a function for the main UI so the screen then the radio buttons and lists. Then a function for testassigned/testingapproved/shipped. So if one of those three options are enabled the function will fire off. I was having issues even thinking about how things should be setup so that helped a bit. 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