Alek Posted July 17, 2007 Share Posted July 17, 2007 when i try to use fileinstall it works when i run the script but when i try to compile the script i get a error saying invalid function FileInstall(@ScriptDir & "\Shadow.png",@TempDir & "\Shadow.png",1) [font="Impact"]Never fear, I is here.[/font] Link to comment Share on other sites More sharing options...
SkiFreak Posted July 17, 2007 Share Posted July 17, 2007 FileInstall(@ScriptDir & "\Shadow.png",@TempDir & "\Shadow.png",1) AutoIt help says: The source file must be a string and not a variable so that the compiler can extract the filename to include. The source cannot contain wildcards. Link to comment Share on other sites More sharing options...
Alek Posted July 17, 2007 Author Share Posted July 17, 2007 oh, thought it could be a @dir and not a $dir a well, i remove the @scriptdir and it worked [font="Impact"]Never fear, I is here.[/font] 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