Setting an Fkey (F12) to a macro on a Mac?

Trying to help a friend using Rhino for Mac. On my Win 10 machine my F12 calls up a Python script. My macro is:

_-RunPythonScript “C:\Users\NAME\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts\samples\”

What would be the correct text/syntax/path on a Mac?

This page explains how to set scripts up to run on both Windows and Mac. (mid-article)

As far as the “F” keys are concerned, as far as I know, unlike Windows, on MacOS they are normally reserved for OS functions. So you might want to consider running the script from another type of keyboard shortcut or an alias.

Thanks. I forwarded on that info.