• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 291
  • Last Modified:

Xtra to get the Mac Address of the computer (both PC and Mac)

I need to get the Mac Address of the computer I am on (for serial generating purposes), but I haven't come across anything that would help, except for http://www.experts-exchange.com/Programming/Programming_Platforms/Mac_Prog/Q_20452808.html      .  AJ_Brindley had created an xtra (it would seam) to do just this.  Does anyone know where I could get his xtra, or know of an Xtra or some straight forward way of doing this (no command prompts or shells please, and I would rather not program this xtra myself if it has already been done).

--BackBayChef
www.backbaychef.com
0
backbaychef
Asked:
backbaychef
  • 2
  • 2
1 Solution
 
MediaMacrosCommented:
MUS Xtra might be able to help.  I know it can get the local IP.  Might have some luck on Mac Address. You can also use the Shell Xtra from
http://staff.dasdeck.de/valentin/xtras/shell/
TO send commands and get back results from the OS Shell.
0
 
backbaychefAuthor Commented:
It is a great xtra, I tried it out, but I am trying to avoid the shell access, as it can become very messy trying to isolate those things and I am trying to support OS 9 as well as OS X and Windows.
0
 
MediaMacrosCommented:
I found this for the PC...
http://tenothree.com/xtras/To3GetMac.zip

It claims to get the Mac addresses (some Machines amy not have any if there is no network card.

You can also use ipConfig on the PC to store a text file you then read with the info, and applescript can do this on the Mac.

I don't know of any other method other than creating a custom Xtra.  We have done this in the past for things like parsing CSV files, etc, so Mac address shoudl not be that difficult to get bundled in an Xtra.
0
 
backbaychefAuthor Commented:
Well I think I will just use the shell script as that is still OS X and Windows compatible.  Thanks for your help, it seams that you know your stuff.

--BackBayChef
www.backbaychef.com
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now