Moin Moin Liebe Forumgemeinde.
Ich bin ein waschechter neuling was das arbeiten mit AutoIt angeht.
Um meine Arbeitszeit zu optimieren habe ich mich an einem script versucht um
neue Artikel in unserer Wawi anzulegen.
Spoiler anzeigen
Hotkeyset("{F7}","Ende")
[/autoit] [autoit][/autoit] [autoit]Func Ende ()
[/autoit] [autoit][/autoit] [autoit]While 1
[/autoit] [autoit][/autoit] [autoit]Exit
[/autoit] [autoit][/autoit] [autoit]WEnd
[/autoit] [autoit][/autoit] [autoit]EndFunc
For $i = 1 to 30 Step 1
WinActivate("Normal")
WINWAIT("Normal")
Mouseclick("LEFT", 511,229,1)
WINWAIT("Normal")
SEND("{F4}")
WINWAIT("Normal")
SEND("{F4}")
WINWAIT("Normal")
SEND("{DOWN}")
WINWAIT("Normal")
SEND("{DEL}")
WINWAIT("Normal")
SEND("{DOWN}")
WINWAIT("Normal")
SEND("{DEL}")
WINWAIT("Normal")
Mouseclick("LEFT", 824,332,1)
WINWAIT("Normal")
SEND("{DEL}")
WINWAIT("Normal")
WinActivate("Microsoft Excel - Artikel_Anlegen_Vorlage")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
SEND("^c")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
WinActivate("Normal")
WINWAIT("Normal")
Mouseclick("LEFT", 494,248,1)
WINWAIT("Normal")
SEND("^v")
WINWAIT("Normal")
SEND("{DOWN}")
WINWAIT("Normal")
WinActivate("Microsoft Excel - Artikel_Anlegen_Vorlage")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
SEND("{RIGHT}")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
SEND("^c")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
WinActivate("Normal")
WINWAIT("Normal")
SEND("^v")
WINWAIT("Normal")
Mouseclick("LEFT", 835,334,1)
WINWAIT("Normal")
WinActivate("Microsoft Excel - Artikel_Anlegen_Vorlage")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
SEND("{RIGHT}")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
SEND("^c")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
WinActivate("Normal")
WINWAIT("Normal")
SEND("^v")
WINWAIT("Normal")
Mouseclick("LEFT", 472,621,1)
WINWAIT("Normal")
SEND("{DEL}")
WINWAIT("Normal")
SEND("{F6}")
WINWAIT("Normal")
Mouseclick("LEFT", 555,506,1)
WINWAIT("Normal")
WINWAIT("Normal")
WinActivate("Microsoft Excel - Artikel_Anlegen_Vorlage")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
SEND("{DOWN}")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
SEND("{LEFT}")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
SEND("{LEFT}")
WINWAIT("Microsoft Excel - Artikel_Anlegen_Vorlage")
Next
So siehts aus... Allerdings ist mein PC sobalt ich es starte blockiert und ich kann nichts mehr machen ausser zuschauen,
was sehr schade ist wenn es mal eben schnell einige Artikel sein müssen...
Gibt es eine Möglichkeit das ganze so zu Basteln das ich dennoch nebenbei weiterarbeiten kann?
Vielen Dank schonmal für die super Unterstützung!