Web page title - Forum

Forum Navigation
You need to log in to create posts and topics.

Web page title

Hello

Is it possible to use a neowin function to retrieve the title of a web page opened in the default browser usin InternetLink?

Thank for your help.

Feli

@feli

You can get the title of the active window (including the title of the active browser tab) using the commands of the zmFunctions plugin (Peter Pavlov):

zmGetForegroundWindow "[HWND]"
zmGetWindowTitle "[HWND]" "" "[TitleWebPage]"

Saludos, con ayuda de chat gpt

setvar "[nombre de aplicacion]" "Chrome"
SetVar "[codigo bat]" "@echo off[#13][#10]powershell [#34]Get-Process [#124] Where-Object { $_.MainWindowTitle -like '*[nombre de aplicacion]*' } [#124] Select-Object -ExpandProperty MainWindowTitle[#34] > lista.txt"

FileWrite "[pubdir]get_list.bat" "All" "![codigo bat]"
Run "[pubdir]get_list.bat" "" "Wait" "" ""
FileRead "lista.txt" "All" "[data]"

alertbox "Titulo" "[data]"

Thanks for your help.

I've found a solution.

Feli.

alangonzalez91 has reacted to this post.
alangonzalez91