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

Auto entering a print window


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

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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