BIBOT Posted October 8, 2008 Posted October 8, 2008 (edited) Hi! I'm new with AutoIT and I would like to know if I can use or not Bluetooth with AutoIT. What I need is just to receive data (only one char per time) from a Blackberry Pearl 8130 (I've already got the RIM signature) to a PC via Bluetooth. Is it possible? How can I do it? Thanks in advance! Edited October 8, 2008 by BIBOT
BIBOT Posted October 8, 2008 Author Posted October 8, 2008 One more question, can I read some lines from a *.txt file using AutoIT???
bluelamp Posted October 8, 2008 Posted October 8, 2008 1. Bluetooth provides a virtual serialport which you can use with "mscomm32.ocx" or other RS-232 API“s 2. Opt("MustDeclareVars",1) Const $FILE = @ScriptFullPath Local $handle,$line $handle = FileOpen($FILE,0) ; read If $handle == -1 Then ; error Exit EndIf While 1 $line = FileReadLine($handle) ; read one line from the file If @error Then ; end of file or error ExitLoop EndIf MsgBox(0,"title",$line) ; messagebox with current line WEnd For more information about Files, read the helpfile -> Functione Reference -> File, Directory, Disk-Management
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