ashraful089 Posted April 16, 2022 Share Posted April 16, 2022 ;123:456 ;678:234 ;456:765 ;231:435 This is the data into a text file, now i want to read the file and assign/ extract data into the variable. At first CordX = 123, CordY = 456 Second CordX = 678, CordY = 234 Third CordX = 456, CordY = 765 and ... there may have around 200 row of data, but currently i am using 30 row data only If possible help me to complete this script. thanks in advance cord.txt Link to comment Share on other sites More sharing options...
Moderators Solution Melba23 Posted April 16, 2022 Moderators Solution Share Posted April 16, 2022 ashraful089, And what have you tried that has not worked? 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...
ashraful089 Posted April 17, 2022 Author Share Posted April 17, 2022 Actually i did try to find but not getting how to read a text file line by line and extracting correct data and assign those data into 2 or 3 variable. Link to comment Share on other sites More sharing options...
ashraful089 Posted April 17, 2022 Author Share Posted April 17, 2022 ;123:456 ;678:234 ;456:765 ;231:435 This is the data into a text file, now i want to read the file and assign/ extract data into the variable. At first CordX = 123, CordY = 456 Second CordX = 678, CordY = 234 Third CordX = 456, CordY = 765 and ... there may have around 200 row of data, but currently i am using 30 row data only If possible help me to complete this script. thanks in advance Click Locations.txt Link to comment Share on other sites More sharing options...
Developers Jos Posted April 17, 2022 Developers Share Posted April 17, 2022 (edited) @ashraful089Why post a new topic while you are still on the same topic? Please Don't! Merged. Edited April 17, 2022 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ashraful089 Posted April 17, 2022 Author Share Posted April 17, 2022 @Jos The old one i pressed solved by mistake . so i created new one Thanks for your help. Link to comment Share on other sites More sharing options...
Musashi Posted April 17, 2022 Share Posted April 17, 2022 1 hour ago, ashraful089 said: This is the data into a text file, now i want to read the file and assign/ extract data into the variable. How does this differ from the question you already asked nearly 2 years ago ? https://www.autoitscript.com/forum/topic/203486-file-read/?do=findComment&comment=1461145 Werty and junkew 1 1 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
Nine Posted April 17, 2022 Share Posted April 17, 2022 Hmm, 2 years ago, first character was a # and now it is a ; Total new challenge ! Musashi and jchd 2 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
ashraful089 Posted April 21, 2022 Author Share Posted April 21, 2022 not new, i forgot it actually and i am not getting which variable consisting the data. i mean which variable i will use for next use 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