Jump to content

Need some direction..


thawee
 Share

Recommended Posts

I am fairly new to auto-it and programming in general. I would consider myself a basic programmer.

I would like to interact with a windows application or function behind the scenes instead of calling the application and manipulating the front end.

I have seen object calls like the code below:

;#RequireAdmin
$obj = ObjGet("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")
$obj.Enable("")
$obj.CreateRestorePoint($discription, 12, 100)
If $disable Then
     $obj.Disable("")
EndIf

I have also seen code that uses DLLCall.

For example:

$TCount = DllCall("kernel32.dll", "long", "GetTickCount")

How do i know what is in each DLL, and How do I learn to format my requests in a way that makes it work correctly.

I really need some direction on how to find out more about these areas in detail!.

I would greatly appreciate someone pointing me in the right direction.

Most information I can find is elusive at best, and doesn't explain the details behind scenes.

Thanks for everyone's help in advance.

Thawee

Edited by thawee
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...