Get current Verticle scrollbar width in IE Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Visioneer
Posts: 140
Joined: 07 Oct 2013, 18:51

Re: Get current Verticle scrollbar width in IE  Topic is solved

30 Aug 2017, 04:50

That will be great. Hopefully there can be links to forum pages that land one on the exact page and possibly the exact spot(s) on that page, to get the juice.
Use the AHK chm as a mental pattern. Personally, I seldom use the Contents, but that Index I love to read straight through. The Contents is someone else's conception of what I need. The Search gives too many hits, usually losers. The highlight is nice though.
For me, it is a great reference that does not get lost in tens of thousands of social threads.
I should probably Google for books etc. on COM.

You are truly great. Your work speaks for itself. A lot of people would follow you.
Last edited by Visioneer on 07 Sep 2017, 11:56, edited 2 times in total.
Visioneer
Posts: 140
Joined: 07 Oct 2013, 18:51

Re: Get current Verticle scrollbar width in IE

02 Sep 2017, 15:36

Could something be used in chm help systems to expedite the viewing of the
relevant info in a link?
Last edited by Visioneer on 07 Sep 2017, 11:28, edited 2 times in total.
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Get current Verticle scrollbar width in IE

02 Sep 2017, 15:55

I'm not 100% clear on these techniques you want to use, either:
- the html in the webpage itself does something (I can't help you with that)
- the user is using an AutoHotkey script, or compiled AutoHotkey script (in which case if the script you are using can do this, then it's possible)

It seems that in general you are dissatisfied with the capabilities of chm files, or chm file equivalents as used on webpages. I personally don't find them that bad, and wouldn't expect a website to provide the sort of advanced functionality that you would like your website/application to provide. Either I'd just search for something using Ctrl+F, or have a good index with links to multiple pages for certain items, or I'd use fragment identifiers e.g. https://autohotkey.com/docs/Scripts.htm#continuation.

So although I'd always do extra work to get the best outcome, I would be quite happy personally with a good index, and the use of lots of fragment identifiers.

I might also mention to the user that if they wanted more control over search, they could download a chm, explode it using 7-Zip, and use NirSoft SearchMyFiles to search for content within htm files.

Also, I might provide a txt version of the help for searches, like what I produced for AutoHotkey:
htm to txt, AutoHotkey Help (chm file) to txt - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=26402

[EDIT:] The risk of using advanced techniques via a script, and them failing, actually make them a liability rather than benefit.

[EDIT:] I would say that if you want to give the user the best experience, give them access to things, give them full control. In this case that would be a downloadable chm file, and the tips to decompile it to separate htm files. Plus giving them a txt version of the chm.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Visioneer
Posts: 140
Joined: 07 Oct 2013, 18:51

Re: Get current Verticle scrollbar width in IE

02 Sep 2017, 17:47

jeeswg, I was just giving you an idea that help files in general, including any that you might produce, could have hyperlinks
that are more efficient.

Chm to text is a very interesting idea. Thanks for that.

The https://autohotkey.com/docs/Scripts.htm#continuation. link you provided is interesting. It jumps to a hash tag.
Since hash tags are so prevalent in the AHK forum, I see how you can do this in you help docs quite easily.

The authoring tool used could be helpful here. The helpndoc program I use to create chm help, could be helpful.
https://www.helpndoc.com/sites/default/ ... thods.html

Thanks
Last edited by Visioneer on 07 Sep 2017, 11:51, edited 2 times in total.
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Get current Verticle scrollbar width in IE

02 Sep 2017, 18:46

Generally speaking if I want to share something with someone, I share a link. A link with a fragment identifier if possible, otherwise I say search for a particular string on the webpage (in order to jump to a specific point).

This script helps to find fragment identifiers on a webpage:
list fragment identifiers on a webpage (hash that jumps to point) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=28053

On many headers/titles in the AutoHotkey online help, if you hover over them, you can see a link with a hash in it. So that's one of the easier ways to discover fragment identifiers.

On the AutoHotkey help pages normally there are a sufficient number of fragment identifiers. The exception is code examples, I would often like a fragment identifier direct to one of the code examples.

Virtually anything you can do in Internet Explorer can also be applied to the HTML Help program, the default program that runs when you open a chm file such as AutoHotkey.chm.

As I mentioned in the link above I would like a fragment identifier for Ask For Help, to take you direct to the first question and avoid the announcements. This link is the closest I've got, my workaround:
Ask For Help - AutoHotkey Community
https://autohotkey.com/boards/viewforum ... rum-search

AutoHotkey forum pages are good in that you can create hyperlinks direct to a specific post. Search for 'jump to specific post' in the link below for how to find a post's fragment identifier:
Tips for using the forum. - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=3&t=29007

We do better than using fragment identifiers, by scrolling to a particular element, e.g. by using use 'scrollTo' or 'scrollIntoView' in COM, but this is less easy to share with someone else. I did this once for this forum's Ask For Help page, but I tend to go to 'New posts' now, instead (which is accessible via a button under the forum toolbar).
AutoHotkey Community - New posts
https://autohotkey.com/boards/search.ph ... d=newposts

COM is so big that the documentation is massive, like the Winapi functions. So ultimately selectivity, and tutorials, are required. So we depend on individuals to make good tutorials. I will do one on COM for Internet Explorer hopefully within the next few weeks. Joe Glines has done some good work on this, if you check his website.

As a result of talking to you, I'm now curious as to whether there is a website, that allows you to specify a url and some details regarding a target element, and then navigate there.

What is helpndoc, did you write it? Is it a program that you have to run, or is it something used within a website.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Visioneer
Posts: 140
Joined: 07 Oct 2013, 18:51

Re: Get current Verticle scrollbar width in IE

02 Sep 2017, 20:30

The script you posted on how to find the hash tags is great.

helpndoc is one of several good help authoring tools. I started out with the free version which puts watermarks on it's help pages.
Good enough for this for sure. I upgraded to to the pro version. Not too expensive.
Check it out. It makes help files in many formats from your original one time writings.
It would require the user to have the chm file locally I think. Worth a look. It's free.

Thanks

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Rohwedder, tabr3 and 116 guests