concat
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.