Crash_Master Posted September 21, 2005 Posted September 21, 2005 Hi, I try to develop a automated test script. Now I want to use the #include-Function to include external scripts into mine. Test1.au3 ----------- #inlcude "Test2.au3" Test2.au3 ----------- MsgBox(0,"", "Die Zeit ist " & @HOUR & ":" & @MIN & ":" & @SEC) Both files are in the same location. If I run Test1.au3 the messagebox from Test2.au3 didn´t show. Can anybody help me with including external scripts into mine. Thats a very important function for my scripts and I need it to develop. My program version ist 3.1.1 By Crash
Raindancer Posted September 21, 2005 Posted September 21, 2005 Also bei mir funktioniert dein Code... Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer
Crash_Master Posted September 21, 2005 Author Posted September 21, 2005 Also bei mir geht es selbst nach einem Neustart des Rechners immer noch nicht. Laut Help File habe ich die Version 3.1.1. Kann es sein, das es in dieser Version einen Bug mit dem #include gibt? Habe ich bei der Installation etwas falsch gemacht? Woran könnte es liegen?
Raindancer Posted September 21, 2005 Posted September 21, 2005 Habe nie was von einem Bug im #include gelesen. Jedoch ganz ausschliessen kann ich es nicht (verwende vorallem die Beta). Hast du die Beta auch installiert? Falls ja, funktioniert es damit? Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer
Wb-FreeKill Posted September 21, 2005 Posted September 21, 2005 I would prefere you guys speaks english
Raindancer Posted September 21, 2005 Posted September 21, 2005 I would preffere to have an German Forum... Already thinking about to set up one on my Homepage... Sorry... We were talking about that he isn't able to include an other Script with #include. While here at my side it isn't a problem. it works. Now I've asked him to try the same thing with the Beta. Maybe we've found a Bug in the Release version of AutoIt. Waiting for his answer... Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer
Crash_Master Posted September 21, 2005 Author Posted September 21, 2005 Now I have installed the v3.1.1.75 beta. But it isnt work correctly. Test2.au3 is showing the MsgBox, if I call Test1.au3 the message is not showed.
Raindancer Posted September 21, 2005 Posted September 21, 2005 (edited) In you first Post you've written #inlcude instead of #include... Maybe just that Edit: Habe es beim ersten mal eben mit eigenem COde probiert und dachte jetzt machste mal copy&paste Edited September 21, 2005 by Raindancer Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer
Crash_Master Posted September 21, 2005 Author Posted September 21, 2005 Fuck...kick me for this stupid failure. That´s it. I wrote "inlcude" instead "include". Now it works fine. Thx for your great help... Bye Crash
Raindancer Posted September 21, 2005 Posted September 21, 2005 Get yourself Scite4AutoIt. you'll love it... much easier to code Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now