• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Remove colon from MAC adress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remove colon from MAC adress


  • Subject: Remove colon from MAC adress
  • From: Arnold Nefkens <email@hidden>
  • Date: Mon, 4 Feb 2008 20:12:57 +0100

Hello List,


I'm quite new to the AppleScript studio, and trying to build several applications.


In one of them we need the hw adress of the primary ethernet port. So far no problem.

set allInfo to system info
set MacAdress to primary Ethernet address of allInfo as text

But the variable MacAdress is set in the format 00:00:00:00 etc.

Is there a way to remove the colon? We need the script to create a file wich has the Primary Eth HW adres in the name...

Can someone help?

Thanks in advance..

---

Arnold Nefkens

Nefkens Advies

email@hidden

Apple Certified Desktop Technician
Apple Certified Portable Technician
Apple Certified Helpdesk Specialist
Apple Certified Technical Coordinator
Apple Certified System Administrator



_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Remove colon from MAC adress
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Scripting iBackup app
  • Next by Date: Re: Remove colon from MAC adress
  • Previous by thread: Scripting iBackup app
  • Next by thread: Re: Remove colon from MAC adress
  • Index(es):
    • Date
    • Thread