Duplicate hotkey when no duplicate hotkey Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ryand1522

Duplicate hotkey when no duplicate hotkey

26 Jun 2017, 02:08

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
~::~
`::`
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Duplicate hotkey when no duplicate hotkey  Topic is solved

26 Jun 2017, 04:55

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.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], Lamron750, septrinus and 224 guests