Jump to content

Bucione

Members
  • Posts

    6
  • Joined

  • Last visited

About Bucione

  • Birthday 10/11/1970

Profile Information

  • Location
    Brazil

Bucione's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. If you dont specify any flags to _FileReadToArray(), it will store the array count on index 0 by default. For $i = 1 to $okay[0] $Read = $okay[$i] Next
  2. In previous versions, I had no problems adding an AVI resource to the output executable using AutoITWrapper -> Res Add Files -> Extra Files.: I added a line like: filename.avi,AVI,1 So I could display the avi file in the GUI referring to the script executable resource #1 For some reason, I cannot make it work in the new version. Looks like no file is added to the AVI section... Does anybody have any ideas? I'd appreciate any feedback. Thanks!
  3. If I understood your question correctly, this should do the trick... Func _EnumWMIclassInstances($classname, $servername = ".") Local $service = ObjGet("winmgmts:\\" & $servername & "\root\cimv2") Local $security = $service.Security_ $security.ImpersonationLevel = 3 Local $collection = $service.InstancesOf($classname) For $object In $collection For $property in $object.Properties_ ConsoleWrite($property.Name & ": " & $property.Value & @CR) Next Next EndFunc _EnumWMIclassInstances("Win32_Service")
  4. You can also try: If StringInStr (FileGetAttrib ("C:\"), "C") Then MsgBox (0, @scriptname, "Drive C: is compressed") Endif
  5. Have you tried to parse the output from nslookup.exe? You will need a properly configured reverse DNS zone for the IP ranges you are trying to query.
×
×
  • Create New...