AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Check whether a bluetooth device is connected

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Simply Curious



Joined: 25 May 2008
Posts: 11

PostPosted: Fri Jul 04, 2008 5:46 pm    Post subject: Check whether a bluetooth device is connected Reply with quote

Is there any way to check whether or not a bluetooth headset is currently connected?

I've checked the registry, and I haven't been able to find any changes made from the connection in the bluetooth settings.
Back to top
View user's profile Send private message
Razlin



Joined: 05 Nov 2007
Posts: 370
Location: canada

PostPosted: Fri Jul 04, 2008 7:07 pm    Post subject: Reply with quote

look up forums for

WM_DEVICECHANGE( wParam, lParam )


I use a script for this when I plug my USB stick to auto run specific files off of it.

if its a USB then this might work
_________________
-=Raz=-
Back to top
View user's profile Send private message
Simply Curious



Joined: 25 May 2008
Posts: 11

PostPosted: Fri Jul 04, 2008 11:23 pm    Post subject: Reply with quote

Thank you for the suggestion. Unfortunately, the bluetooth is an internal device, so it's always on and WM_DEVICECHANGE doesn't catch it. No message is received when the headset gets connected.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group