Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/08/2024 in all areas

  1. Hello everyone, today I would like to show you how far I have come with the implementation of DarkMode for AutoIT GUIs. Source: https://github.com/ysc3839/win32-darkmode About Win32 Darkmode: Since about 2020 there is a "hidden" / "undocumented" API for Win32 DarkMode. There is also already a program that has implemented this quite well. (Notepad++) Difficulties Unfortunately, the Windows devs are either too lazy or have been stupid with the implementation. So we have to apply all kinds of fixes (as we are already used to) to get the GUIs to actually run completely. Also there are some difficulties as all existing code that could be used is written in c++. I understand that, but only rudimentarily. So if there is someone here who can / would like to help me translate / implement some existing solutions. There are for example: The 'FixDarkScrollBar()' function which I would like to implement, but where I just can't get any further. Also with ChatGPT the code is difficult to 'override' and it doesn't work at all. GPT tells me that the implementation in AutoIT is quite impossible. And the full IatHook.h (https://github.com/ysc3839/win32-darkmode/blob/master/win32-darkmode/IatHook.h) Edit: Sloved witth v0.0.3 Todos / Challenges: * Redrawing of the Menu to Black * Getting the other controls into the right Theme for DarkMode * Setting Text Theme Colder of e.g. Checkboxes, ListViewHeader or Group Text * Getting Darkmode for Date Let me know what you think and where you might have suggestions for improvement or ideas. (Especially if you can help translate c++ into autoit :3) Kind Regards NoNameCode GUIDarkMode_V0.03 - OpenNcThemeData Hook.zip Changelog V.03 * Added HookOpenNcThemeData.dll => Coded by NoNameCode in C++ if someone want the Source pls DM * Added HookOpenNcThemeData_Debug.dll => Same as HookOpenNcThemeData.dll but Creates a OpenNcThemeData.txt with the opened Classes and if the Class got Replaced by Hook * Changed Darkmode_GUISample.au3 > More Data for GUICtrlCreateList and GUICtrlCreateEdit + #include <String.au3> > Added Routine to get AutoIt Install Path by Reg; or if not by @AutoItExe for PIC (logo4.gif) or AVI (SampleAVI.avi) * Changed GUIDarkMode.au3 > Added DllOpen for HookOpenNcThemeData.dll and Added OnAutoItExitRegister for DllClose function > Changed _GUICtrlSetDarkTheme -> Cleand Up Switch by CTRL Class bec. moste of them are not needed anymore through ScrollbarFix via HookOpenNcThemeData.dll Old Stuff:
    2 points
  2. Microsoft Defender didn't like the temporary .exe being created. Now it works again. Thanks for the help!
    2 points
  3. Andreik

    ePUB Reader

    This is a portable application that can open ePUB books (EPUB 2 and EPUB 3) and it's made just with native AutoIt UDFs. It's a personal project since I have many ebooks but I post the code here just in case someone else need a portable and lightweight reader or simply to learn how to read ePUB files. Features: Load ePUB book Navigation through content (backward / forward / stop / refresh) with a visual indicator of chapters in the form of an interactive slider. Resizeable and (partially) customizable UI Custom CSS (partially) Jump to chapter Note: This is an early (experimental) release that might have undiscovered bugs and please note that some features are just partially implemented. I tested the application with a dozen of ePUB books but I am sure that some bugs might come to light soon, so if you found any just let me know and I will try to fix the application. I don't have enough space to upload the source and binary here but you can see the entire project on GitHub or download from AutoIt.
    1 point
  4. That worked, Thank you very much. I was using ChatGPT but no matter how I worded it or what I gave it it just couldn't figure it out. Thanks again!
    1 point
  5. Andreik

    ePUB Reader

    New version available: Fixed some issues to open certain ePUB files (thanks to @argumentum for submitting files that don't open properly) Added more options to customize UI Added a button to jump fast to a specific chapter
    1 point
  6. Try this version. https://www.autoitscript.com/forum/topic/201808-control-application-sound-volume/#comment-1447975 In SimpleAudioVolume, there is a SetMute method. I did not test the code, but it looks right to me...Should work.
    1 point
  7. _SetMute(False/True) ; verify with _GetMute() ... This still works on my system... it's the _AudioEndpointVolume.au3 download from the first post. Although, I believe that's only windows os specific, I believe I saw one once that does it per app.
    1 point
  8. if you single click the icon it can popup the volume mixer even if there's no mic. installed. Unless I missed something in my code.
    1 point
  9. @StatQuo use GUICtrlSetState($ProgressID[0], $GUI_HIDE) Saludos
    1 point
×
×
  • Create New...