Jump to content

Recommended Posts

Posted (edited)

hi,

i have a question. i have a visual basic 6.0 script and i want it convert it in autoit.

the script:

Option Explicit
Private Sub Form_Load()
Dim obj As Object
Set obj = GetObject("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")
Call obj.CreateRestorePoint("Installation Clean XP Pro", 12, 100)
Unload Me
End Sub

is someone able to convert it to autoit or does someone have a suggestion?

thanks,

Edited by Pakku
Posted

hi,

i have a question. i have a visual basic 6.0 script and i want it convert it in autoit.

the script:

Option Explicit
Private Sub Form_Load()
Dim obj As Object
Set obj = GetObject("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")
Call obj.CreateRestorePoint("Installation Clean XP Pro", 12, 100)
Unload Me
End Sub

is someone able to convert it to autoit or does someone have a suggestion?

thanks,

Arjan Staring

haven't tested it, you'll need the beta version of autoit, should be something like

$obj = ObjGet("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")
$obj.CreateRestorePoint("Installation Clean XP Pro", 12, 100)

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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
×
×
  • Create New...