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

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

Recommended Posts

Posted

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

Posted

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.

  • 3 weeks later...

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