AnsweredAssumed Answered

(Apple) Remote Desktop and Get( ActiveModifierKeys )

Question asked by Adriaan on Feb 15, 2018
Latest reply on Jul 10, 2018 by mrwatson-gbs

Until (Apple) Remote Desktop version 3.9.1 or 3.9.2, this function was working on a remote computer in the same way as on the local computer.

Since Remote Desktop 3.9.2 or 3.9.3, FileMaker on the remote computer still captures Get( ActiveModifierKeys ) when hitting a modifier key togheter wiith an alpha-numeric key (cmd-shift-A, etc.) but it is not captured (or cleared) on other actions like mouse clicks.

This happens with all FM versions 13, 14, 15, 16

1. Make a layout with a field

2. Make a button with a single step : Set Variable [ $$_key ; Get( ActiveModifierKeys ) ]

3. Open this file on a remote computer with Remote Desktop or Screen Sharing

4. Type in the field : hello

    Click the button

    Look in the Data Viewer for the value of $$_key => 0

    Type in the field : HELLO

    Click the button

    Look in the Data Viewer for the value of $$_key => 1

    Hit on the keyboard command-L to go in layout mode

    Hit on the keyboard command-B to go in browse mode

    Click the button

    Look in the Data Viewer for the value of $$_key => 16

    Click in the field

    Hit on the keyboard command-A

    Hit on the keyboard command-C

    Click the button

    Look in the Data Viewer for the value of $$_key => 16

    Click in the field

    Hit on the keyboard command-option-shift-V

    Click the button

    Look in the Data Viewer for the value of $$_key => 25

    Type in the field : hello

    Click the button

    Look in the Data Viewer for the value of $$_key => 0

    etc.

 

Do this same sequence on a local computer, and you get a different result !

On the local computer, the ActiveModifierKeys status is also captured on the click event.

By clicking the button, $$_key is always 0 except when you press a modifier key while clicking on the button.     

Since this behaviour, it is not possible anymore to use 'powerfunctions' with buttons that execute different scriptsteps based on the modifier keys alt, alt-shift etc.

 

I need this so much for support to my clients. I used to include usefull support information and functions by alt-shift clicking buttons. That way, remote support was so much more efficient.

Outcomes