Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6956 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

  • 2 weeks later...
Posted

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]

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.