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

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

Recommended Posts

Posted

Hello,

 

Maybe I've been searching using the wrong searchwords but I can't find an answer to my question.  I only seem to find answers about catching keystrokes and not sending them.

I have a button which should send the 'ctrl+shift+z' keyboard strokes when clicked.  This keyboard shortcut makes our phone dial the selected phone number automatically.

We are working on windows FM 13.

 

How can I script this?

 

Thank you for reading and eventually answering my question.

Posted
This keyboard shortcut makes our phone dial the selected phone number automatically.
 
This is rather confusing. Is it possible that you have a custom menu installed, assigning this keyboard shortcut to call the (Filemaker's native) Dial Phone[] script step? If that is the case, then set your button to perform the same script step directly.
Posted

The software of our telephone system reacts to the keyboard shortcut ctrl+shift+z in whatever software we work. 

 

In my script I select the phone number field (which is necessary to enable the phone software - not filemaker -  to copy the number) and then I need to simulate pressing the ctrl+shift+z keys in my filemaker script to start dialing the phone number automatically (through the phones software).

Posted

FM can't do it, you have to integrate with the OS for that.  On Windows that's VBscript or PowerShell through the OS "SendKeys" functionality, needs to be done through the FM SendEvent script step.  I'm sure something similar exists on OSX through AppleScript.

Posted

Depending on the phone software, you should also be able to send a procedure call to it, with the phone number as a parameter. Have you looked into that route?

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