Rabbitman Posted December 19, 2010 Share Posted December 19, 2010 Hello! I have a few questions that I would like help on. 1: What is the function to create a dropdown list that is NOT a menu list? So justanormal dropdown in the middle of my GUI. 2: So when make my GUI with a drop down box, I'm going to add subsections. I will not need function for this I think I can figure that out. But let's say my script is... Dim $On = False Hotkeyset("{F2}", "Example) While 1 If $On = True Then Send("{Z down}") Sleep(10) Send{"Z up}") WEnd Func Example() If $On = False Then $on =True Else $On = False Endfunc And one of my options on the Dropdown box was "X", how would I make it so It presses X instead of Z? Those are all of my questions until I get answers. Also that script might not be perfect because I am on my iPhone so I don't have the script on my computer, but you get the idea. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 19, 2010 Moderators Share Posted December 19, 2010 Rabbitman,Dog eaten your Help file? Ans 1:$hCombo = GUICtrlCreateCombo(....)Ans 2: $sKey = GUICtrlRead($hCombo) Send("{" & $sKey & " down}")M23 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...
Rabbitman Posted December 20, 2010 Author Share Posted December 20, 2010 What? That is nowhere near what I'm asking for... But I figured it out a while ago. My new question is how do I make it so that instead of it being from a dropdown, it's from an input box, an then what I type is what comes out. Link to comment Share on other sites More sharing options...
shanet Posted December 20, 2010 Share Posted December 20, 2010 What? That is nowhere near what I'm asking for... But I figured it out a while ago. My new question is how do I make it so that instead of it being from a dropdown, it's from an input box, an then what I type is what comes out. You haven't included much info, have you? $texthandle = GUICtrlCreateInput("", 0, 0) ;the two 0's will be modified by you to fit your GUI While 1 $text = GUICtrlRead($texthandle) Dim $On = False Hotkeyset("{F2}", "Example) WEnd If $On = True Then Send("{" & $text & " down}") Sleep(10) Send{"" & $text & " up}") EndIf Func Example() If $On = False Then $on = True Else $On = False Endfunc Tell me if you have any problems with that. shanet [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 20, 2010 Moderators Share Posted December 20, 2010 What? That is nowhere near what I'm asking for...Then you should perhaps give rather more detail when asking questions. My new question is....I hope you can "figure it out" yourself or persuade someone else to help, because you will certainly not be getting any more help from me after that last reply! M23 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...
somdcomputerguy Posted December 20, 2010 Share Posted December 20, 2010 Hello! I have a few questions that I would like help on.1: What is the function to create a dropdown list that is NOT a menu list? So justanormal dropdown in the middle of my GUI.And one of my options on the Dropdown box was "X", how would I make it so It presses X instead of Z?Two helpful replies from two separate people given hereWhat? That is nowhere near what I'm asking for... But I figured it out a while ago. My new question is..I think your for your next question you should ask yourself, "How can I be more appreciative of basic help offered to me for my basic questions?" - 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...
sleepydvdr Posted December 20, 2010 Share Posted December 20, 2010 Did you notice that Melba23 is an AutoIt MVP? I worship those guys and it would be a good idea for you to do the same. #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
shanet Posted December 20, 2010 Share Posted December 20, 2010 Did you notice that Melba23 is an AutoIt MVP? I worship those guys and it would be a good idea for you to do the same.+1+1+10+100 [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm 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