Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-02-2007, 09:08 PM
Member
 
Join Date: Apr 2005
Location: Antwerp, Belgium
Posts: 40
Default Sending keystrokes to other windows program

I want to control an application from swfkit by sending keystrokes to it.
Is this possible?

In fact I want to contol the Vista Media Center. Any suggestions on how to do this are welcome ;-)

tnx
Reply With Quote
  #2 (permalink)  
Old 12-04-2007, 03:07 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Sending keystrokes to other windows program

Yes, although not so easy. First, you would have to retrieve the Window object represents the destination application by using the Window.find method or Window.getWindowsByName method. And then you will be able to use the Application.sendMessage method to send any key, mouse, or command message to the destination application.

Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:39 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.