converting a script from vb

Recommended Posts

gcue 8

gcue 8

I am trying to convert this script to autoit - im pretty close but still not working. the script pulls bitlocker recovery passwords from an active directory workstation object. (special thanks to water for the AD UDF which made it easy to get the object's "distinguishedname"!)

Share this post

Link to post

Share on other sites

BrewManNH 1,038

BrewManNH 1,038

You should convert the VBScript to AutoIt, not use AutoIt to write the script to disk and run it. The syntax of the 2 languages are very similar and the conversion very straight-forward.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Share this post

Link to post

Share on other sites

BrewManNH 1,038

BrewManNH 1,038

You're not using the Beta version as mentioned in post 5, Null doesn't work prior to that.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.