ContributionsMost RecentMost LikesSolutionsRe: Any idea why whole content of a text file is being considered as one line only? I think suddenly the line separators have changed in the file. Not sure why. AlexKaras - Should I use replace method to do that ? Can you kindly advise how to replace that in the whole file ? Thanks S.Geethanjali Any idea why whole content of a text file is being considered as one line only? hi, There is something weird which am not able to figure out. I write some content in a text file and search for a content in the file reading line by line. All the while it was working correctly. Suddenly the whole content of the file is considered as a single line and line count is provided as 1. Has anyone experienced this problem ? Appreciate any help here Thanks S.Geethanjali SolvedSetting the cursor to a specified row and column Hello I have to set my cursor position to a specific row and column for entering the data in a frame . This is in AS400 I was able to get the current cursor row and column by usingcursorCol andcursorRow. Is there any way to set the cursor to a specific row and column ? Thanks S.Geethanjali SolvedRe: Extracting Text from iseries (mainframe-green screen) applications hi I have resolved this issue. I tried OCR, but that didnot help me much because it provided me a chunk of data from the screen and I felt it really difficult to extract the specific data. Not sure if it had more effective ways The solution which worked out for me was Used text recognition in order to recognise the AS400 window. Used key strokes for keying in the data used the feature ( Edit - Send to scratch pad) option in AS400 after which I recogonised that scratch pad window to get the details displayed. Since the positions and length are fixed I used relative positioning and length to extract the data. Tried for couple of screens, it has worked.Have to see how it progresses. Re: Extracting Text from iseries (mainframe-green screen) applications This is interesting .. I might have to experiment a bit . While I try to enable the old OCR - it mentions that it is conflicting with some other addins.. So not sure if installing this will create some issues to any other addins. - Any thoughts here ? I was trying to use region check point . but since it compares pixel by pixel, would I be able to compare the text displayed ? - I have not tried it but since I was skeptical i didnot proceed. Other option of yours is very interesting and challenging too.. Let me see if I can try that out Thanks very much for your thoughts on this issue. Thanks S.Geethanjali Re: Extracting Text from iseries (mainframe-green screen) applications Hello, Thanks very much for your reply.. are there methods to extract text with the give rowid and columnid from the mainframe screen ? I don't have Intelligent Quality add in installed. Is there any other way to do it or do we only require OCR to be enabled ? Thanks very much Thanks S.Geethanjali Extracting Text from iseries (mainframe-green screen) applications Hello Has anyone have experience in extracting specific text from Mainframe applications. I have already enabled Text Recognition through which am able to automate entering values. But am struggling to extract the values for specific fields displayed in the screen. The whole screen is taken up as an object. Any thoughts on this will really help. Thanks S.Geethanjali SolvedRe: Getting "Java Run time Error" when writing to Excel Thanks very much for the reply. I had found the issue. It was because I didnot know that excel was taking the first row as 1 and not as 0. Getting "Java Run time Error" when writing to Excel Hi, Am trying to write my result back to an excel file. Am using the code as below .But am getting "Java Run time error". Any help here would be really helpful. let Excel = Sys.OleObject("Excel.Application"); var results = Excel.Workbooks.Open("Excel file Path name"); var sheet = results.Sheets.Item("Sheet1"); Excel.Cells.$set("Item" , 0, 18, "Generate Claim Number"); I have also tried sheet.Cells.$set("Item" , 0, 18, "Generate Claim Number"); sheet.Cells.Item(0, 18).Value = "Generate Claim Number"; SolvedRe: Not able to identify an object in screen This issue has been resolved now after I started to refer to full name of the objects from object explorer.