View Full Version : PowerDVD keys auto-repeating.
Ron
October 13th, 2002, 12:55 PM
You can check if Girder is sending to many keypresses by setting the target to the "edit" child class of notpad.exe.
Ron
October 13th, 2002, 12:55 PM
Or check 'only send to first match"...
Ron
October 13th, 2002, 12:55 PM
hehe, well that was my 666th post so it had to be wrong :evil:
Ron
October 13th, 2002, 12:55 PM
Yvonus,
Keyboard simulation isn't as easy as it might seem to be. Not all application support it, hell it isn't even really supported by windows. Thats why Girder implements 3 version of it. "Foreground version", "Targetted version", "Alternative Proc Targetted version". You have to try them all. Also what window or child you target can make a big difference. If non of these work you should try to find a different approach to the thing you want to do. for example command capture.
So please stop complaining about it. If anyone has a better method of sending keys i'm very eager to hear them.
<font size=-1>[ This Message was edited by: RonB on 2001-06-29 15:31 ]</font>
SteveV
October 13th, 2002, 12:55 PM
I had this same problem with PowerDVD. I don't think it's a Girder issue. I think the both the PowerDVD "Video Window" and Control Panel are seeing the keystokes being sent by Girder and doing weird things. In my case running the Girder command the sent the "F" key would results in the fast forward speed not incrementing correctly. More often than not it would jump too many steps.
Here's how I got around it:
1.) Create a MultiGroup and name it FF (or whatever)
2.) Add 2 commands to the MultiGroup
3.) Name the first command "Focus Video Window" and use the Window=>Set Focus action. Target the following PowerDVD window "CyberLink Video Window Class"
4.) Name the second command "Foward" and use the Keyboard action. Check the "Alternative Proc" check box, and enter F in the "Sentence" field. Click the "Target" button and make sure the "Send to Foreground Task" check box is checked.
You'll need to do same type of thing with FR. Also, I think a lot of these types of issues can be solved by enabling PowerDVDs "Show Icon in System Tray When Minimized" option. This hides the control panel when it is minimized and prevents many of these multiple command issues. Come to think of it you may want to try that first :smile:.
Hope this helps -- Steve
<font size=-1>[ This Message was edited by: SteveV on 2001-06-27 15:32 ]</font>
SteveV
October 13th, 2002, 12:55 PM
On 2001-06-27 19:26, RonB wrote:
Or check 'only send to first match"...
I had tried that but for some reason it didn't work reliably :???:. I'm pretty sure it's not because of Girder--I just think PowerDVD behaves strangely in this respect.
SteveV
October 13th, 2002, 12:55 PM
I agree that command capture is the way to go--I use the same scheme on all but a few PowerDVD commands. However, PowerDVD uses a bizarre FF/FR scheme. Each "F" keystroke increments the FF speed 1X, 2X, 4X, 6X, 8X, 1X..., etc. Capturing PowerDVD control panel clicks is a problem because there is a seperate button for each FF speed. So, while it's easy enough to capture the command for 2X (or 4X or 8X), you lose the incremental speed capability that the keyboard keys provide. Unless you start playing with Girder command states which makes what should be a simple function overly complicated.
-- Steve
<font size=-1>[ This Message was edited by: SteveV on 2001-06-27 23:05 ]</font>
Yvonus
October 13th, 2002, 12:55 PM
Hi there people
I've been using Girder for quite a while now. And PowerDVD has ALWAYS been a problem for me.
Capture of messages simply doesn't work. We tried to work it out with Ron without sucess. Most messages are not captured by Girder.
Back to keyboard but repeat issues ...
I'm going to try your options Steve but I'm wondering in the end what's so different when the keypress is sent from within Girder. Shouldn't be so different with a manual keypress huh ???
Yvonus
October 13th, 2002, 12:55 PM
Ron, I didn't mean to be rude, nor even to complain ! This was just a said aloud thought. I know that's not so easy to do those keypress emulations.
JayGuerette
October 13th, 2002, 12:55 PM
I had problems with WinDVD; solved by avoiding the keyboard all together.
I used the command tab for actions, did a capture, and captured the events when I clicked on the control buttons in WinDVD.
Now it works flawlessly.
theguru
October 13th, 2002, 12:55 PM
I just installed Girder and it's great!
I'm trying to program my remote to control PowerDVD. I downloaded the exported groups on this site but it didn't have the feature I wanted (which was fast forward and rewind).
I've tried to add them myself, but have come across a problem. With PowerDVD you can press the F and B keys to go forwards and backwards respectively. The first time you hit F, playspeed goes to 1.5x, the second time you hit the F key, the playspeed goes to 2x, then 4x and 8x etc. The same applies for B also.
I set up Girder (2.0.23pre5), however it seems to be sending multiple keyboard events to PowerDVD (v3). I press the button once on my remote (generic serial) and it skips to 4x forward playback. if I press it again, it jumps up to 8x (the maximum setting).
I thought it was the auto repeat setting in Girder, which I've changed to upto 1000ms, and I can see in the status window that it is waiting - but still PowerDVD thinks I've pressed the key multiple times.
Have I just not set it up correctly, or is it girder or powerdvd that's causing this?
theguru
October 13th, 2002, 12:55 PM
Thanks for the quick response :wink:
Unfortunately it hasn't solved the problem :sad:
I tried SteveV's approach, and while it did work the first time I pressed the button (i.e. play speed jumped from 1x to 1.5x), the next time it quickly jumped through 2x, 3x, 4x and then staying on 6x.
I guess it would be much better if I could capture the messages and send them directly but I am having trouble with that.
There are several other buttons which do the same thing in PowerDVD - including Basic DVD navigation buttons (up down left right etc.)
I also tried changing the aspect ratio - but it seemed to pass several messages and I couldn't get that to work. Normally you have to right click on the movie, select Aspect ratio from the menu, and then select the desired Aspect Ratio. I managed to find the right click message easy enough, but the others didn't seem to do anything.
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.