bthuser Posted October 27, 2012 Posted October 27, 2012 (edited) Hi folks, can you please help me with scripting Autoit? I want to connect a bluetooth mouse via script. Now I start bthprops.cpl and send keystrokes, but that's too fault-prone. How can I do this using Windows API? I need to: - discover bluetooth device - connect " - ??? Can someone help me doing that? Thank you. Edited October 30, 2012 by bthuser
rudi Posted October 31, 2012 Posted October 31, 2012 (edited) Hi.Checkout the "additional ressources" this page is referring to:http://msdn.microsoft.com/en-us/library/aa362932%28VS.85%29.aspxRegards, Rudi. Edited October 31, 2012 by rudi Earth is flat, pigs can fly, and Nuclear Power is SAFE!
stormbreaker Posted November 2, 2012 Posted November 2, 2012 I need to:- discover bluetooth deviceI can only help you with this part, check my Bluetooth Finder Tool (see my signature)... ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
bthuser Posted November 2, 2012 Author Posted November 2, 2012 Oh, thank you rudi and MKISH for your help. The MSDN information is very confusing. But i'll try it...
bthuser Posted April 8, 2013 Author Posted April 8, 2013 I didn't get it. Is somebody of you experienced with connecting Bluetooth devices, DllCalls and structs?I think the key is BluetoothRegisterForAuthenticationEx(), BluetoothSendAuthenticationResponseEx() and BluetoothUnregisterAuthentication().
stormbreaker Posted April 11, 2013 Posted April 11, 2013 (edited) To fully utilize the bluetooth of your PC and perform tasks like file-transfer on phone etc. you need WinSock and the OBEX protocol (you will have to implement it by yourself or some third party program, since MS doesn't provide any way). OR you could use the COM ports as well (easiest approach for me) I think I'll get back to writing more code on using Bluetooth with AU3 someday. Till then, good luck. MKISH Edited April 11, 2013 by MKISH ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
bthuser Posted April 21, 2013 Author Posted April 21, 2013 Thanks, MKISH. I only wanted to connect the Bluetooth mouse to my computer.
Xandy Posted April 21, 2013 Posted April 21, 2013 I can only help you with this part, check my Bluetooth Finder Tool (see my signature)...Can't find it. Above or below the Dropbox link? You took it down huh? Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker)
stormbreaker Posted April 25, 2013 Posted April 25, 2013 Can't find it. Above or below the Dropbox link? You took it down huh?That post is the November issue of last year. Though I took down my signature, still you can find it here: ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now