Zoli1972 Posted April 9, 2007 Posted April 9, 2007 (edited) Hi, I would like to write a little prog that controls Winamp's Streamripper plugin, because it has no hotkey function. I have already written a version, which does that by clicking onto the buttons in streamripper by using the mouseclick() function. The problem is, if Winamp has been minimized, its window cannot be restored by an AutoIt-command, to do the click, no matter what kind of command that is. I've tried everything. It doesn't resize its main window, neither streamripper. Only the playlist window. Now I'd like to write a new version, which clicks on the "record" button of streamripper by using the ControlClick() function, while streamripper has been minimized. Will this work? I don't have the control handle informations for the start/stop buttons of streamripper, so I also need a tool or command to read them out. That's the code of the old version: $PosOld = MouseGetPos () WinActivate ("Winamp") WinSetState("Winamp", "", @SW_RESTORE) WinActivate("Streamripper") WinWaitActive ("Streamripper") $Offset = WinGetCaretPos () $Pos = MouseGetPos () MouseClick("Left", 35+$Offset[0], 135+$Offset[1], 1, 0) MouseMove($PosOld[0], $PosOld[1], 0) Plz, help. Zoli Edited April 9, 2007 by Zoli19721
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now