Tazmono Posted November 3, 2023 Share Posted November 3, 2023 How hard would it be to make a small GUI that has 4-5 user inputs that would import the user input to a text file stored within a folder ???? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 3, 2023 Moderators Share Posted November 3, 2023 Moved to the appropriate AutoIt General Help and Support forum, as the AutoIt Example Scripts forum very clearly states: Quote Share your cool AutoIt scripts, UDFs and applications with others. Do not post general support questions here, instead use the AutoIt Help and Support forums. Moderation Team 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...
Moderators Melba23 Posted November 3, 2023 Moderators Share Posted November 3, 2023 Tazmono, Welcome to the AutoIt forums. Not very hard to do at all. Look at the following functions in the Help file and see what you can come up with: GUICreate, GUICtrlCreateInput, GUICtrlCreateButton, FileWrite. If you get stuck, you know where we are. 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...
Tazmono Posted November 3, 2023 Author Share Posted November 3, 2023 Yep working on it now ty Link to comment Share on other sites More sharing options...
Andreik Posted November 3, 2023 Share Posted November 3, 2023 (edited) 38 minutes ago, Tazmono said: How hard would it be to make a small GUI that has 4-5 user inputs that would import the user input to a text file stored within a folder ???? For most of us would be trivial but for someone not familiar with AutoIt or programming in general might be a little bit of effort. Take a look in help file at GUICreate(), GUICtrlCreateInput(), GUICtrlRead() and file operation functions. All these comes with basic examples, try something and if you encounter issues just post the code and we can assist you. I'll give you a start with a template GUI but you will have to implement the part where data is written in the file. $hMain = GUICreate('Test', 200, 200) $cInput1 = GUICtrlCreateInput('', 10, 10, 180, 20) $cInput2 = GUICtrlCreateInput('', 10, 40, 180, 20) $cInput3 = GUICtrlCreateInput('', 10, 70, 180, 20) $cInput4 = GUICtrlCreateInput('', 10, 100, 180, 20) $cInput5 = GUICtrlCreateInput('', 10, 130, 180, 20) $cSave = GUICtrlCreateButton('Save', 50, 160, 100, 30) GUISetState(@SW_SHOW, $hMain) While True Switch GUIGetMsg() Case -3 ; GUI_EVENT_CLOSE Exit Case $cSave ; Read the values from each input using GUICtrlRead() function ; Open the file with FileOpen(), write the read values to file using FileWrite() ; or FileWriteLine() and the close the file with FileClose(). EndSwitch WEnd Edited November 3, 2023 by Andreik When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Tazmono Posted November 3, 2023 Author Share Posted November 3, 2023 Ye im 100 new to this , figured this would be a good place to start learning , im pretty good at looking a code structure and seeing what makes it functions and how it works . Changing things then running them , taking things out to see how they fail etc Link to comment Share on other sites More sharing options...
Tazmono Posted November 3, 2023 Author Share Posted November 3, 2023 makes it so i can read the the functions what they do , then mimic it in a prebuilt file to understand them better argumentum 1 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