Luv Posted June 22, 2010 Share Posted June 22, 2010 Hello Again, This Time i want to ask how can i make a GUI box with start & finish buttons...and also a space to enter desired delay for certain function. for example i want to send 1 to a window..the GUI to have a start button that will start the script,end button to end the script,and finally a space to write in the desired delay for the send function. also will be happy if u can tell me how may i insert an image into that box..thxxx Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 22, 2010 Moderators Share Posted June 22, 2010 Luv, how can i make a GUI boxYou would use GUICreate and GUISetState, with start & finish buttonsincluding GUICtrlCreateButton twice a space to enter desired delayand GUICtrlCreateInput. the GUI to have a start button that will start the script,end button to end the script,and finally a space to write in the desired delay for the send functionYou use GUIGetMsg in a While...WEnd loop to detect user action on the controls you created earlier. how may i insert an image into that boxYou can use GUICtrlCreatePic, but you must disable the picture with GUICtrlSetState if any of the other controls overlap. Details of all of these commnds can be found in the Help file. ; -------- If, as I suspect, the above makes little or no sense to you at present, then you need to do a bit of studying before you continue. Reading the Help file (at least the first few sections - Using AutoIt, Tutorials and the first couple of References) will help you enormously. You should also look at the excellent tutorials that you will find here and here - you will find other tutorials in the Wiki (the link is at the top of the page). There are even video tutorials on YouTube if you prefer watching to reading. I know you want to start coding NOW, but a little study will save you a lot of trouble later on, believe me. When you have studied AutoIt for a while, try coding what you want yourself. You know where we are when you run into trouble. 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...
Luv Posted June 22, 2010 Author Share Posted June 22, 2010 there is no thank you button otherwise i would thank you Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 22, 2010 Moderators Share Posted June 22, 2010 Luv, A pleasure. 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...
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