disabled_Luna.media

How to save an *.ics file to harddisk?

Discussion created by disabled_Luna.media on Jun 2, 2014
Latest reply on Jun 2, 2014 by disabled_Luna.media

Hi there,

 

I am struggling with a very small script that should put a (correctly) ics-calender-string to the harddisk of a filemaker-user. The two lines are:

 

Variable setzen [ $Pfad; Wert:Hole(TemporärerPfad) & "event.ics" ]

Exportiere alle Feldwerte [ Telefonbenutzer::gGebDatumICS; “$path” ]

 

In English it should read somehow like:

Set Variable [ $path; Value: Get/TemporaryPath" & "ebent-ics" ]

Export all Field-Values [ Table:field_with_ics_string; "$path" ]

 

If I hit a button with that script an error occurs: ""$path" konnte auf diesem Datenträger nicht erstellt werden. Verwenden Sie einen anderen Namen, schaffen Sie mehr Platz, heben Sie den Schreibschutz auf oder benutzen Sie einen anderen Datenträger."

 

In English: "$path" could not be created on this disk. Use a different name, make more diskspace, lift the write protection or use another disk."

 

As I have enough space some other setting might be wrong. I am working on a Mac OX 10.9.3 wih FM 13 Advanced Pro.

 

Any hints?

Luna

 

Outcomes