

The text file may be smaller or larger than it was the last time the macro was run.

Would this be a more efficient / expeditious way to go rather than the repetitive mouse coord movements / clicks?ģ) My final question: How can one determine how many lines there are in a text file without "pre-processing" it in advance and incrementing a counter? Is there a command to determine this? I occasionally need to extract a random line from a text file. I'm told that "control" is the bread and butter of Macro Express, yet I can't find any sample macros that DO show examples (that even seem to be remotely relavant) of control. I see references to it in commands throughtout Macro Express Pro. But I digress.Ģ) Another thing I need to understand: What, exactly is "control"? What is a 'control event'? What is a 'Window control'? I see it referenced in PGM's "Macro Express Explained" - but never clearly (simply?) defined. I'm thinking a "coord file" would >greatly<< compact the overall code. Maybe a CSV file and invent a little syntax - so I can differentiate between a coord for a click on a radio button and a coordinate for a text insertion (comment). Take action based on the coord's purpose. Has anyone ever had success using a "coordinate file" for this sort of thing? How did you do it? I'm thinking if I put all the click / comment coordinates in a simple text file, and just process the text file. The good news is that every feedback / survey (per site) is filled out exactly the same way - every time. but it would be slick if there were a tool that would just register mouse click coords (and nothing else - no time delays, etc.). Of course manually harvesting the coordinates with the Mouse Locator is painstaking / tedious. Find the next mouse coord, click the radio button. Typiocal deviations are hitting the "Next" (page of form) button or entering occasional text here & there. Now I have a few questions:Īnd I repeat this over & over, moving from one question / statement on a form to the next. Probably 90% of this is selecting radio buttons on a web page "How would you rate the quality of the of the service you received?" - with 5 radio buttons, poor to excellent, etc. I'm spenidng more & more time writing MEP scripts to complete web forms.
