paulpmeier Posted September 14, 2008 Share Posted September 14, 2008 A usefull feature of the FileOpen function:FileOpen("Com1", 4) opens the first serial port for binary input.The exsample shows reading NMEA-data from a GPS receiver via Com4.HotKeySet("{ESC}", "Terminate") $file = FileOpen("COM4", 4) While 1 $chr = FileRead($file, 1) ConsoleWrite($chr) WEnd Func Terminate() FileClose($file) Exit EndFuncSee also: Console Input - Read from console with FileRead Link to comment Share on other sites More sharing options...
Alek Posted September 14, 2008 Share Posted September 14, 2008 omg, awesome thank you >_< [font="Impact"]Never fear, I is here.[/font] Link to comment Share on other sites More sharing options...
jokke Posted September 14, 2008 Share Posted September 14, 2008 Great, thanks! UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt. Link to comment Share on other sites More sharing options...
Descention Posted October 30, 2008 Share Posted October 30, 2008 I think you for this. It came up in a google search for gps nmea reading and has helped me greatly. Link to comment Share on other sites More sharing options...
corgano Posted March 18, 2012 Share Posted March 18, 2012 I cannot seem to get this to work, does this work with the current autoit build? 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
trancexx Posted March 18, 2012 Share Posted March 18, 2012 No. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Kealper Posted March 20, 2012 Share Posted March 20, 2012 Some times I wish the raw read mode was not removed... Its removal also meant that random fun things like this can't be done as easily anymore Link to comment Share on other sites More sharing options...
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