Community
    • Login

    Add AHK language (syntax).

    Scheduled Pinned Locked Moved General Discussion
    ahkautohotkeylanguage
    4 Posts 3 Posters 9.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gonda WirelessG Offline
      Gonda Wireless
      last edited by

      Please add AHK (AutoHotkey) as one of the many that comes pre-installed.
      With syntax highlighting and auto-suggestion.

      I’m completely aware of other IDE for AutoHotkey, but I love to use Notepad++ and I don’t want to switch to another editor for AHK.

      Thank You Npp Team!

      PeterJonesP astrosofistaA 2 Replies Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Gonda Wireless
        last edited by

        @Gonda-Wireless ,

        Defining new builtin lexers comes from the Scintilla component and getting that updated component includedin the next release of Notepad++, or from Notepad++ users writing a lexer plugin, or from User Defined Languages (UDL). The Notepad++ developers do not write the lexers.

        That said, there is a User Defined Languages Collection where users can share their already-defined UDL with others. And in that collection, there is an AutoHotKey UDL shared. So download that XML and save into your userDefineLangs\ folder (where other UDL like the “markdown._preinstalled.udl.xml” are stored), and restart Notepad++; then AutoHotKey files that end in the .ahk extension will show up with UDL-based syntax highlighting.

        Gonda WirelessG 1 Reply Last reply Reply Quote 3
        • Gonda WirelessG Offline
          Gonda Wireless @PeterJones
          last edited by

          @PeterJones,
          Thank You so much! It is working as intended.

          Sorry if I requested for “pain in the A job”.
          After reading your reply, I realized its not that easy as I thought earlier.
          I don’t know the complications, as I’m not (Pro)grammer.
          In spite of that, AHK is quiet understandable to mere mortals like me.

          1 Reply Last reply Reply Quote 1
          • astrosofistaA Offline
            astrosofista @Gonda Wireless
            last edited by

            @Gonda-Wireless

            In addition to the fine information provided by @PeterJones and in case you are not aware of this, there is a subforum on the official AutoHotkey website dedicated to everything related to Notepad++.

            In particular, I suggest you check out this post, which explains how to run a script or selection from Notepad++.

            Have fun

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors