﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
125	codexecute	spyrorocks		"Hey au3dev team!

I have been using autoit for over 2 years now, and time and time again I have been wanting a special function...

some sort of a executecode() or au3exc() type function that would/could work something like this:

$code = 'for $i = 0 to 5'&@crlf&'msgbox(0,"""", $i)'&@crlf&'next'
au3exc($code)

Then the autoit code inside $code would be ran. Some options to have its own environment would be cool as well, and make it more dynamic such as something like this:

$environment = au3createenvrio()
au3exc(""func hello()""&@crlf&""//code....""&""endfunc"", $environment)
au3exc(""hello()"", $environment)
au3exc(""msgbox(0, '', 'hello dude this code does not have access to the hello() function because its not using the environment that the hello function was created in')"")

Any code not executed in a special created environment  would be executed in the main autoit environment.

The environment could also share variables and such. I believe functions like this would bring autoit to a new level of awesomeness as well as opening up many new types of applications, like a better web preprocessor.

I hope you consider this, it is my dream autoit function(s), and if its hard to understand I encourage you to email me or PM me on the au3 forums.

Thanks for listening,
Spyrorocks [spyrorocks@gmail.com]"	Feature Request	closed		AutoIt			Rejected		
