Sign in to follow this  
Followers 0
Ed14

Incorrect behaviour using process functions

5 posts in this topic

There are some curious appearances by using the functions

- ProcessExists()

- ProcessList()

in a Windows 2000 SP4 environment.

Description:

ProcessExists()

Before AutoIt version v.3.2.6.0 queried processes have to be max. 15 characters (according to the Task Manager).

Since then a bug concerning these 15 characters should have been fixed (seen in history file).

Discovery:

On one W2k server I have to use the real full filename incl. extention,

on another server neither this nor the former 15 character thing works!

And: Some (not all!) short name processes (less than 15 char. incl. extention) are functioning well as expected... !!

ProcessList()

Even in AutoIt version 3.2.8.1 ProcessList() returns processnames with a maximum of 15 characters!

This behaviour is a lot of confusing.

Worse off that ProcessExists() seems not to be a reliable function call today!

Question:

What is the explanation of the described appearances?

Or do I do s.th. wrong? I've checked and tried a lot these days but didn't find any solution.

Or is it just a bug that has to be corrected in the AutoIt sources?

Thank you very much for your answers and tips (hopefully)!

Ed14

Share this post


Link to post
Share on other sites



Welcome to the AutoIt forums !

You are probably just going to have to keep coding work-arounds like you have been doing. AutoIt does not improve on Microsoft's legacy code.

But using AutoIt, you can automate Windows and get many work-arounds to be sufficient for your actual needs.

It is a pretty big challenge at first, though.


Das Häschen benutzt Radar

Share this post


Link to post
Share on other sites

Great Answer...

But that doesn't help me a lot.

Does anyone have another idea to solve that problem?

Am I the only one who has observed this?

-ED14-

Share this post


Link to post
Share on other sites

Hi! You mentioned that even in ver. 3.2.8.1 ProcessExist still malfunctions.

Can't test for lack of a 2k rig ATM , but have you seen that update history

mentions another fix for version 3.2.10.0 ?

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

@Ed14 -

You might have to be careful about which version number of AutoIt - production or beta version, etcetera, - that you are using when you try this app written by AutoIt big-wigs found here.

And this is pretty technical, but with the same version caveat in mind, you could try studying this post. :)

Edited by Squirrely1

Das Häschen benutzt Radar

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