French characters in WinTitle

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
RANG3D
Posts: 2
Joined: 31 Mar 2016, 04:27

French characters in WinTitle

31 Mar 2016, 05:00

Hello everyone,

I was wondering if there was a way to add "é", "à" or any other French character in WinTitle?

For example:

Code: Select all

Winactivate, écouter - Google Chrome
Winwait, écouter - Google Chrome
MouseClick, Left, 100, 100
It doesn't seem to do anything.
It does work when I use:

Code: Select all

Winactivate, Google - Google Chrome
Winwait, Google - Google Chrome
MouseClick, Left, 100, 100
Many thanks in advance! :)
User avatar
jmeneses
Posts: 524
Joined: 28 Oct 2014, 11:09
Location: Catalan Republic

Re: French characters in WinTitle

31 Mar 2016, 05:31

Hi RANG3D, Works fine for me in GoogleChromePortable and "écouter" search with next title
écouter - Buscar con Google - Google Chrome

AHK Versión Unicode 1.1.23.05

Code: Select all

#NoEnv
#SingleInstance force
#Persistent
SetTitleMatchMode, 2

Winactivate, écouter
Winwait, écouter
Msgbox Done!!
ExitApp
Donec Perficiam
Paneb
Posts: 54
Joined: 24 Aug 2015, 05:02
Location: France
Contact:

Re: French characters in WinTitle

31 Mar 2016, 08:32

Hi!
I'm French and all my stuff always worked fine (well, at least for the parameters :p).
Anyway, there is two points for me.
First, as jmeneses pointed out, I think you should have a look at SetTitleMatchMode (https://autohotkey.com/docs/commands/Se ... chMode.htm ).
Second, I do think your parameter is wrong ;). For instance, just looking for "écouter" in Google Chrome display a tab name "écouter - Recherche Google". If I use this string with yours (without even the setitlematchmode), everything is right and the click is done ;).
RANG3D
Posts: 2
Joined: 31 Mar 2016, 04:27

Re: French characters in WinTitle

31 Mar 2016, 08:45

Hello you both,

Indeed, SetTitleMatchMode did the trick for me!

Many thanks to both of you! :)

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Holarctic, jameswrightesq, Lem2001 and 434 guests