Jump to content

Recommended Posts

Posted

what do you mean? like having a ini file so say you want the program too sleep for x amount of time.. you can put the ini so that u can change X to what ever you want in the ini and it will change it in the Program...

Posted (edited)

Dim $Ini = "Ini.ini", $Section = "Section", $Key = "Key"
Dim $StateOne = IniRead($Ini, $Section, $Key, -1)
While 1
   $StateTwo = IniRead($Ini, $Section, $Key, -1)
   If $StateOne <> $StateTwo Then
      $StateOne = $StateTwo
     ; Change What You Want With New State
   Else
   ; Nothing Changes
   EndIf
WEnd

Edited by AutoIt Smith

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...