Windows Data Types for AHK

Post your working scripts, libraries and tools
User avatar
jNizM
Posts: 2205
Joined: 30 Sep 2013, 01:33
GitHub: jNizM
Contact:

Windows Data Types for AHK

05 May 2015, 06:34

Windows Data Types for AHK
Translated MSDN Types for DllCall's in AutoHotkey

Source
AutoHotkey_MSDN_Types (GitHub)

Features
- Offline Version: Pro (Faster than the online version) | Con (Must be updated manually)
- Online Version: Pro (Downloaded every time the latest translation) | Con (Slower than the offline version)

Screenshots
- After starting
Image
- After search something (like LP...)
Image

Info
- Version: v0.2
- URL AHK Thread

Changelog
- 0.2 | Small fixes
- 0.1 | First Release

Contributing
- special thanks to just me
- thanks to AutoHotkey Community

Copyright and License
Unlicense



References and useful links
- Header Annotations
- Windows Data Types
- Data Type Ranges
- Large Integers
- Windows Coding Conventions
- What Is a Window?
- Structure Alignment

Programming Guide for 64-bit Windows
- The New Data Types
- Rules for Using Pointers




Please report any kind of bugs (Script, Gui or Type translation)
[AHK] 1.1.26.01 x64 Unicode | [WIN] 10 Pro (Version 1703) x64
My GitHub Profile | Donations are appreciated if I could help you
tmplinshi
Posts: 1063
Joined: 01 Oct 2013, 14:57

Re: Windows Data Types for AHK

05 May 2015, 10:31

Thanks :D
User avatar
evilC
Posts: 3379
Joined: 27 Feb 2014, 12:30

Re: Windows Data Types for AHK

17 Jul 2015, 09:29

Extremely useful! Thankyou!

May I make a suggestion?
How about a checkbox or something to control matching behavior?

For example, if you type UINT, it shows PUINT etc.
A checkbox to state that the match much start with what you typed would enable you to find the correct datatype quicker, and may also speed up searches.

[Edit]
Also, could you maybe have it ignore trailing spaces?
If you double click a definition on MSDN and copy / paste, you end up with trailing spaces.

For example, on this page, if I double click the word UINT and CTRL+C, you get UINT plus 15 spaces afterwards.

[Yet another Edit]
Also, how about a hotkey, that when you hit it, it copies the selected text and puts it in the search box?
tmplinshi
Posts: 1063
Joined: 01 Oct 2013, 14:57

Re: Windows Data Types for AHK

25 Jul 2015, 01:27

@evilC
Your suggestion is exactly what I needed too. :)
I made these changes:

Code: [Select all] [Download] GeSHi © Codebox Plus

Added:
- "Contains" checkbox.
- Double-click cell to copy text.
- Auto select text in edit box when focused.
- "Always On Top" checkbox.
Modified:
- Trim keyword, etc...

Source: https://gist.github.com/tmplinshi/cedaf22f1de666539886
User avatar
evilC
Posts: 3379
Joined: 27 Feb 2014, 12:30

Re: Windows Data Types for AHK

25 Jul 2015, 05:21

jnizm has already added my suggestion to his code - I tested a beta version for him with this and some other enhancements in it.

Has he not released it yet?
tmplinshi
Posts: 1063
Joined: 01 Oct 2013, 14:57

Re: Windows Data Types for AHK

25 Jul 2015, 05:26

Seems not.
User avatar
evilC
Posts: 3379
Joined: 27 Feb 2014, 12:30

Re: Windows Data Types for AHK

25 Jul 2015, 08:15

The version I tested was

https://dl.dropboxusercontent.com/u/406 ... _Types.ahk

He also added some hotkeys to copy what was selected and strip spaces - if you double-click a datatype column in an MSDN definition , you select the whole space-padded column.
I think he was also working on a hotkey such that if you hit it, it pasted the best (ie shortest match) answer straight into your text editor - so you don't even have to have the app visible to use it.
tmplinshi
Posts: 1063
Joined: 01 Oct 2013, 14:57

Re: Windows Data Types for AHK

25 Jul 2015, 11:30

Thanks. Good idea to use hotkey.
jballi
Posts: 417
Joined: 29 Sep 2013, 17:34

Re: Windows Data Types for AHK

25 Jul 2015, 17:59

I just found this. Late to the game as usual. Looks useful. Thanks.
User avatar
jNizM
Posts: 2205
Joined: 30 Sep 2013, 01:33
GitHub: jNizM
Contact:

Re: Windows Data Types for AHK

25 May 2016, 01:37

Added References and useful links.
If you got more, let me know and I will add them.
[AHK] 1.1.26.01 x64 Unicode | [WIN] 10 Pro (Version 1703) x64
My GitHub Profile | Donations are appreciated if I could help you

Return to “Scripts and Functions”

Who is online

Users browsing this forum: Bon and 20 guests