Hallo
bekomm nach dem kompüilieren immer
error subscript used with non-array variable
Kann mir jemand helfen?
als au3 funktioniert es. egal wie ich es kompiliere es geht nicht
#include <File.au3>
;~ #include <Array.au3>
$folder = "C:\Users\iceer\Desktop\who"
$dir = _FileListToArray($folder, '*.*');im zweiten parameter könntest du dann den filetyp z.b. '*.txt' definieren...
while $dir[0] >= 1
$folder = "C:\Users\iceer\Desktop\who"
$dir = _FileListToArray($folder, '*.*');im zweiten parameter könntest du dann den filetyp z.b. '*.txt' definieren...
;~ _ArrayDisplay($dir,"test")
WinActivate("who")
mouseclick("left",260,132,2,1)
sleep(50)
WinActivate("[CLASS:Notepad]", "")
send("^a")
send("^c")
WinClose("[CLASS:Notepad]", "")
sleep(50)
winactivate("Microsoft Excel - who.xlsm")
mouseclick("left",438,980,1,1)
sleep(50)
mouseclick("left",283,198,1,1)
sleep(50)
send("^v")
sleep(50)
mouseclick("left",290,846,1,1)
sleep(50)
WinActivate("who")
mouseclick("right",247,130,1,1)
sleep(100)
mouseclick("left",366,630,1,1)
sleep(50)
send("^c")
send("{ENTER}")
send("{del}")
sleep(100)
send("{ENTER}")
winactivate("Microsoft Excel - who.xlsm")
send("^v")
Wend