SkellySoul Posted December 22, 2010 Share Posted December 22, 2010 (edited) Hello I understand that you cannot use "macros" in FileInstall but I have heard that you are actually able to use "macros" in FileInstall as long as they are only used for the destination. I am wondering is this true. Example: FileInstall(@ScriptDir & "\Test.jpg" , @HomeDrive "\Test.jpg") The above code shouldn't work but if what I heard is true then this should be able to work. FileInstall("Test.jpg" , @HomeDrive "\Test.jpg") Please explain if this is true or if no "macro" what so ever can be used at all. Thanks and Merry Christmas [Edited] I am also wondering could the destination be a variable Edited December 22, 2010 by SkellySoul Link to comment Share on other sites More sharing options...
wakillon Posted December 22, 2010 Share Posted December 22, 2010 (edited) Macro can be use in second part of FileInstall function FileInstall("Test.jpg" , @HomeDrive & "\Test.jpg") Don't forget the & character Edited December 22, 2010 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts 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