Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Content Freeze

As of July 25th, 2023, there is a content freeze on this page.

This setting controls the pattern Genie uses to detect function key labels on screen when creating links/buttons for function keys. 

Default setting:

pui["function key pattern"] = "^(F|CA|CF|CK|CMD)([0-9]{1,2})([=:-])(.*)$";

The default pattern shown detects function key labels starting with F, CA, CF, CK, or CMD, followed by a key number and a separator character (=, :, or -), and then some text. Function key labels are matched using this string as a regular expression pattern. The pattern specified must capture the key prefix, key number, separator, and label text separately as shown above.

Where do you save this configuration option?  Here


Alternate Syntax
 pui["function key pattern"] = /^(F|CA|CF|CK|CMD)([0-9]{1,2})([=:-])(.*)$/i;

The alternate syntax is available after Profound UI V6 FP2.0. It permits you to set the pattern to a RegExp object, allowing you to avoid problems escaping certain characters, such as the backslash (\).

  • No labels