Jump to content


Photo

Sendkeys Dll (w/ Appactivate)


  • Please log in to reply
6 replies to this topic

#1 TheMagicNumber

TheMagicNumber

    GMC Member

  • GMC Member
  • 5247 posts
  • Version:Unknown

Posted 07 March 2009 - 10:09 PM

This is a simple DLL that has the commands SendKeys and AppActivate from most Microsoft languages. It was not made in a a Microsoft language, though. Made in Delphi (7) and the source is included!

MSDN Links:

SendKeys
AppActivate

Download: Host-A (~30kB)

Note: Looking up "SendKeys.dll" will (or might) result in listings of harmful files. This is not that file, you can scan it all you want, rename it, look at it's source, or even rebuild it. Do whatever you want.

The SndKey32 unit was made by Ken Henderson, I take no ownership of it nor did I make the functions. I simply made it into a GML-compatible DLL. If you decide to credit, it goes to Ken Henderson.

Edited by TheMagicNumber, 24 December 2009 - 09:52 PM.

  • 2

#2 kake_fisk

kake_fisk

    GMC Member

  • GMC Member
  • 2392 posts
  • Version:GM7

Posted 07 March 2009 - 10:24 PM

Nice DLL, i can see some uses for this.
And instead of the clipboard trick i'm using in my editor now i can use this.

Would it be possible with mouse presses to?
  • 0

#3 TheMagicNumber

TheMagicNumber

    GMC Member

  • GMC Member
  • 5247 posts
  • Version:Unknown

Posted 07 March 2009 - 10:46 PM

Would it be possible with mouse presses to?

It wouldn't be the same, this is more for keyboard. But it is possible for mouse control, too. I wont do it, though.
  • 2

#4 DefuzionGames

DefuzionGames

    GMC Member

  • GMC Member
  • 1460 posts
  • Version:Unknown

Posted 08 March 2009 - 01:18 AM

what can it be used to do?
  • 0

#5 score_under

score_under

    Least kawaii

  • GMC Member
  • 1321 posts

Posted 08 March 2009 - 10:35 AM

what can it be used to do?

Send keys to any program without actually needing user input.
  • 0

Anti-Decompiler for GM6.1 to GM8.1.91! :GM8_new: [Main skin by Sindarin]
Discontinued.

decimal2.png
^ Signature image because it's been sorta empty since the old host died

If you need to contact me, I still get notification emails from PMs.


#6 TheMagicNumber

TheMagicNumber

    GMC Member

  • GMC Member
  • 5247 posts
  • Version:Unknown

Posted 08 March 2009 - 02:15 PM

what can it be used to do?

Have you tried the example?

And, it doesn't send individual keys only, it can send multiple (like Ctrl + S).
  • 2

#7 uuf6429

uuf6429

    Covac Software

  • New Member
  • 2522 posts
  • Version:Unknown

Posted 08 March 2009 - 10:23 PM

You cheater, you. :D
GMfying whatever you get in your hands.

Edited by uuf6429, 08 March 2009 - 10:23 PM.

  • 2