Matt Leach Posted November 11, 2009 Posted November 11, 2009 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
LaurenKuhlman Posted November 11, 2009 Posted November 11, 2009 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.
Matt Leach Posted November 11, 2009 Author Posted November 11, 2009 I will give that a try and see how the end result works, thank you for the reply.
LaurenKuhlman Posted December 3, 2009 Posted December 3, 2009 Matt, just checking in. How did that work out for you?
Recommended Posts
This topic is 5743 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 accountSign in
Already have an account? Sign in here.
Sign In Now