October 28, 200520 yr Hi, I need to be able to import files from the web - everyday new file. I wish to automate this, but the problem is that the file/link cannot be a caculation. I tried with "open url" and a batch file that downloads the files automatically but "open url" does not work well with parameters (it just ignores the whole thing).... So...it looks like i'm stuck. Any suggestions?
November 7, 200520 yr If you are running a batch file you should use Send Event rather than Open URL. The example below uses a Send Event with a calculation which specifies a batch file to delete a file from disk given by a file name in a field. This is of course only one parameter but you can add as many as you like by simply separating them with spaces (and ensuring that there are no spaces in the parameter or the parameter is enclosed by "") Send Event["aevt";"odoc";"e:delfile.bat" & " " & Document Library::WinURL]
Create an account or sign in to comment