Try messagebox "@V"file"" @V"file" is just a substitute in run-time replaced with the actual value. So if you have a file C:\Program Files\My Program\Data\file.txt and you use @V"file" without surrounding double-quotes you would get the following in run-time messagebox C:\Program Files\My Program\Data\file.txt This in turn will cause script syntax errors. With double-quotes you would get messagebox "C:\Program Files\My Program\Data\file.txt" which is ok. : I'm running version 3.4.17. : I'm trying to use the name of a trigger file : in my script. However, the @V macro is : generating a syntax error. : Even a script with this one line is failing: messagebox @V"file" : The job is setup as type : "When certain files are found", and : the job is firing correctly. : Any suggestions?
|