Force CHM help window move to Index or Search tab initially - chm

How to add the feature in a CHM file to force the HTML help window move to the 'Index' or 'Search' tab when the help window popup initially?
The HtmlHelp API has options to specify either a 'HH_DISPLAY_INDEX' or 'HH_DISPLAY_SEARCH' command so the CHM help window will be foced to move to the specified tab (Index or Search tab).
Thanks for help.
CK

Afaik the window section has options for this, but this means you must define a window.
Look at
http://chmspec.nongnu.org/latest/INI.html#HHP
paragraph 5.6.2.2.2. item 18

Related

"Scroll to text fragment" and another hash action in link

Does anyone know if there is a way to use the "scroll to text fragment" feature in a link (e.g. "http://url.com/page/#:~:text=highlight%20this") in addition to another hash action in the same link?
I have a page with tabs (its a divi tabs module in wordpress) and when clicking link on another page coming to this page I would like to open a tab (can be done with "http://url.com/page/#tab|2") and also highlight text within that tab.
Does anyone know how to do this?
If I first go to "http://url.com/page/#tab|2" (opens the tab) then append "#:~:text=highlight%20this" or "&:~:text=highlight%20this" to the end of the url, it achieves the desired affect. But it does not when going directly to "http://url.com/page/#tab|2#:~:text=highlight%20this" (it just redirects back to "http://url.com/page/#tab|2")
Any ideas would be appreciated.

Accessibility: "downloading file" dialog isn't active in IE

I am improving the accessibility of a website to make sure users can easily navigate using the keyboard only. There is a button that generates a file, but after clicking on the button, the generic browser download dialog appears at the bottom of the page, and the focus still stays on the button. Users with a screen reader are not notified about the dialog.
There is a way to focus on the dialog when it appears?
I am able to focus on elements of the page, but since the dialog is a browser feature, I have no idea how to do it!?
I will appreciate any guidance what can you give me. Thank you!
You do not have control to do this, plus this is expected behaviour and there is nothing you need to do.
Screen reader users will go out of the active screen using shortcut keys if they wish to access the file.
Other considerations as you said "button" in your question
You should not use a <button> element to generate a file. File downloads should always be a hyperlink (<a>).
If the document requires variables to be passed and you are able to pass them via a GET request then the hyperlink href should be the URL + GET parameters.
The advantage of this for everyone is that they can middle click to open the document in a new window (or right click and choose "open in new window" etc.), plus it works without JavaScript and is easily indexed by Search Engines.
Also adding the download attribute to a hyperlink has some advantages, especially as in some screen readers it gets signalled to users that this link will download a document.
When creating a download link you should state the document type (pdf, word etc.) and document size for accessibility. You can do this with visually hidden text if your design does not allow for it.
I have written a reasonably in-depth answer on how to add the file size and file type info for screen readers here. About 70% of it is relevant to you.

size of multiple tabs in Notepad++

this is my first question here. I am using Notepad++ and I love it. The only thing I find uncomfortable is that when multiple tabs are open, the width of the tab name is too big, and that is because Notepad in the tab name displays the full name of the file.
I wonder if it is possible that the with of the tab was automatically reduced (as it happens in Google Chrome, for example), so that the more tabs you have, the smaller the width of the tab, that is, the more abbreviated the name is.
Thank you!
I'm using Notepad++ for a long time and I can say that there is no way to do what you want.
But, you can open multiple notapadd++ windows with multiple tabs.
e.g. 10 tabs at the 1st window, and 10 tabs at the 2nd window.
To open new Notepad++ window just drag&drop some tab from main window outside it. Same way you can move tabs between two windows.
To my knowledge there is no way to have tabs resize like that. You can try settings>preferences>general>tab bar>reduce or even multi-line, but I don't believe they can dynamically resize.

How to configure NICedit to display only "New Window" option?

I am using NicEdit in my project. I need to disable the option "Current Window" for links in one particular module. How can this be achieved?
Thank You,
Santhosh
Open the nicEdit.js file and Check the line which starts with
var nicLinkButton=nicEditorAdvancedButton.extend({addPane:function()
in that line find this word "Current Window" and remove the entire word ("":"Current Window",). It will removes the current window option in the nicEdit. Then save your file and check in the browser.
It will work.

How to invoke the same browser instance from a web link

I have a link on my web page. When I click it I open a new window and show content in that window.
I would like to be able, in a second time, to click again in that link and, instead of opening a new browser window/tab, to get the previous instance and put content on it.
Is it possible in some way?
Thanks in advance, greetings.
In HTML you do this by specifying a named target:
Link 2
Link 3
Link 4
All will open in the same window.
Note: If the user has their preferences set to open new windows in tabs, these will all reference the same tab (vs. window)