I need to get the MAC address of my computer, and store that address in FileMaker. Can someone please tell me how to do this! I am running system 9.2.2! I must do this where the user is now aware that we are grabbing this information.
If you have Akua Sweets, use this:
default ethernet address
It seems to only return the built in (not necessarily the active) ethernet address and sometimes it crashes my system. If you have more than one NIC or you don’t want to install Akua Sweets, try this out:
tell app "Apple System Profiler"
set atInfo to AppleTalk info
set atAddress to AppleTalk address of atInfo
end tell
atAddress
This code works best if you have only one NIC, too, since it returns a list of installed NICs.
The problem is, I need to be able to retrieve the NIC/MAC number, and have this poplulate a field in FileMaker.
The customer wants this to be:
A. Undetecatable to the person using FileMaker
B. Grab the NIC Number and place this in a field in FileMaker
C. Must work with OS 9.1 to 9.2.2
It would function like this:
The user would open FileMaker, Applescript would run and grab the Macs NIC number. This number would be then passed to FileMaker, and FileMaker would save this information in a field.
Thank you for your assistance!