Code: Select all
//Earlier code that opens FireFox for the first time.
.....
.....
Let>vOpen=NO
GoSub>OpenWebPage
....
//Processing data on first web page.
.....
// Need to change web pages now
//cannot get URL to update.
**BREAKPOINT**
Label>Personal
Let>vWebPage=https://dashboard.xxxx_private_xxxx/admin/people/%vID_1%/edit
Let>vPageTitle=%vName_1% - ZZZ*
//Next line is the second time opening a FireFox page. Do Not use RunProgram.
Let>vOpen=YES
//Already have Focus on page
//Use F6 or ALT-D or CTL-L to get to address bar
//Press F6
Press ALT
SendText>D
Release>ALT
SendText>%vWebPage%
Press ENTER
**BREAKPOINT**
GoSub>OpenWebPage
Code: Select all
SRT>OpenWebPage
//Only RunProgram when first starting to control multiple Firefox tabs
If>%vOpen%=NO
RunProgram>C:\Program Files\Mozilla Firefox\firefox.exe %vWebPage%
EndIf
WaitWindowOpen>%vPageTitle%
SetFocus>%vPageTitle%
//Other lines tried to make the SendText> section to work
//WaitWindowFocused>%vPageTitle%
//Use WW_TIMEOUT ?
//Use WW_RESULT ?
Wait>3
End>OpenWebPage
The actual problem is that I am trying to change web pages in FireFox and it is not executing.
I tried F6 and it was working for a while, then stopped, so I am now trying ALT-D, with same result. Trying to step thru, but need RUN on keystrokes, find that cannot do ALT/CRL-keys with F8.