Hi Warren -

ifconfig on osx (or is it ifup?), and ipconfig on the pc also will spit out this information - both are accessible to each environment's shell, and you can easily write to a text file w/ the shell - on windows something along c:\>ipconfig -all > c:\ipinfo.txt would do it - but the problem w/ starting down this approach is that it's the shell that's handling the i/o (with the > in windows, and pipe in osx), not ipconfig or ifconfig themselves. So, 1) it's hard to get director to run 'ipconfig -all > c:\ipinfo.txt' with the command prompt. You can do open 'cmd' , and you can do open 'ipconfig' with success through the message window, but you have no ability to direct where ipconfig is throwing it's info. (Afaik, it's not possible to do something like "OPEN 'ipconfig -all > c:\ipinfo.txt' WITH CMD" (perhaps MasterApp? is that cross-plat?) Since Director doesn't (afaik) handle i/o, you need to find a way to execute either of those programs w/ a program that can. I thought of pre-compiling some PERL just because it came to my mind first as a good i/o handler. I may be thinking about this wrong and don't have a ton of time on hand to try something out (when I do, I will though!), but it may start you on the right track...oh - and opposite of what everyone was saying about no eth card, I'd worry more about multiple cards...

Cheers,
Evan

Warren Ockrassa wrote:

Asked this on Direct-L yesterday but no one seemed to have the answer I was looking for.

I'm wondering if anyone knows of a means (ideally with an Xtra, not something like AppleScript or VBScript) to find out the hardware address of a given system's ethernet card.

Bonus points for finding out things like CPU and HD serial numbers!

I know it's doable in theory; I'm just wondering if anyone's actually managed it in practice.

Thanks!


Warren Ockrassa | President, nightwares LLC [EMAIL PROTECTED] nightwares LLC | Consulting Programming http://www.nightwares.com/ Author | Director 8.5 Shockwave Studio: A Beginner's Guide Chapter samples | http://www.nightwares.com/director_beginners_guide/

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]



--



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


*m u t a n t m e d i a* > /solutions for success // // / *Evan Adelman* | 646.894.3106 | 303 E 71st St NY NY 10021 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> | www.mutantmedia.com <http://www.mutantmedia.com>


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to