sneakysmith12 Posted May 25, 2010 Share Posted May 25, 2010 So I want want data to go into different columns like you would with "a|B|c" etc; however, with variables such as $x + "|" + $y... Is this possible? How? My attempt, which failed (shortened to key items: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <GuiListView.au3> $listview = GUICtrlCreateListView(" X | Y ", 250, 20, 100, 200) Do $X = $X + 1 $Y = $Y - 5 Until $msg = $GUI_EVENT_CLOSE if $msg = $add Then $text = $x + $y _GUICtrlListView_AddItem($listview, $text) EndIf Yeah I'm not the greatest at DarkBasic either, but I'm good enough for a link :D A Thread of a W.I.P. that im making Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 25, 2010 Share Posted May 25, 2010 Look at "&" under Operators in the help file. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
sneakysmith12 Posted May 25, 2010 Author Share Posted May 25, 2010 Look at "&" under Operators in the help file.Works great! Just now the cell value is "X | Y" in the X column. Yeah I'm not the greatest at DarkBasic either, but I'm good enough for a link :D A Thread of a W.I.P. that im making Link to comment Share on other sites More sharing options...
sneakysmith12 Posted May 25, 2010 Author Share Posted May 25, 2010 Works great! Just now the cell value is "X | Y" in the X column.I got it to work using the GUICtrlCreateListViewItem command. Yeah I'm not the greatest at DarkBasic either, but I'm good enough for a link :D A Thread of a W.I.P. that im making Link to comment Share on other sites More sharing options...
sneakysmith12 Posted May 25, 2010 Author Share Posted May 25, 2010 Now I'm in the predicament of having all my items with no handle except for the last one. Is their any way around this? Yeah I'm not the greatest at DarkBasic either, but I'm good enough for a link :D A Thread of a W.I.P. that im making Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 25, 2010 Share Posted May 25, 2010 Now I'm in the predicament of having all my items with no handle except for the last one.Is their any way around this?You mean having a Dynamic Listview? and not keeping a variable name for all your items? if not can you elaborate on what you mean? [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
sneakysmith12 Posted May 26, 2010 Author Share Posted May 26, 2010 You mean having a Dynamic Listview? and not keeping a variable name for all your items? if not can you elaborate on what you mean?This is correct. Yeah I'm not the greatest at DarkBasic either, but I'm good enough for a link :D A Thread of a W.I.P. that im making Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 26, 2010 Share Posted May 26, 2010 if you're clicking on the items... GUIOnEventMode and @GUI_CtrlID will help, but otherwise, you can do _GUICtrl_ListView... pretty much any of those specifically the GetSel ones.. or GetItemCount.. might help. [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
sneakysmith12 Posted May 26, 2010 Author Share Posted May 26, 2010 Ok, so allow me to elaborate. I'd like to take any value x with time y. I want to take x and have it use a send key function based on the timer value of y. My instinct was to have a dynamic listview and figure out a way to read the listview from there. Is this correct? Or, is their an easier way to do this? I also want entries to be visible in the GUI, and be able to remove entries via a GUI. Yeah I'm not the greatest at DarkBasic either, but I'm good enough for a link :D A Thread of a W.I.P. that im making 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