开发者

Add an extension to a normal program

开发者 https://www.devze.com 2023-01-24 10:04 出处:网络
Hey guys, this question might be a little weird worded but I was looking to see if there was a way to add on to an executable. IE: I use the pandora one desktop application which 开发者_如何转开发work

Hey guys, this question might be a little weird worded but I was looking to see if there was a way to add on to an executable. IE: I use the pandora one desktop application which 开发者_如何转开发works perfectly except it doesnt have global hotkeys. The hotkeys only work when the program is the active window. I was thinking of making something that would trick the client into thinking it was the active window when it wasn't so I could use the hotkeys globally.

This question could be generalized to any program (.executable) out there for windows. Is there a way to add on to a "finished" program?

Thanks!


What you could do is write an application that registers global hotkeys, then SendMessages the other application.

Here is a C# example:

Send key strokes to another application C#

or

http://www.codeproject.com/KB/cs/SendKeys.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消