Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: url browser history
Therefore, I would like to write a script that runs in the background when IE6 is running and records the URL of the site being displayed. Any help would be greatly appreciated. The main stumbling blocks I see are making it undetectable to the user, and finding a command that captures the URL.
If you have any thoughts, advice, scripts that I can tweak, please let me know.
This was developed and tested on Windows XP
;This script will log all of the URLs being ;viewed by the user, once every hour IntControl (1002, 0, 0, 0, 0);run hidden While @True now = TimeYmdhms() fh = FileOpen("C:\temp\locationlogger.txt","WRITE") FileWrite(fh,StrCat("************ ",now, " ************")) oShellApp = ObjectOpen("Shell.Application"); oWindows = oShellApp.Windows() cnt = oWindows.Count For x = 0 to cnt-1 oWin = oWindows.Item(x); FileWrite(fh,oWin.locationURL) ObjectClose(oWin) Next FileClose(fh) ObjectClose(oWindows) ObjectClose(oShellApp) hourfromnow = TimeAdd(now,"0000:00:00:01:00:00") TimeWait(hourfromnow) Endwhile exit
Article ID: W15771
File Created: 2003:05:13:11:29:58
Last Updated: 2003:05:13:11:29:58