What is your preffered automation software/language?

Status
Not open for further replies.

Vista_Nueva

Distinguished
Jan 13, 2007
123
0
18,680
I am investigating scripting our office's computer imaging process and was hoping you guys could help. My main issue is ensuring the computer has completed its task before giving it more commands. (windows update, serial verification, etc.) Is there a good way or even a hacky way to get around this? I am currently trying to use autohotkey to do this.

Any advice appreciated
Thanks
 

hdeezie80

Honorable
Jul 18, 2012
205
0
10,710
For something trivial you can write a batch file in a couple of minutes. I wouldn't be able to give you much feed back on writing batch files, (I am a C++ guy) but most programming languages have some form of exception handling built into them, in c++ it would look something like this in pseudo-code.

class run next program
{
exception class{}; // left blank

run next task method
{
if current task isn't complete throw exception class;
code to run your current task
}
};

try
{
run next task
}
catch (current task running)
{
return your error code in this statement block
}
 
Status
Not open for further replies.