Sign in to follow this  
Followers 0
Elephant007

Simple Help Required

4 posts in this topic

I'm sure to the ones that script all the time with AutoIt this won't be a problem, I just can't wrap my head around it (again)

I am trying to develope a DSQUERY script that will only run certian months, since I work for a school district, computers aren't used for about three months out of the year

I would like this script to only run on Septemeber through May, I know I can do something like IF @MON, I just don't know how to make it so it's months 09,10,11,12,01,02,03,04,05

I have the rest of the DSQUERY so I do not require help for that part

thank you!

Share this post


Link to post
Share on other sites



Like this ?

If @MON > 5 And @MON < 9 Then Exit

So this logic is

If the MONTH is LESS than X and MONTH is MORE than X do Y?

seem logical, I'll try it, thank you!

Share this post


Link to post
Share on other sites

it would be rather :If the MONTH is LESS than 9 and MONTH is MORE than 5 do Exit Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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