Hi, Gabe.
Thanks for the expanded explanation.
What I'm doing is using a table that I've created in Dreamweaver. It is a real estate application in the end. I need to capture the property ID (MLS) number and then plug it into a search engine on a certain web page to then find a URL which will then be applied to the actual property address in the cell next to the MLS# cell as a hyperlink. The length of my table changes each and every time. Right now I'm starting with the first cell of the table 'captured', as in CTRL-A, before I run the macro. That seems to take care of that particular problem. Since I only do this task once a week, that's not such a terrible inconvenience.
I've got another issue, but that should be a new post.
Cheers!
Here's the code I'm currently using. I use Press Tab * 10 to get to the next cell where I need to capture the MLS#. Never thought of using the arrow keys for that particular navigation, though there's no reason that shouldn't work just as well. Nice idea; 2 steps instead of 10.
// C:\My Documents\Macro Scheduler\Reports.scp
// Recorded on Sunday, June 28, 2009, at 04:12 PM
//Recorded Events
Let>WW_TIMEOUT=5
CapsOff
Let>k=0
Repeat>k
//1. Capture MLS# and post in browser search
MouseMove>92,17
Wait>1
LClick
Wait>0.2
MouseMove>129,161
Wait>1
LClick
Wait>0.2
MouseMove>643,1066
Wait>1
LClick
WaitWindowOpen>Adobe Dreamweaver CS4 - [June 2009 PGA Current.HTM]
MoveWindow>Adobe Dreamweaver CS4 - [June 2009 PGA Current.HTM],-5,-5
ResizeWindow>Adobe Dreamweaver CS4 - [June 2009 PGA Current.HTM],1930,1054
Wait>0.2
MouseMove>1504,941
Wait>1
LClick
Wait>0.2
Press CTRL
Wait>0.2
Send>av
Wait>0.2
Release CTRL
Wait>.5
Press Enter
//2. Capture property URL & return to Dreamweaver
MouseMove>688,510
Wait>2.38
RClick
Wait>0.16
MouseMove>821,696
Wait>2.73
LClick
Wait>0.1
MouseMove>28,98
Wait>3.1
LClick
Wait>0.12
MouseMove>504,1065
Wait>2.6
LClick
WaitWindowOpen>Illustrated Properties Real Estate Inc. - Mozilla Firefox
MoveWindow>Illustrated Properties Real Estate Inc. - Mozilla Firefox,0,0
ResizeWindow>Illustrated Properties Real Estate Inc. - Mozilla Firefox,1920,1200
//3. Create hyperlink and move to next MLS#
MouseMove>429,139
Wait>2
Press Tab
Wait>0.47
MouseMove>191,18
Wait>1.95
LClick
Wait>0.12
MouseMove>254,346
Wait>1.95
LClick
WaitWindowOpen>Adobe Dreamweaver CS4 - [June 2009 PGA Current.HTM]
MoveWindow>Adobe Dreamweaver CS4 - [June 2009 PGA Current.HTM],-5,-5
ResizeWindow>Adobe Dreamweaver CS4 - [June 2009 PGA Current.HTM],1930,1054
Wait>1.29
Press Tab
Wait>0.56
Press CTRL
Wait>0.27
Send>v
Wait>0.13
Release CTRL
Wait>0.59
Press Enter
WaitWindowOpen>Hyperlink
MoveWindow>Hyperlink,709,456
ResizeWindow>Hyperlink,503,289
Wait>0.99
Press Tab * 10
//Wait>0.44
//MouseMove>100,20
//Wait>3.7
//LClick
//Wait>0.13
//MouseMove>167,154
//Wait>2.22
//LClick
//Finish the Repeat/Until loop
//The Until>k= should be the number of times you want it to run
Let>k=k+1
Until>k=12