Jump to content

Recommended Posts

Posted

ehm'... anybody please teach me how to call and use this dll for sending my pseudo keyboard event? My target is to Press Spacebar at a given instance... all i need now is how will I able to use "dinput8.dll" in my script so I can send Keypress.. thanks.

Posted

ehm'... anybody please teach me how to call and use this dll for sending my pseudo keyboard event? My target is to Press Spacebar at a given instance... all i need now is how will I able to use "dinput8.dll" in my script so I can send Keypress.. thanks.

Send("{SPACE}") or ControlSend("Title", "", "", "{SPACE}") won't work?

Do you have a link to the interface for that DLL?

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Posted

nope ordinary send keys and controlsend does work coz that program uses dinput8.dll that can be found on windows system..this dll hadles all the sending keys to that particular program..ahmm.. my only problem is how to call that dll and to get the memory of sendinf "Spacebar" so that I can send {SPACE} in given instance.

Posted

this dinput8.dll is a DirectC DLL, which handles DirectInput. This gives functionality for multimedia input devices such as joysticks.It is also use DirectInput to sink press touch from keyboards.

Posted

dinput8 is part of directx and it receives the Keybord events, not sends them :)

You have to use keybd_event, which I think AutoIT uses, too (http://msdn.microsoft.com/en-us/library/ms646304(VS.85).aspx)

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Posted (edited)

dinput8 is part of directx and it receives the Keybord events, not sends them

just like I said.. so how will I call these dll and send to it my KeyPress(Spacebar). The virtual key for space bar is 0x20 right?

KINDLY SEE THIS

Edited by LiLShinta

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...