What is your preffered automation software/language?

Vista_Nueva

Distinguished
Jan 13, 2007
15
0
18,560
0
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
14
0
10,560
0
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
}
 
Thread starter Similar threads Forum Replies Date
B Apps General Discussion 5
hyzzle Apps General Discussion 3
S Apps General Discussion 1
M Apps General Discussion 4
P Apps General Discussion 1
O Apps General Discussion 2
N Apps General Discussion 8
R Apps General Discussion 6
O Apps General Discussion 3
C Apps General Discussion 2
L Apps General Discussion 6
T Apps General Discussion 2
huilun02 Apps General Discussion 2
opteron1983 Apps General Discussion 1
onuit Apps General Discussion 14
D Apps General Discussion 2
L Apps General Discussion 4
O Apps General Discussion 2
W Apps General Discussion 1
H Apps General Discussion 20

ASK THE COMMUNITY