Edit old version script

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
mackayh
Posts: 4
Joined: 23 Sep 2022, 11:05

Edit old version script

Post by mackayh » 23 Sep 2022, 12:54

Cannot edit old version of .ahk file. Right-click does not have Edit Script selection. If I open the file in Notepad it is only in machine language. Screenshots attached.
Screenshot 2022-09-23 091544.png
Screenshot 2022-09-23 091544.png (349.68 KiB) Viewed 487 times
Screenshot 2022-09-23 104535.png
Screenshot 2022-09-23 104535.png (110.14 KiB) Viewed 487 times

User avatar
mikeyww
Posts: 26885
Joined: 09 Sep 2014, 18:38

Re: Edit old version script

Post by mikeyww » 23 Sep 2022, 16:16

Welcome to this AutoHotkey forum!

Perhaps your file was inadvertently renamed, and perhaps you should reinstall AutoHotkey, too!

Or wrong file encoding?

User avatar
flyingDman
Posts: 2817
Joined: 29 Sep 2013, 19:01

Re: Edit old version script

Post by flyingDman » 23 Sep 2022, 16:24

I think you are trying to edit the compiled version of the file, inadvertently renamed with an .ahk extension.
14.3 & 1.3.7

mackayh
Posts: 4
Joined: 23 Sep 2022, 11:05

Re: Edit old version script

Post by mackayh » 26 Sep 2022, 13:07

Where can I find the un-compiled file that I can edit?

User avatar
flyingDman
Posts: 2817
Joined: 29 Sep 2013, 19:01

Re: Edit old version script

Post by flyingDman » 26 Sep 2022, 13:41

Search your PC for .ahk files. You may overwritten it.
14.3 & 1.3.7

mackayh
Posts: 4
Joined: 23 Sep 2022, 11:05

Re: Edit old version script

Post by mackayh » 27 Sep 2022, 10:17

I searched and could not find it. So, the reason is I am moving from a Dell Inspiron 13 with Win10 to a new Dell XPS 13 with Win11. I re-wrote my script as best as I could remember. But, the result for all 4 of the hot keys is the same - PageDown. I cannot accomplish PageUp, Home or End. Here is my script.

Code: Select all

+Up::Send, PgUp Return

+Down::Send, PgDn Return

+Left::Send, Home Return

+Right::Send, End Return

RussF
Posts: 1264
Joined: 05 Aug 2021, 06:36

Re: Edit old version script

Post by RussF » 27 Sep 2022, 10:28

Try:

Code: Select all

+Up::Send, {PgUp}
+Down::Send, {PgDn}
+Left::Send, {Home}
+Right::Send, {End}
Return
Russ

mackayh
Posts: 4
Joined: 23 Sep 2022, 11:05

Re: Edit old version script

Post by mackayh » 27 Sep 2022, 13:09

Yay! Thanks Russ. You got it! Curly Brackets.

Post Reply

Return to “Ask for Help (v1)”