ml1969 Posted November 29, 2008 Share Posted November 29, 2008 (edited) Hallo, I´m new here, and a newbie in case of Autoit ( also I´m from germany sorry for the bad english) Ok, All I want ist to find a way how to check if a connection between the PC and the PNA ist established through ActiveSync (WinXP) or Windwosmobiledevicecenter (Vista). At this time I´m able to check if the processes "WCESMgr.exe" -> XP or wmdhost.exe is running, but it doesn´t tell me if the PNA is running. The only thing I want to know is a running connection.... Are the any possibilities? Michael Edited November 29, 2008 by ml1969 Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 30, 2008 Share Posted November 30, 2008 Hallo,I´m new here, and a newbie in case of Autoit ( also I´m from germany sorry for the bad english)Ok,All I want ist to find a way how to check if a connection between the PC and the PNA ist established through ActiveSync (WinXP) or Windwosmobiledevicecenter (Vista).At this time I´m able to check if the processes "WCESMgr.exe" -> XP or wmdhost.exe is running, but it doesn´t tell me if the PNA is running.The only thing I want to know is a running connection....Are the any possibilities?MichaelIf you are sitting at the computer, how do you know if it's running? Is there a GUI? If so, check for it with WinExists(). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
ml1969 Posted November 30, 2008 Author Share Posted November 30, 2008 If you are sitting at the computer, how do you know if it's running? Is there a GUI? If so, check for it with WinExists(). I want to write a little script which will copy something on the PNA....that´s no problem. MS has an utillity (cecopy) an it works fine.But I will that the script checks at the start, if the PNA is runnung.The process wmdhost.exe or WCESMgr.exe tell me only that there was an connection, not if it´s still alive.PNA shutdown cause of the energy-managment e.g.You know what I mean?Michael Link to comment Share on other sites More sharing options...
Paulchen Posted November 30, 2008 Share Posted November 30, 2008 Windows Mobile use RNDIS to sync. You can use netstat to check a connection Link to comment Share on other sites More sharing options...
ml1969 Posted November 30, 2008 Author Share Posted November 30, 2008 Oh sounds interesting... can you give me a help, where to start? Michael Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 30, 2008 Share Posted November 30, 2008 Oh sounds interesting...can you give me a help, where to start?MichaelJust open a command line and do: NETSTAT /?If it uses an IP network connection that will work. If it's a COM port, USB cradle, or similar thing, it won't help. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
jflux Posted February 27, 2009 Share Posted February 27, 2009 Just open a command line and do: NETSTAT /?If it uses an IP network connection that will work. If it's a COM port, USB cradle, or similar thing, it won't help. :bump:I also am seeking to send a file into a Windows Mobile device through ActiveSync (connected via USB showing up as a COM). Anything new to try? Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 28, 2009 Share Posted February 28, 2009 :bump:I also am seeking to send a file into a Windows Mobile device through ActiveSync (connected via USB showing up as a COM). Anything new to try? Search the forum for a serial comm UDF by martin. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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