Jump to content

visual basic and autoit


Pakku
 Share

Recommended Posts

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
Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...