blackmarket Posted July 20, 2014 Share Posted July 20, 2014 (edited) I am trying to create a popup that shows all of the items below in the script to show up as checkboxes that allow the user to check one of them, or to be able to select all. Below is part of my script. I am also looking for help in regards to creating it to also show tabs with different parts of the script on each tab. such as sets on first tab which includes the script below. another tab price adjustments, etc. I do not want the popup to disappear after the person chooses but instead run it. It is a beginning of a bot for a game I play, and creating it to initiate trades for the program.expandcollapse popup Func Sets() ; create a gui with multiple controls. Local $hGUI = GUICreate("Sets", 300, 200) ; Create a checkbox control. Local $idCheckbox1 = GUICtrlCreateCheckbox("5DN", 10, 10, 185, 25) Local $idCheckbox2 = GUICtrlCreateCheckbox("7E", 10, 10, 185, 25) Local $idCheckbox3 = GUICtrlCreateCheckbox("8ED", 10, 10, 185, 25) Local $idCheckbox4 = GUICtrlCreateCheckbox("9ED", 10, 10, 185, 25) Local $idCheckbox5 = GUICtrlCreateCheckbox("BOK", 10, 10, 185, 25) Local $idCheckbox6 = GUICtrlCreateCheckbox("AP", 10, 10, 185, 25) Local $idCheckbox7 = GUICtrlCreateCheckbox("IN", 10, 10, 185, 25) Local $idCheckbox8 = GUICtrlCreateCheckbox("PS", 10, 10, 185, 25) Local $idCheckbox9 = GUICtrlCreateCheckbox("OD", 10, 10, 185, 25) Local $idCheckbox10 = GUICtrlCreateCheckbox("TOR", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("JUD", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ONS", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("LGN", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("SCG", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("MRD", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DST", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("CHK", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("SOK", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("RAV", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("GPT", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DIS", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ICE", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("CSP", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("TSB", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("TSP", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("PLC", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("PRM", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("MI", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("VI", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("WL", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ST", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("UZ", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("BOO", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("FUT", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("10E", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("MED", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("LRW", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("EVG", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("MOR", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("VAN", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("SMH", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("EVE", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ME2", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ALA", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("TE", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("CON", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDC", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ARB", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("M10", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ME3", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("TDO", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ZEN", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("V09", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("EX", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("WWK", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ROE", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDE", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("H09", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("UL", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("M11", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("V10", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDF", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("SOM", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ME4", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("PD2", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("MBS", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("UD", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("NPH", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("CMD", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDG", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("M12", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDH", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("TD2", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("ISD", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("V11", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("MM", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("NE", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("PR", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DKA", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDI", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("AVR", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("PD3", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("M13", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("V12", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("PC1", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("PC2", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("RTR", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDJ", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("GTC", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDK", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DGM", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("MMA", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("M14", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("THS", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("V13", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDL", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("C13", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("BNG", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("JOU", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("DDM", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("VMA", 10, 10, 185, 25) Local $idCheckbox = GUICtrlCreateCheckbox("M15", 10, 10, 185, 25) exampleset a [] set b [] set c[]and so on and so on but not to close the application. Edited July 20, 2014 by Melba23 Added code tags Link to comment Share on other sites More sharing options...
somdcomputerguy Posted July 20, 2014 Share Posted July 20, 2014 You didn't read the rules, No Game Automation. You posted in the wrong section too. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 20, 2014 Moderators Share Posted July 20, 2014 blackmarket,Triple fail I am afraid: - 1. somdcomputerguy is quite right - please read the Forum rules (the link is also at bottom right of each page) - particularly the bit about not discussing game automation - before you post again.- 2. Please pay attention to where you post - the "Examples" section where you started this thread is clearly marked: "This is NOT a general support forum!". I have moved it for you, but would ask you to be more careful in future.- 3. When you post code please use Code tags - see here how to do it. Then you get a scrolling box and syntax colouring as you can see above now I have added the tags.So it will not be a surprise that the thread is now locked. But welcome to the AutoIt forum - and see you soon with a legitimate question I hope. M23 232showtime 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts