So AutoHotKey doesn't allow for these "alt codes" characters. Example: m̲p̲g̲h̲
I'm kind of new to this so does anyone know how I could make the script accept those type of "alt codes" because when I do it, I get an error.
Error MessageCode:q::q̲
I do not understand what you're talking about.
So basically I'm reassigning keys on my keyboard using AutoHotKey program. The script looks like this:
and it gives me an error which is:Code:q::q̲
I want to replace the function of q on my keyboard to q̲ . So everytime I press q on my keyboard it types q̲ not q.
My question is, how can I make this error go away and assign the new key.
I don't know much about this stuff, but could it be that you're missing the "Return" or some kind of command to stop the code from running?
https://autohotkey.com/docs/Tutorial.htm#s12 Found this, hopefully it's of some help.
Whatever your trying to do in AHK can be done with the program i linked you
Yeah try putting return.
'this program does not contain a recognized action'
debugging is a number one skill every programmer should have. Simply reading that tells you that you didn't tell the program to do anything. Like others have come to the conclusion after a pitiful 3 posts you need to give it an action. Return it to avoid the error but I'm unsure in how you're using the alt codes. If you're trying to put it in a string then I think AHK has a different method of doing that.
Useful links: MPGH Rules | Scammers Grave | Support Sections | How to use IM
Contact me: Visitor Message | Add me on IM | Private Message
Other links: Social Engineering Section | Announcements
MPGH Dark Theme
Super User since 02.02.2020
Global Moderator since 09.23.2017
Moderator since 09.01.2016
Minion+ since 07.22.2016
Marketplace Minion since 06.09.2016
Trove Minion since 06.06.2016
Middleman since 04.21.2016
Social Engineering Minion since 02.03.2016
News FO Freelancer From 11.08.2015 to 07.23.2016
News FO Head Editor From 08.23.2015 to 11.08.2015
News FO Head Editor From 07.19.2012 to 08.11.2014
MPGH News and News FO Founder
Programming Minion From Unknown to 04.23.2013
Minecraft Minion From 09.19.2012 to 04.23.2013
Member since 05.13.2012
So I need to understand what's the point of your script or why would you need the use of the alt codes? Like in what context would they be needed? If I know this I can probably whip up the script for you or the segment you need for the alt codes.
Useful links: MPGH Rules | Scammers Grave | Support Sections | How to use IM
Contact me: Visitor Message | Add me on IM | Private Message
Other links: Social Engineering Section | Announcements
MPGH Dark Theme
Super User since 02.02.2020
Global Moderator since 09.23.2017
Moderator since 09.01.2016
Minion+ since 07.22.2016
Marketplace Minion since 06.09.2016
Trove Minion since 06.06.2016
Middleman since 04.21.2016
Social Engineering Minion since 02.03.2016
News FO Freelancer From 11.08.2015 to 07.23.2016
News FO Head Editor From 08.23.2015 to 11.08.2015
News FO Head Editor From 07.19.2012 to 08.11.2014
MPGH News and News FO Founder
Programming Minion From Unknown to 04.23.2013
Minecraft Minion From 09.19.2012 to 04.23.2013
Member since 05.13.2012
You need to use the specify the character using its unicode hex representation, otherwise when AHK tries to read the script it will do weird shit. A quick Google reveals the specifier is A757.
See how that goes.Code:Send {U+A757}
Last edited by master131; 01-02-2016 at 04:09 PM.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
Well I want to be able to type in underlines with these alt codes. So if I find each letter on the keyboard with it, this is possible. Though, I really only need one correct script for 1 letter and I can do the rest.
- - - Updated - - -
Tried it and it has this really weird character. It gives out this character:
What did you search? Maybe I'll try finding it or something
I just searched for that weird character online. Maybe check out the source for this website, I think it does what you want. You'll need to port the code to AHK of course.
https://thejh.net/misc/unicode-underline
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
Try:
q::
send, q
SendInput, q
Return
Last edited by afiqhebat; 01-02-2016 at 04:25 PM.