Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Display last-connected-iPod's serial number in iTunes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Display last-connected-iPod's serial number in iTunes
Authored by: sweth on Jan 27, '06 07:28:02PM
Or you could just accomplish the same thing with a single awk command and no applescript:

defaults read com.apple.iPod | awk -F= '/Connected/ { DATE=$2 }; /Serial Number/ { print $2, DATE }'


[ Reply to This | # ]
Display last-connected-iPod's serial number in iTunes
Authored by: mark hunte on Jan 28, '06 03:17:19AM

My god thats much less messy, I really have to read up on awk more

Thanks.

---
mh



[ Reply to This | # ]