Networked PCs
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Networked PCs
Is it possible to get and return the names of PCs on a local network? I've checked the docs and looked at the global variables list but couldn't find any thing on the subject.
Re: Networked PCs
does this do the trick for you?
Code: Select all
put shell("net view")
Re: Networked PCs
Hi Deebee,
Could tell us a little more about what you want to do? I could help you with a simple broadcasting script. You could use such a script to find all copies of your application on a network, for example. An app of mine that does this is Clipboard Link. Although you are talking about "PC's", I could imagine that you want to find Windows, Mac OS X as well as Linux machines.
Best,
Mark
Could tell us a little more about what you want to do? I could help you with a simple broadcasting script. You could use such a script to find all copies of your application on a network, for example. An app of mine that does this is Clipboard Link. Although you are talking about "PC's", I could imagine that you want to find Windows, Mac OS X as well as Linux machines.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Networked PCs
mwieder,
I'm totally green to programming so I'll have to try that after work tonight.
Thanks!
Mark,
I'm just trying to get the names of the computers on the LAN to store them into an array or variables. Windows only, as I'm just trying to reinvent the wheel and do my own GUI to send commands to windows shutdown. I figured it might be something fairly simple to do to help me learn a bit.
Thanks!
I'm totally green to programming so I'll have to try that after work tonight.
Thanks!
Mark,
I'm just trying to get the names of the computers on the LAN to store them into an array or variables. Windows only, as I'm just trying to reinvent the wheel and do my own GUI to send commands to windows shutdown. I figured it might be something fairly simple to do to help me learn a bit.
Thanks!
Re: Networked PCs
But, Deebee, why do you want that? Just for the fun of displaying the names?!
Mark
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Networked PCs


Re: Networked PCs
This actually accomplishes what I want, thank you!mwieder wrote:does this do the trick for you?
Code: Select all
put shell("net view")
Re: Networked PCs
Thanks for explaining, Deebee. It always helps to know what people are trying to achieve.
Best,
Mark
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode