Sign in to follow this  
Followers 0
ml1969

Autoit and AActiveSync / Windows Mobile Center

8 posts in this topic

#1 ·  Posted (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 by ml1969

Share this post


Link to post
Share on other sites



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

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().

:)


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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Windows Mobile use RNDIS to sync.

You can use netstat to check a connection

Share this post


Link to post
Share on other sites

Oh sounds interesting...

can you give me a help, where to start?

Michael

Share this post


Link to post
Share on other sites

Oh sounds interesting...

can you give me a help, where to start?

Michael

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.

:)


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

Share this post


Link to post
Share on other sites

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.

:unsure:

: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? :P

Share this post


Link to post
Share on other sites

: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? :P

Search the forum for a serial comm UDF by martin.

:unsure:


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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0