Contributions
Re: How to get a specific value from a specific grid row, column using Python?
rraghvani, thanks for reiterating the use of wItem. I encountered errors on this when I first started using it then realized that I was using it as wItem( ) instead of wItem[ ] since I was scripting in Python.144Views0likes0CommentsRe: How to get a specific value from a specific grid row, column using Python?
rraghvani, Here are the Extended Properties and as far as Methods, there's a long list of MFC methods for CCmdTarget_xxx, CObject_xxx and CWnd_xxx. When I do a keyword search for, "get", the methods I get back are from the CWnd_xxx list. I've tried "object.CWnd_GetWindowTextA1()" using the expected strings as params but doesn't seem to work. I maybe using this method incorrectly, though. Fig 1 - Object's Extended Properties196Views0likes0CommentsHow to get a specific value from a specific grid row, column using Python?
I've been trying to get a value from a grid's specific location (row, column) using Python but seems to struggle finding the correct method. So far, the closest method I found is .SelectItem(), but it returns the row's entire value as one long string without white spaces. In javascript, I was easily able to achieve this using the .wItem(row, column) method. Would appreciate any leads.Solved233Views0likes4CommentsCreating a Script Unit Template
Currently, when a new Script unit is added a blank page is displayed. Since we have a style/formatting guide that includes commented blocks for script headers and function descriptions (see below example), is there a way to create a Script unit template that includes these by default everytime a new Script is added? Example 1 - Script Header /************************************** Information about script, inclusions, constants etcentered here. **************************************/ Example 2 - Function Header /*F************************************/ Brief info on function, param, etc entered here /**************************************/ Thanks in advance.Solved1.2KViews0likes2CommentsCheckProperty on "wText" with cmpEqual intermittently fails
I have a text field that I enter incremental numerical values in and send to the firmware after each increment. In between increments, I do get a data from the firmware and compare the returned value to the last sent data. However, even though the returned value is same as the last sent, aqObject.CheckProperty(Object, "wText", cmpEqual, lastdata) sometimes fails and sometimes passes. Refer to attachment for an example.873Views0likes1Comment