Write serial number on txt
Hi all,
i'm wondering if thre's a way to have an applescript get serial number and write it on a txt file.
Thanks!
Hi all,
i'm wondering if thre's a way to have an applescript get serial number and write it on a txt file.
Thanks!
Can you better define your situation?
Get what serial number?
Your Mac's serial number? the serial number of a specific application?
Writing the data to a file is easy enough, it's the source of your data that's unknown.
Thank you all, it was sure-easy and now it's solved!
btw, it was mac serial number... !
In Terminal, copy and paste:
ioreg -l | awk -F\" ' /IOPlatformSerialNumber/ { print $4 } ' | open -f
Export from TextEdit or Duplicate.
Write serial number on txt