Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Bug Reports
 PowerHome Messageboard : PowerHome Bug Reports
Subject Topic: send keys problems Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
seattlechris
Groupie
Groupie


Joined: June 29 2002
Location: United States
Online Status: Offline
Posts: 49
Posted: July 13 2004 at 22:24 | IP Logged Quote seattlechris

I've been having trouble controlling the CoffeeCup webcam program using powerhome.  The switch app works fine, and most key transmissions via sendkeys work fine, but not all.  I can manually type an alt-s to get a desired effect, but an {alt-s} in the sendkeys has no effect.  The same key {alt-s} works in other contexts though.  I'm using powerhome 1.03.4.  Thoughts?

Back to Top View seattlechris's Profile Search for other posts by seattlechris
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: July 14 2004 at 08:00 | IP Logged Quote TonyNo

Have you tried starting by switching to PH first, then, to CoffeeCup? This helped me.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: July 14 2004 at 10:28 | IP Logged Quote dhoward

Chris,

It may just be a typo in your post but the proper format for sending an alt-s is: {alt+s}

Sometimes the sendkeys can be tricky to setup.  When setting these up, I usually take it one step at a time.  I'll have PowerHome simply switch to the application.  I'll then use the keyboard to test the next keystroke combination to verify that it's what I want.  I'll code that into PowerHome and then start from the beginning and let PowerHome switch to the app and send the sequence of keystrokes that I have so far.  Sometimes, I find that I need to place a small delay within the keystrokes or I might need to send an 'escape' or a 'tab'.  Basically, whatever you can type on the keyboard should be able to replicated using sendkeys.

I use Webcam32 software with my ATI All-in-Wonder video cards tuner as the source (I have different video cameras modulated onto a single coax) and I have to change the channel in order to view different cameras.  The following is a sample of the sendkeys code that I have to send to do this:

"{alt+f}p{downarrow}{downarrow}{downarrow}{downarrow}{rightarrow}s{tab}{enter}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{tab}{uparrow}{alt+a}48{enter}{tab}{tab}{enter}{tab}{enter}"

Hope this helps,

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
seattlechris
Groupie
Groupie


Joined: June 29 2002
Location: United States
Online Status: Offline
Posts: 49
Posted: July 14 2004 at 23:08 | IP Logged Quote seattlechris

  Oops.  I did use - instead of +.  Amazing it worked intermittently that way.  In any case, all better now, thanks.
Back to Top View seattlechris's Profile Search for other posts by seattlechris
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum