problem with " .ahk "
problem with " .ahk "
i have this problem that any script doesn't have the "H" icon so i tried to open it with "autohotkey program" which didn't work so i changed the default file multi times and the script is not a script anymore it is just a file with " .ahk " on it i deleted all default and now the file is unknown even the one in the autohotkey file any help?
- Attachments
-
- Annotation 2020-01-30 040941.jpg (28 KiB) Viewed 837 times
Re: problem with " .ahk "
select one .ahk file
right mouse button and "open with" ...
search for Autohotkey.exe and check "use this app everytime" ... (don't know in english)
right mouse button and "open with" ...
search for Autohotkey.exe and check "use this app everytime" ... (don't know in english)
Re: problem with " .ahk "
i did that and the file had the green icon with H in it and it didn't open as a script and it doesn't work it opens the program ahk it self
Re: problem with " .ahk "
autohotkey.exe is just an interpreter for ahk scripts (which are just text files with a special file extension) - so I am not sure, what the "program ahk it self" should mean. Did the AHK help file open with a Welcome message?
Or did it open the script in an editor (like Notepad) instead of running it? Then you might need this: How do I restore the right-click context menu options for .ahk files?
Re: problem with " .ahk "
Open Notepad, copy and paste this:
Save as: test.ahk
Double click on it and try to press CTRL+ALT+SHIFT+SPACE
Code: Select all
Process, Priority, , High
#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.
^!+Space:: ; CTRL+ALT+SHIFT+SPACE
MsgBox WORK !
Return
Double click on it and try to press CTRL+ALT+SHIFT+SPACE
Re: problem with " .ahk "
it seams i didn't explain enough ....
any file with ( .ahk ) is unknown file i have to choose program to open it with so the only program there is autohotkey if you looked at the file icon it's green and has H and the ( .ahk ) file is not script anymore it's like normal file and there is no program to choose as default within autohotkey file has the image like " Ahk2Exe.exe " to make the ( .ahk ) files go back to which they used to be a file with purple ( H ) icon and work as script
any file with ( .ahk ) is unknown file i have to choose program to open it with so the only program there is autohotkey if you looked at the file icon it's green and has H and the ( .ahk ) file is not script anymore it's like normal file and there is no program to choose as default within autohotkey file has the image like " Ahk2Exe.exe " to make the ( .ahk ) files go back to which they used to be a file with purple ( H ) icon and work as script
- Attachments
-
- the icon thats suppose to be on any .ahk file
- 3.jpg (3.46 KiB) Viewed 718 times
-
- there is no other program within the autohotkey file got the script purple H image
- 2.JPG (42.53 KiB) Viewed 718 times
-
- the file is no more script i have to open it with notebook then convert it to .exe to use it that is just too much consuming if i want to edit the thing every single moment i have to go through all this i want the .ahk files to go back where they used to be a script with purple H icon
- 1.JPG (30.79 KiB) Viewed 718 times
Re: problem with " .ahk "
I would try the procedure described in the FAQ question I linked to above.
That means, applying the registry patch and re-installing AHK.
That means, applying the registry patch and re-installing AHK.
Re: problem with " .ahk "
i used that i don't know what it should do and i got that "work" message but nothing changed ... well thank you guys ..
Who is online
Users browsing this forum: Bing [Bot], Kellyzkorner_NJ and 164 guests