xtrim Posted October 28, 2005 Posted October 28, 2005 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?
xtrim Posted November 7, 2005 Author Posted November 7, 2005 SO there is no way to send a command line with more then 1 parameter?
SlimJim Posted November 7, 2005 Posted November 7, 2005 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]
Recommended Posts
This topic is 6956 days old. Please don't post here. Open a new topic instead.
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