Jump to content

MisterPseudonym

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by MisterPseudonym

  1. :^/ I suggest starting with the help file AutoIt.chm, and poking through all of the example files in the folder Example/Helpfile. They are there to illustrate how to do just about anything autoit can do. Most of the example files consist of just enough code to open a widow with whatever feature is being demonstrated. What little code there is has ample comments to explain what most lines do. Look through them and try writing your own variations on them, incorporating stuff you've read about earlier into whatever you're tinkering with now. In short, just play aroung making scripts for the fun of it; the best way to learn is by doing.
  2. :^/ As with most AutoIt projects, my project is intended to automate routine, repetative functions. I've tested in extensively at home, but at work there is an uxpected hurdle. The application at work will pop up numberous input requestors, and my script is able to recognize them by their titles, then to send the appropriate data and keystrokes to anwser them. They all seem to work well except for one. It asks the user to make a decision based upon information presented in the requestor. I've read in other threads on this board how to capture text from the window, then to parse it with StringLeft, StringRight, StringMid, and so on. I've even read threads that discuss capturing hidden text. However, that's not enough. You see, I brought AutoIt Window Info to bear on that mutant requestor, and it seems that the requestor in question has no visible nor hidden text. Mind you, I can read it just as plain as day with my human eyes, but the text isn't classified as either visible nor hidden. Is there a third class of text? If so, how would I get AutoIt to read it? This hurdle is critical; without being able to capture and analyze the text, my AutoIt project cannot determine whether to stop or keep going, and that's a major shortcoming. Thanks in advance.
  3. :^/ Okay, the script you posted was longer than the pane it appeared in, and I missed out the bit at the end. That's corrected now, and I put the underscores back. Now, the radio button text still has the white background, while the buttons themselves have separate gray backgrounds. The group label is still invisible. Screen shot in a minute. [Edit] I'll try the newest AutoIt, too. [Edit 2] :^o Hokey Smokes, Bullwinkle! That did it. ;^) Thanks, dude; I appreciate it. :^/ The only trouble is that at work we have an earlier version. Any executable I create here should work fine there, but compiling the script there wouldn't work... But that's a separate challenge. Thanks for your help again. [Edit 3] :^( Wait... the backgrounds for the radio buttons themselves are still little gray squares... :^/ Anyway, I'm happy enough for now. I've got other things to do today, so ciao for now!
  4. :^/ I'm running version 3.1.1.0 Your new script gets an error code with the function _GUICtrlCreateRadio -it seems that it's an "Unknown Function Name." The underscore in front is different from my original script. [Edit] :^( I tried editing the undescores out. The script runs now, but now not only is the radio text background transparant, the radio text and radio gadgets themselves are transparent, as is the group label. As shown here: :^/ That I could already do....
  5. ;^) I'm using the latest version, version 3. :^/ I'd have thought that if this were a bug, it'd have been noticed and fixed by now. Does your example work on your setup? Which OS are you using?
  6. :^/ Thanks for that, but on my Win2000 machine I get this: The background behind the radio text is still white instead of the background image showing through.
  7. ;^) Here's the code below. It's quick and dirty, and won't exit on its own, but it'll illustrate the concept.
  8. :^/ Here's a screen shot of a demo I cooked up to show you. The background for each lable is grey, covering over the background image. The background for radio button 2 uses the line: GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) -Which makes it white, instead of truly transparant. The background for radio button 3 uses the line: GUICtrlSetBkColor(-1, $WS_EX_TRANSPARENT) -Which makes it black, instead of truly transparent. I suspect that there is another flag that needs to be set, or something. The effect I want is for the text to appear with the backdrop visible behind the letters, instead of being masked out. The added text in the second image illustrates the concept, though I had to use a paint program to do it.... :^/ Soooo, how does one do that? ;^) Thanks.
  9. :^/ I'm running Windows® 2000, and from your script I get an AutoIt Error: Line 18, Case $GUI_EVENT_CLOSE Error: "Case" statement with no matching "Select" statement.
×
×
  • Create New...