Sign in to follow this  
Followers 0
Crash_Master

#inlcude question

10 posts in this topic

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

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

I would prefere you guys speaks english

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

#8 ·  Posted (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 by Raindancer

Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

Share this post


Link to post
Share on other sites

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

Share this post


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
Sign in to follow this  
Followers 0