05-18-2014 12:00 AM - edited 05-18-2014 12:01 AM
Solved! Go to Solution.
05-18-2014 05:41 AM
It's not entirely clear from your post whether you know this or not, but you can do something like this, which will perform a click on a specific element:
Of course, for that you do need to know the ID, and it seems that you do not. I don't know if the Javascript you posted is everything on the page, but I would expect that the tab itself would be an element and have an ID. I know that I have done things like this with Javascript elements before. That said, I'm not exactly a Javascript expert, so it's possible that elements don't always have an ID.
Hopefully, this code helps you in understanding how you can interact with elements in the browser. You should be able to find the other options for what you can do online.
Also, don't start multiple threads. It just wastes people's time.
05-18-2014 06:15 AM - edited 05-18-2014 06:24 AM
05-18-2014 06:51 AM
In this example I actually used a .NET control, because it's more modern than ActiveX and the type system is generally easier to work with. The web browser control can be found under System.Windows.Forms.
Also, the image is a snippet. The icon on the top means you can save the image to your HD and then drag it into a BD and it will be dropped as code you can edit and run.
05-18-2014 07:16 AM - edited 05-18-2014 07:20 AM
05-18-2014 07:24 AM
There's a .NET web browser control (where I said) and it has all the relevant properties and methods:
05-18-2014 09:55 AM - edited 05-18-2014 09:57 AM
05-18-2014 11:06 AM
05-18-2014 04:11 PM
Read the help for the function and look at the shipping examples. Basically, .NET events and LV events don't really fit, so you set up a VI which gets called whenever the event occures. You can use that VI to trigger a separate LV event. The details of each specific event are yours for the finding (since it's MS, it's on the MSDN).
05-18-2014 07:36 PM