Hi Dojo,
Does anyone know if it's possible to fetch the MAC Address, from the PC which is connecting to Cube, inside of an automation script?
We would like to be able to showcase specific information depending on the PC which is used to trigger an Automation Script. To show devices close to them.
Kind regards,
Hi Ive,
Many thanks for your comment. I can rework my design to get it triggered from a Visual, and then use the [fistMAC] or [thisMAC] placehoder.
Hi Stacey,
It is possible to do so. Only condition is that the script is launched in context of Visual Overview.
Reproduction steps:
1. Create a Visual Overview with 2 card/page variables.
These are filled in with creates placeholders "ThisMac" and "FirstMac"
Sources:
- Configuring the shape data field
- Placeholders for variables in shape data values
2. Adjust your automation script so it takes the session variables as input arguments from Visual Overview.
Example: "Script:MyScript||MyValue=[var:MyVar]|||NoConfirmation"
3. ?????
4. Profit
I do hope this will work and helps you further.
with Kind regards,
Hi Stacey,
As far as I know, it’s not possible to get the client’s MAC address in an automation script (unless it’s triggered from a visual overview).
However, you can extract the client hostname. Would that help for what you try to achieve?