Sign in to follow this  
Followers 0
Miq

Help with first script

2 posts in this topic

I am new to AutoIT and would like a little bit of help to get started.

I would like to write something to create a scheduled task (I already have the task creation in a batch file) and create a registry entry to keep track of what scripts I have installed. I'd put it somewhere like HKLM\Software\aaa and make a string called shutdown with a value of 1. Then when the script tries to run it will check to see if the shutdown value exists, if it does the script just exits, if it does not it continues on and adds the task and writes the key in.

HKLM\Software\aaa would not exist until an AutoIT script ran and created it as well.

Does that make sense? Can anyone get me started in the right direction?

Share this post


Link to post
Share on other sites



See RegWrite() and RunWait() in the help file? What part of that stumps you?

:mellow:


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