Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when opening app switcher ("Can't create control.") #1

Open
1j01 opened this issue Oct 19, 2024 · 0 comments
Open

Error when opening app switcher ("Can't create control.") #1

1j01 opened this issue Oct 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@1j01
Copy link
Owner

1j01 commented Oct 19, 2024

I don't know what causes this. It looks like it's failing to create the Pic component (image) for the focus ring.
Reloading the script fixes it, but I've seen this happen a few times.

Error: Can't create control.

	---- C:\Program Files (x86)\Window Switcher\GuiEnhancerKit.ahk
	000: }
	135: {
▶	135: Return super.Add(ControlType, Options?, Text?)
	135: }
	137: {

Call stack:
C:\Program Files (x86)\Window Switcher\GuiEnhancerKit.ahk (135) : [Gui.Prototype.Add] Return super.Add(ControlType, Options?, Text?)
C:\Program Files (x86)\Window Switcher\GuiEnhancerKit.ahk (135) : [GuiExt.Prototype.Add] Return super.Add(ControlType, Options?, Text?)
C:\Program Files (x86)\Window Switcher\app-switcher.ahk (187) : [ShowAppSwitcher] FocusRing := AppSwitcher.Add("Pic", "yM w128 h128 Section", ResourcesDir "app-border-inactive.png")
C:\Program Files (x86)\Window Switcher\app-switcher.ahk (360) : [<Hotkey>] ShowAppSwitcher(Apps)
> #Tab
@1j01 1j01 added the bug Something isn't working label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant