|
Curt
|
 |
« on: October 10, 2008, 03:00:39 PM » |
|
I need to record and play a macro, but all the programs I have found (many!) can do way too much for my need, and will confuse me more, than help me. I only need this one 'Windows Media Player 11' "next >"-button to be clicked every twentieth second for maybe half a day. That's all. Like a micro-"ClickOff"
Any ideas to make my little idea grow a lot more useful?
|
|
|
|
« Last Edit: October 10, 2008, 04:50:38 PM by Curt »
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|
Darwin
|
 |
« Reply #1 on: October 10, 2008, 03:23:09 PM » |
|
Sounds like it might be a coding snack challenge for skrommel... Or if you want to try this yourself, have you looked at AceMacro?
|
|
|
|
« Last Edit: October 10, 2008, 03:24:56 PM by Darwin »
|
Logged
|
"Some people have a way with words, other people,... oh... have not way" - Steve Martin
|
|
|
|
jgpaiva
|
 |
« Reply #2 on: October 10, 2008, 04:01:59 PM » |
|
Darwin: there isn't much information about acemacro on the page you linked, and apparently the owner site of acemacro is down 
|
|
|
|
|
Logged
|
|
|
|
|
|
Darwin
|
 |
« Reply #3 on: October 10, 2008, 04:13:47 PM » |
|
Weird - it seems to be working here. I should clarify that I haven't tired AceMacro...
|
|
|
|
|
Logged
|
"Some people have a way with words, other people,... oh... have not way" - Steve Martin
|
|
|
|
jgpaiva
|
 |
« Reply #4 on: October 10, 2008, 04:17:23 PM » |
|
Hey, it's working now here also! Strange 
|
|
|
|
|
Logged
|
|
|
|
|
Curt
|
 |
« Reply #5 on: October 10, 2008, 04:47:44 PM » |
|
I did try AceMacro before I posted, and I really don't like it - I don't think the author ever tried to finish it. My major problem with it is that I can't make it understand that the mouse not is to be be moved from somewhere (a) to somewhere else (b), but should stay at a. Of course the problem could be me and not the program, but the result is the same, isn't it. Anyway, I also tried MacroExpress, but it is far too complicated for me. I will have to study at uni before I can figure out how to handle such an expert. And in general all experts are too complicated for me, and the uni won't have me!
I need a VERY simple 'auto-clicker'.
|
|
|
|
« Last Edit: October 10, 2008, 04:56:18 PM by Curt »
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|
Curt
|
 |
« Reply #6 on: October 10, 2008, 05:46:47 PM » |
|
Click this WMP button every 20'th second:  That's it.
|
|
|
|
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|
jgpaiva
|
 |
« Reply #7 on: October 10, 2008, 05:56:46 PM » |
|
Curt: see if this will do it for you: I didn't use the "click button" method, because that would require the window to be open, and to be the foreground window. So, I just made it send the "media next" keypress instead. It should acomplish pretty much the same.
|
|
|
|
Logged
|
|
|
|
|
Curt
|
 |
« Reply #8 on: October 10, 2008, 06:00:29 PM » |
|
- so I guess I will have to close down AIMP2 when I am using pressnext for WMP??
|
|
|
|
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|
jgpaiva
|
 |
« Reply #9 on: October 10, 2008, 06:03:42 PM » |
|
Oh.. I hadn't thought you might have another player open. I could make it so that it clicks the button every 20 seconds, but then you couldn't use the mouse.. Maybe someone more knowledgeable should step in  (skrommel?  )
|
|
|
|
|
Logged
|
|
|
|
|
Curt
|
 |
« Reply #10 on: October 10, 2008, 06:23:51 PM » |
|
- so I guess I will have to close down AIMP2 when I am using pressnext for WMP??
- yes, that is the price. A terrible high cost! The situation is that I have downloaded a couple of thousand DRM protected music files that each need to be activated online, in order to be played without any hassle. It is unbearable to have to use the mouse several times for each and every track, so I wanted to automate the procedure, and also to make it happen in a hurry - hence the twenty seconds. The reason I am using was trying to use AIMP2 at the same time is of course that it is NOT nice to listen to ten-seconds clips all the time...., and with two players at the same time I was hoping just to turn down the sound for WMP, and listen to AIMP2. But I guess I will survive a little silence! Thanks a lot, jgpaiva, it's working exactly as I asked for.
|
|
|
|
« Last Edit: October 10, 2008, 06:37:44 PM by Curt »
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|
skrommel
|
 |
« Reply #11 on: October 10, 2008, 07:16:56 PM » |
|
 If you have programmed your media button for something else... Skrommel [ copy or print] ;NextWmp.ahk ;Skrommel @ 2008 Loop { PostMessage,0x111,18811,0,,ahk_class WMPlayerApp Sleep,20000 }
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Curt
|
 |
« Reply #13 on: October 11, 2008, 05:38:59 AM » |
|
Thanks a lot, skrommel - again again! 
|
|
|
|
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|
bft_chromeguy
|
 |
« Reply #14 on: October 26, 2008, 08:07:41 PM » |
|
If you decide you need more power, try GhostMouse. It can record mouse movement & clicks, and play them back.
|
|
|
|
|
Logged
|
|
|
|
|
Curt
|
 |
« Reply #15 on: October 27, 2008, 04:47:16 PM » |
|
Curt: see if this will do it for you: @ jgpaivaI have created myself yet another problem. I was so pleased with the selection of music files I was offered, that my drm protected collection now is 12.000+ files - which ALL need to be activated one by one!!! Can you make the file wait 10 seconds, instead of 20, please? 12.000 x 10 seconds = 33.3 hours less! 
|
|
|
|
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|
jgpaiva
|
 |
« Reply #16 on: October 27, 2008, 06:02:00 PM » |
|
@curt: don't you prefer skrommel's version? All you need to do is change the 20000 to 10000  (it's in milliseconds, so, 10*1000)
|
|
|
|
|
Logged
|
|
|
|
|
Curt
|
 |
« Reply #17 on: October 28, 2008, 04:56:21 AM » |
|
- skrommel's version doesn't work  ... when WMP is minimized to the special task bar version: 
|
|
|
|
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|
jgpaiva
|
 |
« Reply #18 on: October 28, 2008, 05:01:35 AM » |
|
Oh, ok  But if my version works, you only have to change the 20000 to 10000 and you should be ok!
|
|
|
|
|
Logged
|
|
|
|
|
rjbull
|
 |
« Reply #19 on: October 30, 2008, 04:54:24 AM » |
|
Probably too late to the party, but even the last free version of PTFB appears to do this. At least, it's in the docs of v.1.06.3.1. I haven't tried it as I'm on PTFT Pro (shareware) now. Might also be worth trying WinMacro, freeware and very small, but I haven't tried that either. You have to open WinMacro's Options screen, where it gives you the ability to set a number of repetions. The box will hold nine digits, which should be plenty... WinMacro is mentioned on The Portable Freeware Collection.
|
|
|
|
« Last Edit: October 30, 2008, 05:07:58 AM by rjbull »
|
Logged
|
|
|
|
|
Curt
|
 |
« Reply #20 on: November 02, 2008, 08:09:22 AM » |
|
I have found a much easier way! The trick is to use WinAmp, somehow it will activate the tracks without asking me anything!  But still I need to click "Next" every seven, eight or ten seconds, or so. Can anyone tell me how to chnange skrommel's version from Win MediaPlayer into WinAmp 5.5 Pro, please? Oh, ok  But if my version works, you only have to change the 20000 to 10000 and you should be ok! ehmm... you probably forgot you compiled it to be an exe file, and not an ahk? ;-) - but your version works with every media player. 
|
|
|
|
« Last Edit: November 02, 2008, 08:13:48 AM by Curt »
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|
jgpaiva
|
 |
« Reply #21 on: November 02, 2008, 08:50:23 AM » |
|
Curt: as you mentioned skrommel's version didn't work with media player minimized, I thought you were able to use it in ahk form. I can't modify skrommel's version to use winamp, but if you change the shortcut for "next" in winamp to ctrl+alt+shift+n (options -> preferences -> global hotkeys: select "enable", and select action as "playback : next in playlist", then select the "hotkey" box and press ctrl+alt+shift+n, and then press "add"), the following will work: (compiled version attached to this post) PS: sorry for not finding a simpler solution for this 
|
|
|
|
Logged
|
|
|
|
|
scancode
|
 |
« Reply #22 on: November 02, 2008, 08:54:12 AM » |
|
I made a Winamp-specific thingy, doesn't need to change shortcuts or anything.  Binary and VB6 source: WinampPresser.rar (24.11 KB - downloaded 175 times.)NEW v1.1* added pause button, and fixed a little scrollbar button  Binary and VB6 source: WinampPresserv1.1.rar (23.95 KB - downloaded 132 times.) Hope you like it.
|
|
|
|
« Last Edit: November 02, 2008, 11:26:19 AM by scancode »
|
Logged
|
|
|
|
|
jgpaiva
|
 |
« Reply #23 on: November 02, 2008, 08:55:40 AM » |
|
Cool, scancode! I knew there should be a better solution for this  Now that's the spirit 
|
|
|
|
|
Logged
|
|
|
|
|
Curt
|
 |
« Reply #24 on: November 02, 2008, 10:53:03 AM » |
|
I made a Winamp-specific thingy, doesn't need to change shortcuts or anything.
- wow, Matias, what a fine solution!  Thanks!! Edited: will it take much to give it a pause / disable -button, please?
|
|
|
|
« Last Edit: November 02, 2008, 10:59:00 AM by Curt »
|
Logged
|
Remember what you said, because in a day or two, I'll have a witty and blistering retort! You'll be devastated THEN!
|
|
|
|