| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 2671 online users. » 2 Member(s) | 2664 Guest(s) Applebot, Bing, Facebook, Google, Twitter, Pf1ster
|
|
|
| Football this weekend |
|
Posted by: TTM2 - 09-09-2022, 08:15 AM - Forum: WBAUnofficial
- Replies (118)
|
 |
It surely can’t go ahead, can it? For a couple of reasons.
1. The world is watching and emotions are running high
2. Coked up kids lobbing beer around and yelling GSTQ is just inappropriate- they can’t be trusted
3. Imagine a section of Liverpool or Celtic fans trying to boo or spoil any tribute and the chain of events it could kick off.
4. James McClean is still playing. He can’t be trusted not to do something stupid and end up endangering himself.
It just doesn’t feel right.
|
|
|
| FAO VBA Chrome Selenium Guru's |
|
Posted by: Fulham Fallout - 09-08-2022, 04:54 PM - Forum: WBAUnofficial
- Replies (11)
|
 |
I wonder if you can help me please.
I'm trying to write a bit of VBS code in Excel to populate web forms
The website is similar to this one with a login and then I want to be able to send private messages
I have to use the Shell function to be able to by-pass the login screen (once already logged on to the site)
Where I am stuck, is with the webpage opened, how do I continue the code to enter data into the subject box etc? I can see the box name is "subject" but it's the code to find it I am lost with.
Dim driver As New selenium.ChromeDriver
Dim ChromeLocation As String
Dim MyURL As String
Dim ws1 As Worksheet
Dim lastRow As Long
Range("A1").Select 'This contains the URLs. Using user Supamart as an example, the URL to send him a PM is https://wbaunofficial.org.uk/private.php...nd&uid=304 and that is located in cell A1
Dim ws1 As Worksheet
Dim lastRow As Long
Range("A1").Select
lastRow = Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Set ws1 = Sheets("rawdata")
ChromeLocation = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" 'Location of Chrome.exe in your PC
For i = 1 To lastRow
MyURL = ws1.Cells(i, 1)
lastRow = Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Set ws1 = Sheets("rawdata")
ChromeLocation = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" 'Location of Chrome.exe in your PC
For i = 1 To lastRow
MyURL = ws1.Cells(i, 1)
***************************
I know code to use if I was using the following commands
Sub TestSelenium()
Set cd = New selenium.ChromeDriver
cd.Start
cd.Get "https://www.wbaunofficial.org.uk"
But that will take me to the login page and trying to locate the login button is a nightmare with no name, id, etc etc
So... is there a way I can use the shell function as above (once logged in) and the top code runs, opens the message page and then enters the subject and message content from cells b1 & c1?
Thanking you in advance.
|
|
|
| England v South Africa |
|
Posted by: Pragmatist - 09-08-2022, 02:32 PM - Forum: WBAUnofficial
- Replies (32)
|
 |
If the anticipated news re Her Majesty is correct, then the chances of anything other than a draw at the cricket are remote as the match is likely to be abandoned.
|
|
|
| Coventry |
|
Posted by: ColliersWoodBaggie - 09-08-2022, 01:23 PM - Forum: WBAUnofficial
- Replies (11)
|
 |
Can't go, but three points are badly needed. We need to turn the draws around and two wins from next 3 should be a catalyst. I hope
|
|
|
|