Reading Hardware-UUID with Java Script

Viewing 1 reply thread
  • Author
    Posts
  • March 1, 2020 at 6:26 AM #39694

    Chris Ju
    Participant

    Hello,

    does anyone have the programming code in java script for reading the Hardware-UUID?

    Terminal command from stackflow:

    ioreg -rd1 -c IOPlatformExpertDevice | awk '/IOPlatformUUID/ { split($0, line, "\""); printf("%s\n", line[4]); }'

    I want Tap Forms to read the Hardware-UUID and write it to a field on every change of an entry. The next step could be to add a log entry (in a log form) for changes … on every change a new entry in the log form will be generated (one time calculation)…

    Thanks a lot
    Chris

    March 3, 2020 at 1:44 AM #39703

    Brendan
    Keymaster

    Hi Chris,

    I haven’t written an interface to get the hardware UUID.

    But you can get the device name using this code:

    var deviceName = Utils.getDeviceName();

    Thanks,

    Brendan

Viewing 1 reply thread

You must be logged in to reply to this topic.