WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: garcijo on January 20, 2016, 01:48:26 PM

Title: Get URL from Chrome Broswer while in Kiosk mode
Post by: garcijo on January 20, 2016, 01:48:26 PM
Hello I have been trying to figure out how to get the URL from a chrome browser.
I have successfully tested with script referenced below. but it does not work when chrome browser is in Kiosk mode.
Can someone help.

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/dotNet/System_CodeDom+Grab~URL~from~Chrome.txt
Title: Re: Get URL from Chrome Broswer while in Kiosk mode
Post by: td on January 21, 2016, 07:12:49 AM
Can't take the time to provide a copy and paste solution, so unless someone else has the  time to burn you are going to have to figure it out.   The Tech Database example is based on some online c# example.  For example,

http://stackoverflow.com/questions/18897070/getting-the-current-tabs-url-from-google-chrome-using-c-sharp
(http://stackoverflow.com/questions/18897070/getting-the-current-tabs-url-from-google-chrome-using-c-sharp)

You need to determine what are the UI object difference between the Chrome modes and modify the c# accordingly.  You could use MSFT's inspect.exe to do this which is part of some Windows SDKs.  The Windows 7 SDK can be found here:

https://www.microsoft.com/en-us/download/details.aspx?id=3138 (https://www.microsoft.com/en-us/download/details.aspx?id=3138)