snolab / CapsLockX

Manipulate your computer like a hacker! 像黑客一样操作电脑!
https://snolab.github.io/CapsLockX/
GNU General Public License v3.0
249 stars 24 forks source link

Which modules should I disable for minimal functionality in Windows 7? #74

Closed shiyuwang-jamk closed 1 year ago

shiyuwang-jamk commented 1 year ago

I cloned the CLX repo back on the 3rd of April to a Windows 7 host with no internet access. The programs in the host are limited, so for speed and simplicity, I tried to modify CapsLockX-Config.ini to disable most modules and keep only the ones that control the mouse cursor and other basic, stock functionality. And then I ran into errors coming out of a particular conditional code in an AHK script, such as Line 164 of the WindowManager module.

How do I figure out the minimal setup? Do you have any recommendations for legacy platforms like my host running Windows 7?

snomiao commented 1 year ago

just delete the fioes u dont need

2023年4月25日(火) 14:02 Wang Dani @.***>:

I cloned the CLX repo back on the 3rd of April to a Windows 7 host with no internet access. The programs in the host are limited, so for speed and simplicity, I tried to modify CapsLockX-Config.ini to disable most modules and keep only the ones that control the mouse cursor and other basic, stock functionality. And then I ran into errors coming out of a particular conditional code in an AHK script, such as Line 164 of the WindowManager module.

How do I figure out the minimal setup? Do you have any recommendations for legacy platforms like my host running Windows 7?

— Reply to this email directly, view it on GitHub https://github.com/snolab/CapsLockX/issues/74, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX33FT6QPMNSVQLQCPCAG3XC5LEXANCNFSM6AAAAAAXKOX7ZY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

shiyuwang-jamk commented 1 year ago

What are fioes?


From: Snowstar Miao @.> Sent: Saturday, April 29, 2023 2:16 PM To: snolab/CapsLockX @.> Cc: Wang Dani @.>; Author @.> Subject: Re: [snolab/CapsLockX] Which modules should I disable for minimal functionality in Windows 7? (Issue #74)

just delete the fioes u dont need

2023年4月25日(火) 14:02 Wang Dani @.***>:

I cloned the CLX repo back on the 3rd of April to a Windows 7 host with no internet access. The programs in the host are limited, so for speed and simplicity, I tried to modify CapsLockX-Config.ini to disable most modules and keep only the ones that control the mouse cursor and other basic, stock functionality. And then I ran into errors coming out of a particular conditional code in an AHK script, such as Line 164 of the WindowManager module.

How do I figure out the minimal setup? Do you have any recommendations for legacy platforms like my host running Windows 7?

— Reply to this email directly, view it on GitHub https://github.com/snolab/CapsLockX/issues/74, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX33FT6QPMNSVQLQCPCAG3XC5LEXANCNFSM6AAAAAAXKOX7ZY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/snolab/CapsLockX/issues/74#issuecomment-1528680939, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABIKOMJQBSL3IBVMNMO2IN3XDSW2HANCNFSM6AAAAAAXKOX7ZY. You are receiving this because you authored the thread.Message ID: @.***>

snomiao commented 1 year ago

files

shiyuwang-jamk commented 1 year ago

Here is what I have found so far: Of all the modules available at CLX, I have found the following two modules would cause a fatal halt if disabled:

The prompt when faulted looks like this: `Error in #include file "....\Modules\CLX-WindowManager.ahk": Call to nonexistent function

Specifically: IsWindowOnCurrentVIrtualDesktop(hWnd))`

and pointing at line 164 of the module AHK file.

Similar issue with Blender disabled, pointing at line 38 containing conditional Blender窗口内() && Blender增强模式 in the .\Modules\QuickTips.ahk

You suggested deleting certain files/modules, and so I did. And yet, this could result in a slippery slope, for instance, where the QuickTips.ahk relies on the WindowManager, such as the 任务栏中() conditional at line 32 of QuickTips

So it turned out that deleting certain modules won't work and causes even more headaches. Seems I will have to make my own version of QuickTips as part of the minimization effort.

snomiao commented 1 year ago

thx for your effort。i will try solve this for future ver

2023年5月19日(金) 12:22 Wang Dani @.***>:

Here is what I have found so far: Of all the modules available at CLX, I have found the following two modules would cause a fatal halt if disabled:

  • Blender
  • Virtual Desktop

The prompt when faulted looks like this: `Error in #include file "....\Modules\CLX-WindowManager.ahk": Call to nonexistent function

Specifically: IsWindowOnCurrentVIrtualDesktop(hWnd))`

and pointing at line 164 of the module AHK file.

Similar issue with Blender disabled, pointing at line 38 containing conditional Blender窗口内() && Blender增强模式 in the .\Modules\QuickTips.ahk

You suggested deleting certain files/modules, and so I did. And yet, this could result in a slippery slope, for instance, where the QuickTips.ahk relies on the WindowManager, such as the 任务栏中() conditional at line 32 of QuickTips

So it turned out that deleting certain modules won't work and causes even more headaches. Seems I will have to make my own version of QuickTips as part of the minimization effort.

— Reply to this email directly, view it on GitHub https://github.com/snolab/CapsLockX/issues/74#issuecomment-1553944848, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX33FTBCDJJZJHZUTOEUFLXG3RQRANCNFSM6AAAAAAXKOX7ZY . You are receiving this because you commented.Message ID: @.***>

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.