User Profile
Collapse
-
Thanks so much Stewart! That worked. How simple. I did have to use the 11 instead of either xlTypeLastCell or xlLastCell. I find that case always for me (like to saveAs to a cvs or whatever, I have to use the number code for cvs). You are successful with the text. Not sure why that would be that I have to use a number. Just curious, any ideas? -
How to add data into exisitng Excel file at next open row?
How can you determine the next open row in an existing Excel file such
that you can start adding data to the cells in that row? As in below,
I want a variable in place of the 6 (row 6 in the four ws1.Cells(x,1)
lines), but have no other way of knowing what row I am on besides
looking to the first free cell in column A. How to do? Examples I
see make it seem really complicated - this can't be that hard. ... -
This code worked
Code:from pywinauto.application import Application app = Application() app.start_(r'C:\temp\hallbig2.exe') app.Form1.Edit6.TypeKeys(r'C:\temp\input\Ea39j.txt') E_Value = "" while (E_Value == ""): app.Form1.Compute.Click() E_Value = app.Form1.Edit8.WindowText() print repr(E_Value) app.Kill_()Leave a comment:
-
No responses thus far... so is this impossible (doubt it)???? If so, could someone please verify? Just gotta know so we can re-think the concept and let client know. This is really a small piece to the puzzle, but getting this idea to work would make running numerous remediation scenarios a lot more efficient, less tedious.Leave a comment:
-
How to run an EXE with input arg, capture output?
Python 2.5, Windows XP.
I am not a programmer by training/education, and fairly new to using Python but am getting things to work... This really has me stumped - I think obviously over my head. Please excuse my likely obvious lack of finesse with coding and Python. Thanks for any help in adavance.
I could use help with this within the next 24 hours.
I have an exe (.bat file, too -- not sure which would...
No activity results to display
Show More
Leave a comment: