crazy script behaviour, clipboard vowel mutation, umlaut Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
User avatar
Jovannb
Posts: 256
Joined: 17 Jun 2014, 02:44
Location: Austria

crazy script behaviour, clipboard vowel mutation, umlaut

10 Nov 2020, 08:21

Hi,

I tried to understand an issue AHK seems to have with Win10 2004.
My Code

Code: Select all

#SingleInstance force
#Persistent

Teststring := "So schön wie bzw. ähnlich wie ein Ölfaß"

::#111::
clipboard := Teststring
return

::#222::
send, %teststring% {enter 1}
sendinput, %teststring% {enter 1}
return

When i start that script first time:
#111 -> gives that to my clipboard "So sch?n wie bzw. ?hnlich wie ein ?lfa?"
#222 -> gives me that thext "So sch?n wie bzw. ?hnlich wie ein ?lfa?" twice same for send and sendinput

then, I go to system tray and "reload this script" then, it gives me
#111 ->gives that to my clipboard "So schön wie bzw. ähnlich wie ein Ölfaß"
#222 -> gives me that thext "So schön wie bzw. ähnlich wie ein Ölfaß" twice same for send and sendinput

How about that, is that reproducable on other systems too ?
Tried with AHK 1.1.33.01-32bit ansi.

J.B.
AHK: 1.1.33.01 Ansi, 32-Bit; Win10 (2004, 19041.685) 64 bit, german
User avatar
mikeyww
Posts: 5359
Joined: 09 Sep 2014, 18:38

Re: crazy script behaviour, clipboard vowel mutation, umlaut

10 Nov 2020, 08:27

Is the script file itself in Unicode with BOM?
User avatar
Jovannb
Posts: 256
Joined: 17 Jun 2014, 02:44
Location: Austria

Re: crazy script behaviour, clipboard vowel mutation, umlaut

10 Nov 2020, 09:38

it is ANSI encoded, as all my other scripts t0o .. see screenhot enclosed
Attachments
2020-11-10_153543.jpg
2020-11-10_153543.jpg (62.71 KiB) Viewed 126 times
AHK: 1.1.33.01 Ansi, 32-Bit; Win10 (2004, 19041.685) 64 bit, german
User avatar
Jovannb
Posts: 256
Joined: 17 Jun 2014, 02:44
Location: Austria

Re: crazy script behaviour, clipboard vowel mutation, umlaut

10 Nov 2020, 11:14

thank you very much, that's the solution!
AHK: 1.1.33.01 Ansi, 32-Bit; Win10 (2004, 19041.685) 64 bit, german

Return to “Ask For Help”

Who is online

Users browsing this forum: ark, Bing [Bot], Spawnova and 38 guests