Hi, I have come across a rather interesting bug(well, what I think to be a bug). I was coding and I went to copy/paste something and where "\" were notepad had replaced them with a Chinese symbol (sorry if it's a different symbol) here are some screenshots!
(original code)
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Run, Battle.net Launcher.exe, D:\Games\Battle.net
WinWaitClose ahk_exe SC2_x64.exe
ExitApp
#IfWinActive ahk_exe SC2_x64.exe
Shift::Ctrl ; Shift = Control
Ctrl::Alt ; Control = Alt
AppsKey::Shift ; Windows or List (whichever is adjacent to Ctrl) = Shift
#IfWinActive
the code displayed in notepad
Any help would be appreciated!
Possible Bug with Backslashes in notepad Topic is solved
Possible Bug with Backslashes in notepad Topic is solved
Last edited by BEMZ on 17 Jan 2018, 13:04, edited 1 time in total.
==================================================
Some of my ongoing projects!
Windows key Add-on download :
- BEMZ
Some of my ongoing projects!
Windows key Add-on download :
Spoiler
==================================================- BEMZ
Re: Possible Bug with Backslashes in notepad
I'm not sure about that sorry, however I would strongly recommend using a different editor.
Here are 2 great choices
Notepad++: https://autohotkey.com/boards/viewtopic.php?t=50
SciTE4AutoHotKey: https://fincs.ahk4.net/scite4ahk/
Normal Notepad isn't built for scripting, the 2 programs I've listed are much more convenient, and most likely will not have this issue that you have in normal notepad either. =P
Here are 2 great choices
Notepad++: https://autohotkey.com/boards/viewtopic.php?t=50
SciTE4AutoHotKey: https://fincs.ahk4.net/scite4ahk/
Normal Notepad isn't built for scripting, the 2 programs I've listed are much more convenient, and most likely will not have this issue that you have in normal notepad either. =P
Some of my AHK programs: 3D Voxel Game - Platformer Game
GitHub projects : Image/Pixel scanning class - Direct2D overlay class
GitHub projects : Image/Pixel scanning class - Direct2D overlay class
Re: Possible Bug with Backslashes in notepad
¥ is how path separators are displayed in Japanese Windows, as opposed to the usual backslash.
Set your Notepad font to something like Consolas.
Set your Notepad font to something like Consolas.
Re: Possible Bug with Backslashes in notepad
Thanks Spawnova, I just installed SciTE4AutoHotKey and it's working fine. (I'm the guy who had the bug, BEMZ posted it in here.)
@BEMZ, shame on you, the Yen sign is Japanese in this case! XD
@BEMZ, shame on you, the Yen sign is Japanese in this case! XD
Re: Possible Bug with Backslashes in notepad
sorry! ( This is now Closed)PaterFrog wrote:@BEMZ, shame on you, the Yen sign is Japanese in this case! XD
==================================================
Some of my ongoing projects!
Windows key Add-on download :
- BEMZ
Some of my ongoing projects!
Windows key Add-on download :
Spoiler
==================================================- BEMZ