﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
4113	Make version of Execute() that can take multiple lines.	anonymous		"I am a ware of /AutoIt3ExecuteScript switch which allows me to run entire script with my compiled autoit exe. But problem is that this doesn't allow passing context. 

Example code to illustrate how I would like to interact with context.
{{{#!autoit lineno=1
Func Example($DynamicCode)
	$ContextVariable = ""Untitled - Notepad""
	$hWnd = Execute($DynamicCode)
	WinActivate($hWnd)
EndFunc   ;==>Example

$DynamicCode = ""$aList = WinList()"" & @CRLF & _
""For $i = 1 To $aList[0][0]"" & @CRLF & _
""	If $aList[$i][0] = $ContextVariable Then"" & @CRLF & _
""		return $aList[$i][1]"" & @CRLF & _
""	EndIf"" & @CRLF & _
""Next""

Example($DynamicCode)
}}}

And likewise assignment to $ContextVariable inside that $DynamicCode string would change the value of $ContextVariable that Example function sees."	Feature Request	new		AutoIt		None			
