Open Preferences KM Action (issues)

Can I assume this is for your OCR speed test macro? If so, you could use something like this to gather system info instead of having to open System Settings:

Shell Script
#!/bin/bash

# Get system information for macOS

# Get OS version
os_version=$(sw_vers -productVersion)

# Get hardware information
hardware_info=$(sysctl -n machdep.cpu.brand_string)

# Get total RAM
total_ram=$(sysctl -n hw.memsize | awk '{print $0/1073741824 " GB"}')

# Get screen resolution and size
screen_resolution=$(system_profiler SPDisplaysDataType | grep 'Resolution' | awk '{print $2, $3, $4}')

# Combine information into a multi-line string
system_info="Hardware Info: $hardware_info
OS Version: $os_version
Total RAM: $total_ram
Screen Resolution: $screen_resolution"

# Print system information
echo "$system_info"