stormbreaker Posted July 24, 2012 Posted July 24, 2012 (edited) Hello everyone. This is my second tool concerned with Bluetooth Technology. It uses native windows bluetooth functions to discover bluetooth devices near you.Workable for all devices supporting Plug-And-Play in Windows. Download here (source code included).All suggestions are welcome. Edited April 1, 2013 by MKISH Sannie72 1 ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
stormbreaker Posted July 25, 2012 Author Posted July 25, 2012 216 downloads and yet, anyone interested? ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
wakillon Posted July 25, 2012 Posted July 25, 2012 216 downloads and yet, anyone interested?Your archive is damaged and so, can't be extracted...Upload a new one AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts
guinness Posted July 25, 2012 Posted July 25, 2012 (edited) I downloaded it yesterday and it worked as intended. Just so you know I have posts in the Examples section with zero replies, though I don't complain. Edited July 25, 2012 by guinness UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018
stormbreaker Posted July 25, 2012 Author Posted July 25, 2012 Dear wakillon, I uploaded a fresh RAR file (though I found no problems with the 7z file uploaded earlier), please check if it works now. ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
guinness Posted July 25, 2012 Posted July 25, 2012 I would suggest ZIP as it's universal these days where as RAR isn't. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018
wakillon Posted July 25, 2012 Posted July 25, 2012 Dear wakillon, I uploaded a fresh RAR file (though I found no problems with the 7z file uploaded earlier), please check if it works now.I had downloaded several times but 7z or winrar returned an error and an executable with a null size.Since you upload a new one, i get it ! Don't worry about your 216 downloads in one day, sometimes download counter becomes crazy...Thanks. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts
exolon Posted July 31, 2012 Posted July 31, 2012 Hello, Have you looked into sending or receiving data over L2CAP or RFCOMM bluetooth channels? I'm writing a J2ME midlet which spawns a simple btspp server and listens for strings... but I'm not even sure what DLL to call on the client (desktop) side from AutoIt, so for now I'll throw together a simplistic client in Java and figure out how to make AutoIt drive that. Obviously it'd be cleaner to directly perform the bluetooth calls from AutoIt, but I'm not sure where to start.
stormbreaker Posted August 1, 2012 Author Posted August 1, 2012 (edited) I have successfully tested AU3 with A2DP and RFCOMM channels, since I made a P2P bluetooth 'chat' client, which can send files, do simple chat (as in FaceBook) and stream Audio/Video, so far its a bit problematic. To get started you could try your luck with Windows Sockets and IrProps functions Edited August 1, 2012 by MKISH ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
exolon Posted August 1, 2012 Posted August 1, 2012 I have successfully tested AU3 with A2DP and RFCOMM channels, since I made a P2P bluetooth 'chat' client, which can send files, do simple chat (as in FaceBook) and stream Audio/Video, so far its a bit problematic. To get started you could try your luck with Windows Sockets and IrProps functionsThanks MKISH! It turned out to be easy to write a simple client program in Java using the BlueCove JSR82 implementation - for now I'll just run that from my AU3 script for now Good luck!
Qwerty212 Posted September 30, 2012 Posted September 30, 2012 Thanks for the code! D'you know if is possible to know the strength of the signal recieved? Greets from Barcelona
stormbreaker Posted October 9, 2012 Author Posted October 9, 2012 (edited) Sorry for the late post, but MS doesn't provide any method for this task (although I have this in my WinCE device in a file called btdrt). There is no way (for MS-BTH device) to do this, I suppose... Edited October 9, 2012 by MKISH ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
Qwerty212 Posted October 12, 2012 Posted October 12, 2012 (edited) Thanks for the answer.It's a pitty that we can not do something like http://www.blueshareware.com/lockitnow.aspGreets from Barcelona Edited October 12, 2012 by adolfito121
stormbreaker Posted October 14, 2012 Author Posted October 14, 2012 (edited) We can do something like that, easily (we don't need signal strength for that pupose!!!). Although, I admit that I'm too lazy to write a few more lines of code (such as some If...EndIf statements, and of course the code to lock and unlock ur pc/workstation). I am just so bored up with BTH and Wi-fi controlling. Edited October 14, 2012 by MKISH ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
Qwerty212 Posted October 15, 2012 Posted October 15, 2012 Yeah, but I was also thinking in signal strength to make a (not acurated) distance measurer.If the mobile phone of my wife is detected in a certain ratio then she's next to home and I have to simulate that I've been busy cleaning the house instead of been playing videogames (a pure theoric usage).Will have to think in a way of determining the RSSI from windows (maybe an external aplication).Once again thanks a lot for your examples, they are great and very instructive. Is a pitty that not all the users that test they take some time just to say thanks.Greets from Barcelona.
careca Posted November 6, 2012 Posted November 6, 2012 Good job! Good example for people who want to do something similar. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe
stormbreaker Posted November 7, 2012 Author Posted November 7, 2012 Thanks. ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
weasel5i2 Posted April 21, 2014 Posted April 21, 2014 Resurrecting ancient thread in 3..2..1.. The way to lock the workstation (no coding needed) is to call user32.dll,LockWorkStation I'm working on a BT proximity workstation lock app, since the ones out there don't seem to work properly for me. One thing, however.. I don't know how to make it automatically unlock the workstation when the BT device comes within range. Maybe I can do it with ProcessClose() if I can determine which process (if it's even a child process and not a system process) provides the lock screen UI, and kill it.
stormbreaker Posted May 15, 2014 Author Posted May 15, 2014 @weasel5i2, you need "remote desktop login" commands for that purpose. Google it and you'll get there for sure. As for lock screen ui process, i think, its not that easy, else no one would be using windows if you could merely login by closing a single process/application (since any account could be opened then) - you won't even call it hacking then... ---------------------------------------- :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