MerkurAlex Posted August 9, 2007 Posted August 9, 2007 okay i have an inputbox and a button i want to be able to enter in code to the inputbox and press the button wich should then run the code so say i have a function called BLAH() and i enter that in the input and press the button it would execute that function it should also execute the normal autoit functions... im lost on this i tried a couple things [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]
Vardebedian Posted August 9, 2007 Posted August 9, 2007 okay i have an inputbox and a button i want to be able to enter in code to the inputbox and press the button wich should then run the code so say i have a function called BLAH() and i enter that in the input and press the button it would execute that function it should also execute the normal autoit functions... im lost on this i tried a couple things This is a very simple input evaluator: you may use functions, but there are limits. See doc about execute function. ;/////////////////////////////////////// ;InputEval.au3 ;9.8.2007 ;/////////////////////////////////////// $sOut = "Simple input evaluator" do $sEsp = InputBox ( "InputEval", $sOut) $sOut = execute($sEsp) until $sEsp = "" '///////////////////////////// func pigreco() '///////////////////////////// return(4*ATan(1)) EndFunc Bye.
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