Hi,
I use portable Autohotkey and I get
"---------------------------
anyname.ahk
---------------------------
Error at line 46.
Line Text: e & r
Error: Duplicate hotkey.
The program will exit.
"
That means I can't Edit the script with Right Click..
Is it possible to open it somehow?
Thanks!
I use "portable" .exe and get error..
Re: I use "portable" .exe and get error..
Right-click on the file and choose any text editor (for example, Notepad) to open it. Or open a text editor first and open the ahk file via the File>Open menu.
After all, an AHK-file is just a txt-file with another file extension.
After all, an AHK-file is just a txt-file with another file extension.
Re: I use "portable" .exe and get error..
Thank you...
I do it and I get something like that...
( ΅mM V…ΐu=‹5–J j
Φ…ΐujΦ…ΐΈ<ΌJ u"Έ J ^Γj ΉψlM θΨ2 ƒψΈ J t΅ mM ^ΓΜΜΜΜΜΜΜ΅ΔM €Έμ D‹L$Vu‹T$j
WQRθ{ή ƒΔ^Γ‹D$‹χ…Ι|…ΐsχΨΊ- ƒΡ f‰wχΩΊ0 f‰Ίx f‰VjƒΖVQPθ6ή ΅ΔM ƒΔ€Έμ HuV–J ‹Η^ΓΜΜΜΜΜΜΜΜΜΜΜΜΜΜV‹π€~ u‹vF¨t$=F‹‹‹QP‹D$‹L$‰F$‹
D$‰NFy‹Ζθ< €f^Β ƒ=@M t¨u
ƒ=@M t¨ t¨t‹Ζθ ^Β ΜΜΜΜΜΜΜΜΜΜΜU‹μƒδΐμ4 S‹Ψ€{ VWu‹[C¨ts¨t,‹C‹PQ|$Hθ»ώƒΔjj jP‹Λθ:h €K_^[‹ε]Γ¨ t?‹ΔM έƒμƒΒtέ$RΎ |$Lθ«= ƒΔjj P‹ΗP‹Λθωg ƒ=@M u€K _^[‹ε]ΓΜΜΜΜΜU‹μƒδψjj PQ‹MθΜg ‹ε]Β ΜΜΜΜΜΜU‹μƒδψjj P‹EθώΈ ‹ε]Β ΜΜU‹μƒδψ€y VWu‹qλ‹ρφF‹}t…t‹ΖθχώF<u"…tƒ} u
φFt‹Ζθ‰} ‹F_^‹ε]Β <u
θeύ_^‹ε]Β _ΈDaM ^‹ε]Β ΅laM ‹
`aM ΐ£laM @ΐΐPQθdή ‹daM +`aM)
I cant change the duplicate hotkey
I do it and I get something like that...
( ΅mM V…ΐu=‹5–J j
Φ…ΐujΦ…ΐΈ<ΌJ u"Έ J ^Γj ΉψlM θΨ2 ƒψΈ J t΅ mM ^ΓΜΜΜΜΜΜΜ΅ΔM €Έμ D‹L$Vu‹T$j
WQRθ{ή ƒΔ^Γ‹D$‹χ…Ι|…ΐsχΨΊ- ƒΡ f‰wχΩΊ0 f‰Ίx f‰VjƒΖVQPθ6ή ΅ΔM ƒΔ€Έμ HuV–J ‹Η^ΓΜΜΜΜΜΜΜΜΜΜΜΜΜΜV‹π€~ u‹vF¨t$=F‹‹‹QP‹D$‹L$‰F$‹
D$‰NFy‹Ζθ< €f^Β ƒ=@M t¨u
ƒ=@M t¨ t¨t‹Ζθ ^Β ΜΜΜΜΜΜΜΜΜΜΜU‹μƒδΐμ4 S‹Ψ€{ VWu‹[C¨ts¨t,‹C‹PQ|$Hθ»ώƒΔjj jP‹Λθ:h €K_^[‹ε]Γ¨ t?‹ΔM έƒμƒΒtέ$RΎ |$Lθ«= ƒΔjj P‹ΗP‹Λθωg ƒ=@M u€K _^[‹ε]ΓΜΜΜΜΜU‹μƒδψjj PQ‹MθΜg ‹ε]Β ΜΜΜΜΜΜU‹μƒδψjj P‹EθώΈ ‹ε]Β ΜΜU‹μƒδψ€y VWu‹qλ‹ρφF‹}t…t‹ΖθχώF<u"…tƒ} u
φFt‹Ζθ‰} ‹F_^‹ε]Β <u
θeύ_^‹ε]Β _ΈDaM ^‹ε]Β ΅laM ‹
`aM ΐ£laM @ΐΐPQθdή ‹daM +`aM)
I cant change the duplicate hotkey
Re: I use "portable" .exe and get error..
That doesn't look like text file (or a file with ahk-file extension). Did you compile your script and try to open the exe-file?
Try to open the above mentioned anyname.ahk
Try to open the above mentioned anyname.ahk
Re: I use "portable" .exe and get error..
Yes gregster it's a compile.exe....
I run it as "portable" .exe only...I don't have .ahk file
I dont install Autohotkey
I run it as "portable" .exe only...I don't have .ahk file
I dont install Autohotkey
Re: I use "portable" .exe and get error..
So it is not your script anyway and you want to decompile something someone else made? That's at least a "grey" legal area in many jurisdictions, besides ethical considerations.
Why not talk to the person that made this not working exe-file? Or program yourself - you probably have an idea what about the script should do. Why not give it a try?
(I originally thought you were using the portable install (zip-)version of Autohotkey.)
Why not talk to the person that made this not working exe-file? Or program yourself - you probably have an idea what about the script should do. Why not give it a try?
(I originally thought you were using the portable install (zip-)version of Autohotkey.)
Re: I use "portable" .exe and get error..
I made this script!
But I use portable "the zip file" not the installer one!
But I make a mistake and I want to open it to fix my mistake
But I don't know how..
I tried some decompile scripts but with no lack...
I don't want to rewrite the script from start ...It's litlle big and I don't remember all moves
But I use portable "the zip file" not the installer one!
But I make a mistake and I want to open it to fix my mistake
But I don't know how..
I tried some decompile scripts but with no lack...
I don't want to rewrite the script from start ...It's litlle big and I don't remember all moves
Re: I use "portable" .exe and get error..
So, you compiled your original source file (with ahk extension and real text in it), although you
Or, you did quickly delete the source file after compilation, before even testing if this exe works?
It all sounds a bit obscure.
Or did you create the exe just from thin air?don't have .ahk file
Or, you did quickly delete the source file after compilation, before even testing if this exe works?
It all sounds a bit obscure.
Re: I use "portable" .exe and get error..
as far as I know if the error shows "anyname.ahk" as you've copied it you are not a compiled script but a normal script.
That means you should be able to find a file on your computer called anyname.ahk open that file in notepad.
you should not open AutoHotkey.exe because that is not the script.
There is no need to compile scripts in order to run them - see https://www.autohotkey.com/docs/Program.htm#portability
Compiling and then deleting your script is just silly so we can assume you didn't do that.
That means you should be able to find a file on your computer called anyname.ahk open that file in notepad.
you should not open AutoHotkey.exe because that is not the script.
There is no need to compile scripts in order to run them - see https://www.autohotkey.com/docs/Program.htm#portability
Compiling and then deleting your script is just silly so we can assume you didn't do that.
Re: I use "portable" .exe and get error..
so if you open the compiled script in notepad it has the text for the actual script at the bottom of it
Re: I use "portable" .exe and get error..
Unfortunately I can't find any text from the actual script...
The only think I want is to fix or delete the line which causes the problem..
In my case
Error at line 46.
Line Text: e & r
Error: Duplicate hotkey.
The script was made with older Autohotkey version 1.1.01
The only think I want is to fix or delete the line which causes the problem..
In my case
Error at line 46.
Line Text: e & r
Error: Duplicate hotkey.
The script was made with older Autohotkey version 1.1.01
Re: I use "portable" .exe and get error..
Problem Solved!!!
I find the ahk file in my Documents and imported to Notepad and all is there
Thank you all for your help!
I find the ahk file in my Documents and imported to Notepad and all is there
Thank you all for your help!
Who is online
Users browsing this forum: mstrauss2021, Spawnova, william_ahk and 344 guests