* Hotkey to hide boxes in charts/diagrams

For existing requests please see The Wish List
Post Reply
avatar
GeoffR
Newbie
Posts: 4
Joined: 02 Mar 2021 12:46
Family Historian: V7

Hotkey to hide boxes in charts/diagrams

Post by GeoffR » 15 Mar 2021 20:38

Instead of having to right-click when a box(es) has been selected in the charts/diagrams, a 'hotkey' such as a single "H" keypress would be a very easy way to hide selected individuals in order to make the chart simpler by 'pruning' the non-essential members of the family.

The ability to hide certain 'nodes' and branches makes the charts/diagrams a killer feature of Family Historian, and the facility to hide selected individuals with a hot key would make it even better.

I'd be interested to hear other users' thoughts on this. Is there already a facility to do this?

Geoff

User avatar
tatewise
Megastar
Posts: 21358
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by tatewise » 15 Mar 2021 23:15

Geoff, is the 'problem' that you repeatedly need to hide the same boxes every time you build essentially the same Diagram?

After hiding the boxes have you tried using Diagram > Save Diagram to create a Family Historian Chart?
That remembers all your Options, the Diagram Root person, which boxes are hidden, etc, etc, ...

It is NOT a completely frozen Chart. Any changes to the family tree will add or remove boxes from the Chart. Any changes to Facts will be shown in the boxes. The layout can be rearranged. The Text Scheme can be changed.
However, it is saved between FH runs, whereas working Diagrams are always built from scratch, and Diagram Types only preserve the Options and a few other details.

BTW: If needed, a 'hotkey' would need to be more than a single letter to avoid misinterpretation. It would need to involve another key such a Ctrl, Shft, Alt, or Windows key. That would detract from making it easier than right-click of the mouse.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
GeoffR
Newbie
Posts: 4
Joined: 02 Mar 2021 12:46
Family Historian: V7

Re: Hotkey to hide boxes in charts/diagrams

Post by GeoffR » 16 Mar 2021 16:52

Mike,

Thanks for your prompt and detailed reply.

Given that a 'hide hot-key' would obviously require an additional key (CTRL, ALT etc) I guess I'll stick with the RH mouse button!

Geoff.

User avatar
GeneSniper
Superstar
Posts: 281
Joined: 06 Dec 2016 20:40
Family Historian: V7
Location: East Kilbride, Lanarkshire, UK

Re: Hotkey to hide boxes in charts/diagrams

Post by GeneSniper » 18 Mar 2021 10:48

tatewise wrote:
15 Mar 2021 23:15

BTW: If needed, a 'hotkey' would need to be more than a single letter to avoid misinterpretation. It would need to involve another key such a Ctrl, Shft, Alt, or Windows key. That would detract from making it easier than right-click of the mouse.
What like Ctrl c to copy. I would never right click then select copy over that option. I think the option being there would never be a bad thing, you wouldn't have to use it, most hotkey options do make working within Windows programs quicker.
William

* Illegitimi non carborundum *

User avatar
jimlad68
Megastar
Posts: 705
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by jimlad68 » 19 Mar 2021 19:22

Using AutoHotKey Scripts
just add this after the line:
#X::Send !TL ; Win+X opens Tools > E'X'ternal File Links (Win+L opens Windows Lock screen)

Code: Select all

; Diagram to hide a box. Ensure mouse pointer over box > Win+Z 
;       (you can leave Win key pressed while moving to others then hit z, L hand keyboard, R hand uses mouse)
#Z::Send {Click, , Right}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Down}{Enter}
Something I have just been working on and hope to publish a 1st draft very soon with more shortcuts, but did not want to keep you waiting.

You also have the option to select multiple boxes (hold Ctrl + clicks) then hide them all together via Diagram hide/show boxes.
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68

User avatar
ColeValleyGirl
Megastar
Posts: 2728
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by ColeValleyGirl » 28 Mar 2021 11:10

Geoff, now that there's an AutoHotKey script that meets the need, do you still want to raise a Wish List request?

User avatar
jimlad68
Megastar
Posts: 705
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by jimlad68 » 28 Mar 2021 11:28

Helen, you will note the download in my post
Autohotkey (AHK) "Productivity" shortcuts (19150)
includes the mentioned AHK code, along with some others.
I find this speeds up many actions for me, however you will also note my l hoped that FHv7 would bring some "productivity" navigation improvements, as it did not that is why I posted the AHK script.
I would still hope that FH would include more shortcuts, even better would be macro ability, to aid productivity.

So, I would think it still an excellent wish list candidate.
If I, with my limited scripting skills can do it in 1 line of script, it should be a doddle for CP.
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68

User avatar
ColeValleyGirl
Megastar
Posts: 2728
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by ColeValleyGirl » 28 Mar 2021 11:36

Jim, you're doing it with one line of script supported by a program that somebody else has developed. Developing the supporting program has taken 18 years to date...

Personally, I'd rather CP put their effort into developing functionality that nobody else can provide (there are plenty of examples on the Wish List already) rather than things that can be added on using existing 3rd party projects.

However, if I'm going to raise a request for extra hot key support, it ought to be more generic than just this request I suspect.

User avatar
jimlad68
Megastar
Posts: 705
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by jimlad68 » 28 Mar 2021 11:49

Helen, I suppose it is all a case of priorities. However, CP have produced many integrated shortcut keys, so I suspect it is not that difficult; is it a case of sitting down and creating them, and ideally giving more thought to Common Look and Feel (CLAF), there are so many inconsistencies including many fields/buttons not being able to tab to, or do not have an ALT+char option, these alone would make navigation easier and also make scripting things like AHK so much easier.

"more generic" I agree, if you wish I could detail it for you, I have already suggested a related aspect to CP via a support ticket.

N.B. /P.S. re Property Box Font for Text+Note+Text Frm Source+POPOUT boxes (12800)
I have tried to reply to your comment on this but cannot find a "Reply" button!
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68

User avatar
ColeValleyGirl
Megastar
Posts: 2728
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by ColeValleyGirl » 28 Mar 2021 12:03

Jim, could you have a go at detailing the request?

Re Property Box Font for Text+Note+Text Frm Source+POPOUT boxes (12800) just let me know here (topics in Closed wish List requests are locked, I suspect).

User avatar
jimlad68
Megastar
Posts: 705
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by jimlad68 » 28 Mar 2021 12:31

Helen, Great, I will come back in next few days with a "generic list" + examples, shall I post it here?

re Property Box Font for Text+Note+Text Frm Source+POPOUT boxes (12800)
- As far as I can work out, if you are not using the new formatting options, the only improvement is that the new note window font can be changed once you are in it, but requires changing from "automatic" each visit, I cannot see a way to make the default font say consolas. There is no new option in Preferences > property box > Fonts.

It is a bit better now in that if the "global text" is monospaced (say consolas), then the automatic becomes consolas, the downside being most other text is consolas and not as easy on the eye for sentence type text. If I know I will be viewing a lot of "tabulated" data, I will swap to Consolas for all text via the properties box.

The same issue is still there for example with popup citation window for "text from source", which is even more pertinent for tabulated data.

So the 2 suggestions are still very valid to me, and would be very useful.
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68

User avatar
ColeValleyGirl
Megastar
Posts: 2728
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by ColeValleyGirl » 28 Mar 2021 12:44

jimlad68 wrote:
28 Mar 2021 12:31
Helen, Great, I will come back in next few days with a "generic list" + examples, shall I post it here?
Yes please.

User avatar
ColeValleyGirl
Megastar
Posts: 2728
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by ColeValleyGirl » 28 Mar 2021 12:46

jimlad68 wrote:
28 Mar 2021 12:31
re Property Box Font for Text+Note+Text Frm Source+POPOUT boxes (12800)
- As far as I can work out, if you are not using the new formatting options, the only improvement is that the new note window font can be changed once you are in it, but requires changing from "automatic" each visit, I cannot see a way to make the default font say consolas. There is no new option in Preferences > property box > Fonts.

It is a bit better now in that if the "global text" is monospaced (say consolas), then the automatic becomes consolas, the downside being most other text is consolas and not as easy on the eye for sentence type text. If I know I will be viewing a lot of "tabulated" data, I will swap to Consolas for all text via the properties box.

The same issue is still there for example with popup citation window for "text from source", which is even more pertinent for tabulated data.

So the 2 suggestions are still very valid to me, and would be very useful.
OK -- I'll leave the relevant Wish List item open.

User avatar
jimlad68
Megastar
Posts: 705
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: Hotkey to hide boxes in charts/diagrams

Post by jimlad68 » 03 Apr 2021 11:37

ColeValleyGirl wrote:
28 Mar 2021 12:44
jimlad68 wrote:
28 Mar 2021 12:31
Helen, Great, I will come back in next few days with a "generic list" + examples, shall I post it here?
Yes please.
Helen, below as promised. Feel free to amend, update, add to etc. Does this mean you will add to the Official FHUG Wish List?

Wish List - Title - Productivity Navigation improvements and Shortcuts - with CLAF (Common Look And Feel)

[1] All dropdown menu items and subsidiary menu items should have unique character keyboard choices.

[2] Same for right mouse click dropdown menus.

[3] It should be possible to "tab to" and/or "Alt+letter to" all "buttons" and "data entry points".

[4] All windows should have the maximise facility enabled.

[5] A simple method/shortcut to expand all (or limited) the "+-" items in "Property Box All tab", "Records window", "Named Lists". This takes for ever now, but when expanded fully can give a complete picture and can even be copy/pasted elsewhere.

<> The above 5 items should also make it easier to produce scripts for external programs like Autohotkey (AHK)

[6] Some but not all popup windows can be ESCaped from (e.g. "select source" "select source record" "text editing" and more cannot)

[7] More built in shortcut keys, ideally the abillty create one's own. Could this be accomplished by plugins?

[8] Retain "window" positions and sizes within a session and for a new session.

<><> Examples for the above.

[ex1] Some of the main Alt+character dropdown menus use the same character multiple times.
- Alt > View > Charts > Ancestors and fAn charts both have letter A, yet the 2 all relatives do not have a jump character.
- Alt > Edit > F gives Find, but no letter for Find and replace, find in diagram or File Root.

[ex2] e.g. Mouse Right Click on Fact to show drop down menu in Property Box All tab, Records window, Named Lists.
This shows many items (variable depending on fact) nearly all beginning with "Add"

[ex3]
- Report pane/window. I cannot Tab anywhere. Arrow keys will not go between buttons, Ctrl+D does not go to an entry box.

[ex4] These are some popout windows that have the maximise window option greyed out, yet it is possible to drag to any size or use some of the windows "winkey+arrow" actions.
- Plugins, All custom queries, "text editing" window.
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68

Post Reply