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

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

Recommended Posts

Posted

I am writing an applescript that will auto print two layout pages in Filemaker (the applescript does way more than this, but this is the part that matters for this part). The print window comes up and I have to save the postscript files to the desktop. The prompt window comes up requesting what I want the name of the postscript file name to be. I want the name to be the database name_1.ps for one and _2.ps for the other. How can I have that auto populate?

Posted

I am not sure what you mean by your question. I HAVE to print the files to postscript on my desktop, so, when my print window comes up it requires me to put in a name of the output file. The name MUST be the specific names I quoted above. I am sure this is not a command for FM, rather for the Finder. Do you know how I could do it better? I am looking for any suggestions. The only required outputs are that I get a PS file output with the exact names quoted above.

Posted

You can't "auto-populate" the save dialog AFAIK (although it seems to me there's a plugin that does this), but if you can get it to save the ps file with a default name, then you can tell the Finder to rename the file afterwards. Status (CurrentFileName) & "_1.ps" will give you the name.

Posted

Most FileMaker developers use DialogMagic for this functionality, but with AppleScript there are alternatives. Using a scripting addition you can simulate key strokes. The ones I

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