hcour Posted January 18, 2007 Report Share Posted January 18, 2007 I'm trying to create a macro to load a web page but w/the following obstacles: The page is a daily economic commentary so the specific address changes everyday. For instance yesterday it was: http://www.dailyfx.com/story/currency/gbp_...9071638299.html Tues it was: http://www.dailyfx.com/story/currency/gbp_...8994931722.html And so on. Also, the link on the homepage that takes you to this commentary is not in the same place on the page everyday so I can't just set the mouse coordinates to click on the link. I've tried using "controls" in both Firefox and IE but they don't seem to work in the browsers. It just names them all "Mozilla Window Class". I also tried using the tab key to get focus on the link but that didn't work either. Is there any way to get around these problems? Thanks much, Harold Quote Link to comment Share on other sites More sharing options...
iceman Posted January 19, 2007 Report Share Posted January 19, 2007 Is the name or part of the name of the link the same? If it is, go to the home page, find the text, and hit Enter. Quote Link to comment Share on other sites More sharing options...
hcour Posted January 19, 2007 Author Report Share Posted January 19, 2007 No, the link is always the headline for that day's article and it changes everyday. Thanks, Harold Quote Link to comment Share on other sites More sharing options...
Strathos Posted January 19, 2007 Report Share Posted January 19, 2007 Hello You can try getting the Html code from "http://www.dailyfx.com/"'>http://www.dailyfx.com/" then use Find to look for "story" Shift + Ctrl + Right arrow. Clipboard copy Send to text variable and delete from the " ' " to the end then just load the page "http://www.dailyfx.com/Tn" Good luck! Quote Link to comment Share on other sites More sharing options...
hcour Posted January 23, 2007 Author Report Share Posted January 23, 2007 Thanks Strathos, I'll give that a try. H Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.