July 30, 200421 yr 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.
July 30, 200421 yr 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
July 30, 200421 yr 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
Create an account or sign in to comment