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

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

Recommended Posts

Posted

hello all...

i want to know how to

1 - create

&

2 - write

to a text file. its main purpose will be to write log-in activity of the user and nothing else. since the program wll run on stand-alone workstations [no server for sharing]...each workstation will have its own log file. for now all i want to know is how to create and then write info to a text-file. rest i think i can manage once i have a starting point.

thanx in advance for the help.

Posted

thanx for the replies guyes. i'll look into the example. and yes, comment, i'm also looking into the possibility of setting up a database to log the user activity. but was hoping if it can be done through textfiles and scripts directly.

Posted

Filemaker cannot write (append) to a text file natively. You can use OS scripting (VBS on Windows, Applescript on Mac OS X), or a plugin, but the "direct" (and simple) approach would be to handle this within the solution itself.

Posted

I agree, A simple text field would allow you to log what you need to (triggered by running a script upon opening or closing a file) If you really need it as a text file, add a "Export Field Contents" script step to your script. There may be a reason to use an OS level script to do this (and maybe other things) but if you do this entirely in filemaker it is more likly to continue to work reguardless of the enviroment it is running in.

This topic is 6040 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.