Thanks Ken - that's really helpful. Terry...
On 18/02/09 8:54 AM, "Ken Ray" <[email protected]> wrote: > >> I use Applescript to get the url of the active window in Safari and Firefox >> on a Mac but is there any equivalent (VB?) that would allow me to do the >> same for IE and Firefox under Windows? Or is that a job for an external? > > Sorry it took so long for me to respond, Terry, and if you already have an > answer forgive me... but all I have is how to get it from IE with VBScript: > > Set objApps = CreateObject("Shell.Application") > For Each objApp in objApps.Windows > If (objApp.Name = "Windows Internet Explorer") or _ > (objApp.Name = "Microsoft Internet Explorer") Then > If objApp.LocationURL <> "" Then > WScript.Echo objApp.LocationURL > End If > End If > Next > > > HTH, > > Ken Ray > Sons of Thunder Software, Inc. > Email: [email protected] > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
