Replies: 3 comments 7 replies
-
omg ty, it hadn't occurred to me that AutoHotkey documentation did syntax highlighting, I could totally use that code.
where ? can you link ? can you please paste the code in TEXT instead of only IMAGE ?: #If WinActive("ahk_class Notepad”) or WinActive(MyWindowTitle)
#Space::MsgBox You pressed Win+Spacebar in Notepad or %MyWindowTitle%. you never know how it might be useful:
https://github.com/Lexikos/AutoHotkey_L-Docs/search?q=MyWindowTitle I want to know how THEY did it, because it's a website so it's surely javascript, and it's open source ! using inspect element, I found that the red is #A31515, I cloned the repo and searched for #A31515 select all all code snippets are in syntax highlighting function: addSyntaxColors : https://github.com/Lexikos/AutoHotkey_L-Docs/blob/1df413766b8cdfd30d126b7f3b5c85346b8e9353/docs/static/content.js#L1656 you can ask for clarifications or try console.log/breakpoints |
Beta Was this translation helpful? Give feedback.
-
here is the link to the docs I screenshotted: Commands_If
I used Vis2 OCR and here: |
Beta Was this translation helpful? Give feedback.
-
See #69 for a tracked issue :) |
Beta Was this translation helpful? Give feedback.
-
Currently the syntax highlighting for this #if statement is like this:
In the AutoHotkey documentation, however, it's like this:
It would be very nice to see this kinda syntax highlighting also implemented in this extension :D
Beta Was this translation helpful? Give feedback.
All reactions