Jump to content

Recommended Posts

Hello ;)

Hi my next learn tut wis autoit is Ini read and Run from ini But i have adde this in my Thc.ini datei to load the exe files from his ini files but not wörks :idiot:

Wat is wrong pls tell me wat is wrong in the code exampel Very big thx to help :D

Is my Ini right or wat i call in the ini to use the Thc.exe from my ini pls i ned input :lol:

Ini settings

[Number 0]

Spammbot 1.1 Beta Message Text=C:\Programme\DirtyBanditos\Thc.exe

Code use in my main Prog:

While 1

Sleep(100)

Wend

Func mRun()

AutoItSetOption("WinTitleMatchMode", 2)

IniRead("C:\Programme\DirtyBanditos\Thc.ini", "Number 0", "Spammbot 1.1 Beta Message Text", "NotFound")

Run("C:\Programme\DirtyBanditos\Thc.ini", "Number 0", "Spammbot 1.1 Beta Message Text", "NotFound")

WinWait(Number 0)

MsgBox(0, "Title", $ln & @CR & @error)

WinWait("Number 0")

EndFunc ;==>mRun

This wörks very fine for me but not variable exe start from Thc.ini help pls :D

Func mRun5()

AutoItSetOption("WinTitleMatchMode", 2)

Run("C:\Programme\DirtyBanditos\Item Pickit.exe", "", @SW_MAXIMIZE)

WinWait("Item Pickit.exe")

$ln = StatusbarGetText("Item Pickit.exe", "")

MsgBox(0, "Title", $ln & @CR & @error)

EndFunc ;==>mRun5

Edited by DirtyBanditos
Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...