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

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

Recommended Posts

Posted

Not sure what forum would be appropriate for this question, so here goes: I have a client who wants to be able to execute a Windows "print" command on any Windows document, from within FMP. This is analogous to a user right-clicking on a file and selecting "Print" from the pop up menu. We're using Troi File to get file paths but there isn't any Troi command to specifically do this, that I can tell (eventually we want to be able to compile a list of files with Troi File and have all documents open, print and close, in sucession).

As well, there doesn't seem to be a way to have Troi launch a program; all it can do is open a document, which in turn launches it's parent app. However, my client wants a button in FMP that just runs his scanning software. Any ideas?

Thanks,

Gary Brusanowski

Utopian, Inc.

Posted

You can launch a file in at least 2 ways: From Troi, use TRFile-Launch (as you suggest). You can also use 'Send DDE Execute', which is a script command down at the bottom of the list.

The Print Command on the right click menu opens the app that created the file and executes its Print command. I don't know a way to trigger it from within Filemaker.

Steve

Posted

WinBatch can do what you want. It executes the Print Command using whatever is the default printer by opening the app, executing its Print command, and then closing the app.

Steve

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