• 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
concat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

concat


  • Subject: concat
  • From: Robert Poland <email@hidden>
  • Date: Wed, 11 Jun 2003 22:02:06 -0600

Hi,

The following script fails only at a cold boot. I think that sysID is
returned as a series of 2 character strings. To test that theory I
wanted to concat sysID. Is that even possible?
I can't seem to find concat in any dictionary.

tell application "Finder"
set iMac to false
set iBook to false
set procs to name of every process
set sysID to "" & ((words 2 thru -1 of (do shell script
"ifconfig en0 | grep 'ether'")) as string)
if sysID is equal to "0003936a9456" then -- iMac ethenet address
set iMac to true
else if sysID is equal to "000a27ac6ca0" then -- iBook ethenet address
set iBook to true
end if
end tell

--
Bob Poland - Englewood, CO
http://www.ibrb.org/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: concat
      • From: Joshua See <email@hidden>
  • Prev by Date: Re: creating temp files??
  • Next by Date: Re: creating temp files??
  • Previous by thread: Re: Finding only visible files...
  • Next by thread: Re: concat
  • Index(es):
    • Date
    • Thread