: K-Meleon Forum
K-Meleon development related discussions.
[quote=deadlock] @JamesD I began to use tabs last winter. You're at least 2 years ahead. [url=http://kmeleon.sourceforge.net/forum/read.php?1,94047,94377#msg-94377]PriorTabs.ini[/url] >>Did you try to use $WindowNumber and $TabNumber? [color=#996633]>They return the integer counts of windows >and tabs in the window in focus.[/color] The integer count of windows in the window in focus? The count of tabs in a window sounds better, but no macro in KM 1.6b2 is using them. Both commands are undocumented and I'm getting dizzy thinking about them. [color=#666666]>I need to have something which will identify >which tab/window has the focus.[/color] You said all macros work in the tab that has focus. I guess that you want something different. This function in plugins.cpp should return true if the window/tab has focus: BOOL GetWindows(HWND hWnd, CBrowserFrame** frame, CBrowserView** view) [color=#666699]>The URL is no help, because that >will most likely change over time.[/color] And you can clone them. CBrowserTab has m_iIndex to identify them and IsActive to test which one is active.[/quote]
K-Meleon forum is powered by