Hi can anyone tell me why this bit of code wont work?
its a simple copy function but i cant seem to get it to runCode:local SellectedGif = {}; local tDest = ""; tDest = _SourceFolder.."AutoPlay\\WorkingFolder\\"; tDest = tDest.."a.gif"; SellectedGif = Dialog.FileBrowse(true, "Locate the .Gif File", _DesktopFolder, "All Files (*.*)|*.*|", "", "gif", false, false); if SellectedGif[1]~="" and SellectedGif[1]~=IDCANCEL then SourceGif = SellectedGif[1]; File.Copy(SourceGif, tDest, true, true, false, true, nil); if File.DoesExist(tDest) then Label.SetVisible("gifOK", true); Input.SetText("Input1",String.SplitPath(SourceGif).Filename..String.SplitPath(SourceGif).Extension); end end

. That was driving me crazy 