Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sending ctrl+shift+z keystroke when pressing button

Featured Replies

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.

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.
  • Author

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).

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.

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?

  • Author

@wim @Josh,  that's what I was afraid of ;-)

I'll look into your suggestions.  A new occasion to learn something new.

 

Thx!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.