Sign in to follow this  
Followers 0
Alek

Fileinstall problem

3 posts in this topic

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 :whistle:

FileInstall(@ScriptDir & "\Shadow.png",@TempDir & "\Shadow.png",1)

[font="Impact"]Never fear, I is here.[/font]

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

oh, thought it could be a @dir and not a $dir :whistle:

a well, i remove the @scriptdir and it worked


[font="Impact"]Never fear, I is here.[/font]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0