Some Alt Key Codes are accepted by SciTE (ie Alt248 " ° "). Many are not. Alt key codes, 1 through 10, 25 through 26. were not accepted by SciTe.
My solution was (in Win 10, 64 bit and Autohotkey set for Unicode 32):
Alt code Alt+26 (→) is not accepted by SciTE and results in " ? " . I did not find an encoding option in SciTE similar to the Notepadd++ ENCODING option.
Open a new, or previously written, script in notepad++ .
With a New script, I Changed the encoding to Unicode-8-BOM.
If it's an old script, I used the Encoding option "Convert to Unicode-8-BOM". (Not using the "BOM" option resulted in getting the wrong character for me.)
Save the script from Notepad++
The script, reopened in SciTE, will now accept, save, and execute the Alt code.
Example the script:
U_Var = Alt26 → and Alt4 ♦ and Alt6 ♠
Msgbox %U_Var%
Executing the script will show the message box with "Alt26 → and Alt4 ♦ and Alt6 ♠"
I hope this is of some use to someone.
Bridge
Using Alt key code Characters in SciTE.
The popular SciTE-based AutoHotkey Script Editor
Jump to
- AutoHotkey Foundation
- ↳ About This Community
- ↳ Forum Issues
- AutoHotkey (v2, current version)
- ↳ Ask for Help (v2)
- ↳ Gaming Help (v2)
- ↳ Scripts and Functions (v2)
- ↳ Gaming Scripts (v2)
- ↳ Tutorials (v2)
- ↳ Tips and Tricks (v2)
- ↳ Wish List
- ↳ Suggestions on Documentation Improvements
- ↳ Bug Reports
- ↳ AutoHotkey Development
- ↳ AutoHotkey_H
- ↳ Ask for Help
- ↳ Development
- ↳ Editors
- ↳ Adventure IDE
- ↳ Old Topics
- ↳ AHK Studio
- ↳ Notepad++
- ↳ Pulovers Macro Creator
- ↳ SciTE4AutoHotkey
- ↳ Visual Studio Code
- ↳ Announcements
- ↳ General Discussion
- AutoHotkey (v1.1 and older)
- ↳ Ask for Help (v1)
- ↳ Gaming Help (v1)
- ↳ Scripts and Functions (v1)
- ↳ Gaming Scripts (v1)
- ↳ Tutorials (v1)
- ↳ Tips and Tricks (v1)
- General
- ↳ Other Utilities & Resources
- ↳ Other Programming Languages
- ↳ C/C++
- ↳ ASM
- ↳ C#
- ↳ KeySharp
- ↳ Off-topic Discussion
- ↳ RPA
- Other languages
- ↳ Looking for Volunteers in other languages
- ↳ Deutsch (German)
- ↳ Ich brauche Hilfe
- ↳ Spiele
- ↳ Skripte und Funktionen
- ↳ Tutorials
- ↳ Tooltime
- ↳ Allgemeines
- ↳ 中文 (Chinese)
- ↳ 请求帮助
- ↳ 脚本函数
- ↳ 教程资料
- ↳ 相关工具
- ↳ 其他
- ↳ Español (Spanish)
- ↳ Pedir Ayuda
- ↳ Automatización de Juegos
- ↳ Scripts y Funciones
- ↳ Tutoriales
- ↳ Otras Utilidades y Recursos
- ↳ General
- ↳ Русский (Russian)
- ↳ Помощь
- ↳ Скрипты для Игр
- ↳ Скрипты и библиотеки
- ↳ Статьи и руководства
- ↳ Прочие ресурсы и ПО.
- ↳ Свободное общение
- ↳ Français (French)
- ↳ J'ai besoin d'aide
- ↳ Scripts et Fonctions
- ↳ Tutoriels
- ↳ Autres Utilitaires et Ressources
- ↳ Hors Sujet
- ↳ Português (Portuguese)
- ↳ Ajuda e Suporte Geral
- ↳ Scripts e Funções
- ↳ Tutoriais
- ↳ Outras Ferramentas e Recursos
- ↳ Outros Assuntos
- ↳ 한국어 (Korean)