Thanks, David! 

Tom: The clipboard wouldn't have worked for what I wanted to do, as
you'll see below.

This is what I came up with:

Goal: To access SlimServer running on my desktop computer while on my
laptop computer, without having to look up the IP address for the
desktop PC.

local_ip_addr = net.get_local_ip_addr 
File.Delete("K:\\SlimServer on SueXP.url")
Exec.ToFile("K:\\SlimServer on SueXP.url", "[InternetShortcut]")
Exec.ToFile("K:\\SlimServer on SueXP.url", "URL=http://"; ++
local_ip_addr ++ ":9000/")

Result: Runs at startup on desktop computer. Creates an internet
shortcut on a network drive which I can use to launch SlimServer from
my laptop.

I have not tested it on startup yet. My only concern is that there is
sometimes a bit of a lag before the Netdisk (K drive) becomes
available. I'm pretty sure it would load before PowerPro, though,
since it runs as a service.

Suggestions for improvement are welcome!

On 8/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Could I use PowerPro to get the IP address of my computer and write it
> > to a text file? How would I go about getting the IP address?
> 
> Use the net plugin... Net.get_local_ip_addr

-- 

Sue Chastain


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12ht81g09/M=362335.6886445.7839731.1510227/D=groups/S=1706030409:TM/Y=YAHOO/EXP=1123745768/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to