From: ram@zedat.fu-berlin.de   
      
   Borax Man wrote or quoted:   
   >For example, at work, I often have to do repetive work (such as generate   
   >specifications). This involves a lot of bring up dialog boxes, clicking   
   >options, saving files, changing filenames, over and over and over again.   
      
    On Windows one also can access the screen programmatically with code   
    that goes somewhat like, "If there is a dialog of this class on the   
    screen, then press its [OK] button. Wait one second. Wait until a   
    Window with 'editor' in its title comes up. Then press [Ctrl]-[F]."   
      
    This kind of programming is what AutoHotKey (AHK) on Windows   
    was made for, but it's also possible from other programming   
    languages (like Python) on Windows. When using AHK, you can   
    set up a keyboard shortcut to start such code. AHK examples:   
      
   ^F16:: ; whenever Ctrl-F16 is pressed:   
   Send, `q ; press q   
   Sleep, 250 ; wait 0.25 seconds   
   Send {F2} ; press F2   
      
   F17::   
   WinGetPos, winWidth, winHeight, , , A ; get position of active window   
   if ( winWidth == -4 and winHeight == -4) { . . .   
      
    Disadvantages: You have to take time to actually write such code,   
    and there's some risk that it inadvertently might press a wrong   
    button with unforeseeable consequences.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|