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

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

Recommended Posts

Posted

I need to create a script that will run every few minutes automatically. Can the script be triggered to run from within FileMaker or would I have to use an external source?

Posted

External source. What are you trying to do with this script?

Posted

I want to find records that have been "marked" for printing by a user. I plan on setting up a machine just for the sole purpose of running a script lets say every 5 minutes to search for these "marked" records in order to print them as a pdf. The final step will be to then email the pdf to the user or possibly store it in a container field for the user to download.....the reason behind all of this is because the user environment will be IWP.

Thanks.

Posted (edited)

Well if its on a dedicated machine and that is the machines only purpose...

Loop

Pause/Resume Script [Duration (seconds): 300]

{script steps you want to execute}

End Loop

On a side note if a user is "marking" the records they want to print why not use a button that will execute your script?

Edited by Guest
Posted

Thank you for your response. The reason I cannot execute the script from the user side is because IWP does not support printing. If you know of a way that a pdf could be printed in IWP I would be delighted to hear how.

Thanks for your help.

Posted

No? Sorry, excuse my ignorance as I have not yet had to deal with IWP. I wonder if the good folks in the Apple Script forum could help you devise an Apple script to perform these tasks Server Side?

Posted

Is it an ordinary version that runs as IWP server? if so put it in the initiation script. When ever any other script is performed resume the initiation script again after completion.

You could make a compiled applescript you in the initiaion starts ...but be carefull none of the fields should be shared in common with the userinterfaces since no-one are likely to hear when the applescript bleeps over denied access. I could be done with calcfields relaying the values.

--sd

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