Ed14 Posted January 28, 2008 Posted January 28, 2008 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
Squirrely1 Posted January 29, 2008 Posted January 29, 2008 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
Ed14 Posted January 31, 2008 Author Posted January 31, 2008 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-
whim Posted January 31, 2008 Posted January 31, 2008 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 ?
Squirrely1 Posted February 1, 2008 Posted February 1, 2008 (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 February 1, 2008 by Squirrely1 Das Häschen benutzt Radar
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