Activescript is used for Adobe Flash my friend.
On the other hand, ActiveX scripting is very a large arena, and not something one can teach you in one forum post. If you cannot find someone who knows VBScript or JScript (types of activex scripts) to help you, you can google the following things:
VBScript and Scripting.FileSystemObject (used for file/directory manipulation)
VBScript and Err.Raise (used to raise errors)