ASC does not work on Google Docs

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
kireta
Posts: 8
Joined: 27 Jan 2015, 12:16

ASC does not work on Google Docs

Post by kireta » 23 Jan 2021, 19:20

ASC does not work on Google Docs for many symbols.

Example:

Alt+248 will generate the degree symbol, as expected with this Alt code

This AHK snippet will generate degree symbol in MS Word:

Code: Select all

:?*::de::{ASC 248}
Same snippet generates one of the following characters in Google Docs:

ÿ or `

Not sure why?

VividOmenOfDarkness
Posts: 2
Joined: 23 Feb 2021, 02:22

Re: ASC does not work on Google Docs

Post by VividOmenOfDarkness » 23 Feb 2021, 03:02

I found a way around with this using character map and SendInput{}. Simply find the special character in your case its " ° ", then pass it in the SendInput.
e.g.
SendInput {°}

this should work both in MS Word and Google Docs.

I think the reason why it is different because the hotkey that MS WORD uses is different from the original hotkey found in the character map. So google probably made their own hotkeys rather than copying to Microsoft.

Post Reply

Return to “Ask for Help (v2)”