Error Message:
Error at line 54.
Line Text: **
Error: Duplicate hotkey.
The program will exit.
I just started trying to do autohotkey to make a script that replaces every keyboard character with the same character but in fullwidth for no reason whatsoever. But it keeps saying there's an error at line 54 when there isn't a duplicate hotkey. I've even deleted line 54 and the lines surrounding it but it's always 54. Here's the script:
#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.
Escape::
ExitApp
Return
^Space::
`::`
?::?
>::>
<::<
m::M
n::N
b::B
v::V
c::C
x::X
z::Z
/::/
.::.
,::,
"::"
::::
l::L
k::K
j::J
h::H
g::G
f::F
d::D
s::S
a::A
'::'
;::;
|::|
}::}
{::{
p::P
o::O
i::I
u::U
y::Y
t::T
r::R
e::E
w::W
q::Q
)::)
0::0
(::(
9::9
8::8
&::&
7::7
^::^
6::6
%::%
5::5
$::$
4::4
#::#
3::3
@::@
2::2
!::!
1::1
~::~
`::`
Duplicate hotkey when no duplicate hotkey Topic is solved
Re: Duplicate hotkey when no duplicate hotkey Topic is solved
It says there is a duplicate hotkey because there is a duplicate hotkey.
It's not line 54 in the script you posted, and it doesn't say line 54. It says line 70.
Line 70 and line 10 are identical.
It's not line 54 in the script you posted, and it doesn't say line 54. It says line 70.
Line 70 and line 10 are identical.