November 11, 200916 yr Is there a script call that will allow you to copy information to the windows clipboard? I have a client who in their previous software was able to hit Ctrl-P and it would copy the record's name, address, city, state, zip and phone number to the clipboard, so all they would have to do when they wanted the info would be to open word or their email and paste it in without typing it out. Is there a function that would allow me to create a script for a similar behavior. Wouldn't necessarily have to be Ctrl-P, any shortcut would be quicker than typing the information out. Thanks
November 11, 200916 yr There is a script step that allows you to copy a fields contents. Copy [ ] You will need to make a calculation field that has name, etc in it and then put that as the field to copy in the script step. As far as the Ctrl + P functionality, I could see that being confusing since Ctrl (or Command) + P is print. It can be done though using custom menus (you will need FileMaker Advanced) and setting a shortcut. If you don't have advanced or don't want to muck around with custom menus, I would slide it to the top of the scripts menu and set it to show. Then it could be called using Ctrl + 1. In this case, I would add an If [ Get ( LayoutTableName ) = "whatYouExpect" ] around the whole thing so you don't call it on the wrong context and get a weird result.... or use a button.
November 11, 200916 yr Author I will give that a try and see how the end result works, thank you for the reply.
Create an account or sign in to comment