Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Using web server with dynamic IP / dialup Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 28 2003 at 10:21 | IP Logged Quote dhoward

Tony,

I see a couple of problems...

1.  Your " PowerHome" string does not have two spaces at the end.  It should look like " PowerHome  " with 1 space in front and two spaces after.

2.  You might also have a problem with your "{alt} x" send keys.  My guess is that you are trying to send and alt-x string.  Yours might work depending upon the persistency of the keys, but you also have a space in front of the "x" and this will be sent as well.  In a send keys string, spaces or other formatting type characters will be sent as a keystroke.  What you are probably looking for is "{alt+x}".

Hope this helps ,

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 28 2003 at 12:54 | IP Logged Quote TonyNo

Ah! I didn't know about the spaces at the end!

I am actually shooting for "{alt+space}x"; luckily, the <Alt> key is sticky, so "{alt} x" works.

Tony

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dmoreno
Newbie
Newbie
Avatar

Joined: February 15 2002
Location: United States
Online Status: Offline
Posts: 31
Posted: February 21 2003 at 01:12 | IP Logged Quote dmoreno

I have studied the weatherunderground macro for a week now. I have read the PH pdf file several times. I understand the get url, but am having problems understanding the get variable. I also have a dynamic IP, but have figured a way to retrieve it, by getting the ip from my wan on my router. I do the get url on http://user:password@192.168.1.1/st_dhcp.htm. This will go to the status page of my router. Now how do I get my IP from the page. This is the status that I want.

WAN IP Address      : 24.175.204.265

I want to be-able to page my alpha-numeric pager via e-mail with the IP address, if it changes.

Back to Top View dmoreno's Profile Search for other posts by dmoreno
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: February 21 2003 at 08:48 | IP Logged Quote TonyNo

You may want Dave to edit your post to remove your IP!

I'm assuming that you are not following picking through the returned web page (a string). This was tough for me to grasp at first, but, it is straight forward. You first find the position of key text, then, pull out the data so many characters after that. Let me know if you need more info.

Simple version: Accessing this link returns only your current IP... http://update.ods.org:7069.

Take a look at the older parts of this thread for more on working with a dynamic IP.

Tony

Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: February 21 2003 at 09:43 | IP Logged Quote dhoward

Don,

Just like Tony said, you need to find the position of some key text.  The best way to do this is to access the page from your browser and then view the source.  If you're using IE, just right-click on the page and select "view source" from the pop-up.  You can also go to the menu and choose View - > Source.  This will open up a notepad session and show you the actual HTML that is being sent from your router.  This is the same code that PowerHome will see in a ph_geturl function.  Scan this code for the info you want and then use the "pos" function to locate that within the code.  Do a little counting and use the "mid" function to chop out the IP address.

This should get you started and if you need any extra help, Im sure Tony or myself will be able to get you going.

Good Luck,

Dave.

 

Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
dmoreno
Newbie
Newbie
Avatar

Joined: February 15 2002
Location: United States
Online Status: Offline
Posts: 31
Posted: February 23 2003 at 03:08 | IP Logged Quote dmoreno

Thx guys. I guess I need practice at it. Or, maybe I am just making it harder than it really is. I'll work with it a bit more tonight.
Back to Top View dmoreno's Profile Search for other posts by dmoreno
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

<< Prev Page of 2
  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum