Gui with Tabs: How to make gosub case-sensitive?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Bernd
Posts: 56
Joined: 03 Sep 2016, 13:56

Gui with Tabs: How to make gosub case-sensitive?

05 Apr 2019, 12:22

Hi, I programmed a Gui with Tabs.
However, I realized that

Code: Select all

:?c*B0:a::
GuiControl, choose, TabNos, 4
return

:?c*B0:A::
GuiControl, choose, TabNos, 5
return
works fine whereas when I employ the gosub function, it tells me that a' and A' are the same and sorts them both into Tab 4.

How to make gosub case-sensitive?
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Gui with Tabs: How to make gosub case-sensitive?

05 Apr 2019, 13:21

ahk in and of itself inst casesensitive, so u cant
Osprey
Posts: 453
Joined: 18 Nov 2017, 05:50

Re: Gui with Tabs: How to make gosub case-sensitive?

05 Apr 2019, 13:27

I don't think that you can. You may need to create a middleman subroutine that checks the case and routes to the appropriate subroutine.
Bernd
Posts: 56
Joined: 03 Sep 2016, 13:56

Re: Gui with Tabs: How to make gosub case-sensitive?

05 Apr 2019, 15:51

I experimented a little bit and found out that I can mimic case-sensitivity if I put the A Tab before the a{nbsp} Tab.
Strangely, when I invert the order, it does not work and both cased get sorted into the same Tab.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Ragnar and 355 guests