Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Run Function located in main script from included sub script

$
0
0
Hi!

lets say i have my main script main.au3, that among other things contains this:

[ autoit ]      
#include<subscript.au3> func logg($TextToLog) FileWrite("log.txt", $TextToLog) EndFunc

Is there anyway that a function located in subscript.au3 can run the logg function from main.au3?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>