TrashBoat Posted July 14, 2017 Posted July 14, 2017 Is this possible: Executing a function from an include, but taking the function name from a gui input and then executing that function using the include: #include <Something.au3> ;input reads "Tree" $functionName = GuiCtrlRead($input1) $functionName(1) And the include is gonna have Func Tree($x) If $x = 1 Then $this = "text" MsgBox(0,$this,"whatever") EndFunc is it possible?
Trong Posted July 14, 2017 Posted July 14, 2017 check out: Call ( "function" [, param1 [, param2 [, paramN]]] ) Enjoy my work? Buy me a 🍻 or tip via ❤️ PayPal
TrashBoat Posted July 14, 2017 Author Posted July 14, 2017 5 minutes ago, Trong said: check out: Call ( "function" [, param1 [, param2 [, paramN]]] ) Yes it worked! Thanks!
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