vickerps Posted March 16, 2004 Posted March 16, 2004 Hi not sure if this can be done Is there anyway autoit can check if a device is attached to com1 and report back a true or false statement.
Developers Jos Posted March 16, 2004 Developers Posted March 16, 2004 you could try this command : >mode com1 /status > com1.txtThen com1.txt will contain something like: Baud: 1200 Parity: None Data Bits: 7 Stop Bits: 1 Timeout: OFF XON/XOFF: OFF CTS handshaking: OFF DSR handshaking: OFF DSR sensitivity: OFF DTR circuit: ON RTS circuit: ONNormally When CTS/DSR are ON, theres a device attached. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
vickerps Posted March 16, 2004 Author Posted March 16, 2004 thanks anyway but there is not change in these line wether somthing is attached or not there are always ON DTR circuit: ON RTS circuit: ON
Developers Jos Posted March 16, 2004 Developers Posted March 16, 2004 and what about CTS/DSR ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Developers Jos Posted March 16, 2004 Developers Posted March 16, 2004 Then i agree with Helge.... Nope SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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