uplink477 Posted March 28, 2008 Share Posted March 28, 2008 Hi everyone, i was just wondering if anyone has any advise on my idea. Basically i want my script to have the ability to update functions or create functions while it is running and be able to use these functions. If anyone has had any experience with this or any advise on how i might go about achieving this please post a reply. Link to comment Share on other sites More sharing options...
Swift Posted March 28, 2008 Share Posted March 28, 2008 that'll most likely require a dll file... Link to comment Share on other sites More sharing options...
Richard Robertson Posted March 28, 2008 Share Posted March 28, 2008 It doesn't work that way. AutoIt does not currently (and as far as I know, not planned to) support runtime defined functions. Link to comment Share on other sites More sharing options...
uplink477 Posted March 28, 2008 Author Share Posted March 28, 2008 hmmm ok have a look at this script for me. it doesnt quite work yet but iam getting closer. :config.ini [functions] get=inetget(http://www.google.com/index.html,"C:\index.html",1,0) :functions.au3 $var = IniReadSection("config.ini", "functions") while 1 For $i = 1 To $var[0][0] MsgBox(4096, "", "Key: " & $var[$i][0] & @CRLF & "Value: " & $var[$i][1]) $Name = $var[$i][0] $func = $var[$i][1] $cmd = InputBox ( "Enter Command", "Please enter a Command","get") if $cmd = $name then Run(@AutoItExe & ' /AutoIt3ExecuteLine ' & '"' & $func & '"' ) Next wend Link to comment Share on other sites More sharing options...
Siao Posted March 28, 2008 Share Posted March 28, 2008 (edited) Beats me why such thing is necessary, but there is some work done in that direction, such as...http://www.autoitscript.com/forum/index.php?showtopic=64582http://www.autoitscript.com/forum/index.php?showtopic=17728Learn to use search and life will become easier. Edited March 28, 2008 by Siao "be smart, drink your wine" Link to comment Share on other sites More sharing options...
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