flabes Posted April 21, 2013 Share Posted April 21, 2013 I am working myself into the Samples in order to understand what it does. I mixed 2 Samples. 1. write tabel into array 2. Stringsplit to get it into the clipboard I would like wo have e.g. row 2 col 4 on may Clip But nothing works - what is wrong with my script ??? #include <Array.au3> $oIE = _IE_Example ("table") $oTable = _IETableGetCollection ($oIE, 0) $aTableData = _IETableWriteToArray ($oTable, True) _ArrayDisplay($aTableData) $pageArray = StringSplit($aTableData, @CRLF) ClipPut($pageArray & " additional text") MsgBox(0, "Clipboard contains:", ClipGet()) Thanks for Help P.S. This is my 1st Question and i hope it is not against any Rule If so let me know how to do it. By the way:My english is miserable Link to comment Share on other sites More sharing options...
kylomas Posted April 21, 2013 Share Posted April 21, 2013 (edited) flabes, Try this...see the comments in the code #include <Array.au3> #include <ie.au3> ; <------- you also need this include $oIE = _IE_Example("table") $oTable = _IETableGetCollection($oIE, 0) local $aTableData = _IETableWriteToArray($oTable, True) _ArrayDisplay($aTableData) ;$pageArray = StringSplit($aTableData, @CRLF) ; <----- this is not possible, what are you intending??? ;ClipPut($pageArray & " additional text") ; <----- because of previous line ClipPut($atabledata[1][3] & " additional text") ; <----- row 2 (offset[1]) column 4 (offset[3]) arrays are zero based MsgBox(0, "Clipboard contains:", ClipGet()) Good Luck, kylomas edit: You will find a good tutorial about arrays on WIKI and you may want to spend some time reading the Help file. Edited April 21, 2013 by kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
flabes Posted April 24, 2013 Author Share Posted April 24, 2013 Thank you very much. It works! I have already spend a lot of time-but like to learn, but there was i point i could not get further. regards 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