Jump to content

EarthlingZ

Members
  • Posts

    2
  • Joined

  • Last visited

EarthlingZ's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thank you so very much for the help and explain what the error message mean. 😃
  2. Hi I want fetch everything behind , and , in the text file. I have tried to find what I am doing wrong but I cant see it. Can I get help with two extra eyes who can see what I have done wrong? My script looks like this #include <MsgBoxConstants.au3> #include <WinAPIFiles.au3> #include <String.au3> $FilePath = 'Testing9.txt' $Source = BinaryToString(IniReadSection($FilePath, "")) $FirstChunks = _StringBetween($Source, ',', ',') For $a In $FirstChunks     ConsoleWrite($a & @CRLF)     Sleep(1000) Next Inside Testing9.txt dfsgasdfadsfads, Test1! ,dsafsdagasfgf asdgasdfasd, Test2! ,sadfasdgasdfg74698 asdfasdfasd, Test3! ,dsagfgerargar reggasdgadfsdg, Test4! ,gewgregegsreg rgsfgdfsgff, Test5! ,regegfrdgfdsg6546 dfsbsdbfvsf, Test6! ,4563489465464 hetgbsdffsd, Test7! ,regbrregszgsf sfgdf84gds65, Test8! ,fsdg8df4g6s5df4 rgewarg6456, Test9! ,fsg564654fsg error I get is "C:\autoit\Script\Testing9.au3" (11) : ==> Variable must be of type "Object".: For $a In $FirstChunks For $a In $FirstChunks^ ERROR
×
×
  • Create New...