Kowala Posted February 19, 2008 Share Posted February 19, 2008 Respected AutoIT Community, I have done quite a bit of searching on the forum but was unable to find what I was seeking. I am sure this is probably very basic to many but its proved to be a challenge to me. My goal is to run a script that will query the machine for its amount of RAM and then use an IF statement to run one of two installations dependant on the amount of RAM. I have decent experience in using IF statments and using AutoIT to preform the actual install. Where I am lacking is I dont know how to query the machine for its RAM amount and how to integrate that data into my IF statement. I was hoping for a IF ram = >#### THEN install program 1, ELSE install program 2. The other question regarding this install is...would these methods be post boot up? Is there a way to do a script such as above preboot over a 2003 AD network? Thank you for your time. Kowala Link to comment Share on other sites More sharing options...
John Posted February 19, 2008 Share Posted February 19, 2008 You seem to be looking for MemGetStats(). Link to comment Share on other sites More sharing options...
Richard Robertson Posted February 19, 2008 Share Posted February 19, 2008 AutoIt scripts can't run without a logged in user. So everything is postboot. 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