* Where Used Record Links 1.4

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 00:10

Downloaded Where Used Record Links 1.4 and it ran fine the first time. But now, it doesn't give me a chance to enter new parameters for type of record to scan. After 'run', it simply goes to results from the last run. Tried exiting FH and reloading to no avail. Am I missing something? The mod is approved for FH 7.

Before installing the plugin, I appended the version nbr 1.4 on the _lua name (which I usually do to distinguish multiple versions in the plugin list). Just before this happened, I had deleted the old plugin v1.3. The Query shows a title of v1.3. Perhaps I need to delete the plugin and reload it. Will check.

Ron
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

User avatar
LornaCraig
Megastar
Posts: 2996
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Where Used Record Links 1.4

Post by LornaCraig » 31 Dec 2020 00:25

After the first run it shows the result set with the previous record selected in the top cell of the first column. So the plugin thinks you have selected that record for the next run. If you click elsewhere in the result set to de-select it, or simply close the result set, you can run the plugin again and it will ask for your new selection.
Lorna

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 00:31

Thanks, but each time I have clicked the 'x' to close the result set (as I usually do with plugins) before running the plugin again...each time the same result of prior search pops up.

I even deleted the plugin and reloaded it but same result. :?
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

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

Re: Where Used Record Links 1.4

Post by tatewise » 31 Dec 2020 00:34

Select the records you want to know where used, before running the plugin, just as you would with the View > Record Links... command.

If you rename plugins you risk upsetting their ability to preserve 'sticky' settings which are saved against their filename.
This plugin does not have 'sticky' settings so it is OK.

If you want to add a suffix to any of my plugin names use the format Plugin Name - V1-4 as mine disregard anything after and including the space hyphen space.

That is not quite how the plugin works Laura.
Yes, you can select any records in the Result Set to get a new Result Set. The records do not have to be in the first column.
If you close the Result Set then the original set of records will be simply used again.
You need to deselect all the records in order to get the plugin to prompt.
But it is easier to just select the records you want before running the plugn.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 00:40

OK, Mike. I will use your naming technique in the future. I have not run into issues thus far with several plugins with the 'sticky' settings condition, but will keep that in mind.

Yes, the first time I was using Sources, and selected some, then got results. Then deleted a couple duplicates indicated by "*" s as the plugin directs. Deleted the result set, but still no prompts.

So how do I 'deselect' the results? I thought deleting the result 'x' to the left would do that.

BTW...must be pretty late night there?

Ron
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

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

Re: Where Used Record Links 1.4

Post by tatewise » 31 Dec 2020 00:48

Delete the Result Set by clicking X.

You will now be back with your Records Window selection of Source records.
You can deselect in much the same way as you selected multiple records.
e.g. Select just one, then hold down Ctrl key and click the selected one to deselect it so none are highlighted.
Now the plugin will prompt.

Alternatively, just go and select a new set of records in the Records Window, maybe on another tab.
Then run the plugin.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 00:58

Clicking on the name column for a record, with Ctrl, I only get 'properties'. Sorry. And there's only one record in the result set. I then clicked on a couple records in the records tab, then ran the plugin, and I get results for those, but no prompt.

BTW...the title shows v1.3, but assume just a remnant of the prior version.
whereusedrec.jpg
whereusedrec.jpg (25.9 KiB) Viewed 4260 times
Last edited by ronk on 31 Dec 2020 01:04, edited 1 time in total.
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

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

Re: Where Used Record Links 1.4

Post by tatewise » 31 Dec 2020 01:04

To control the selection records you must use the Records Window unless you just want to select one person or one couple in the Focus Winow.

In the Records Window, you can select or deselect records in the say way you can select and deselect files in Windows File Explorer by clicking with the CTRL key held down.

You will only get the prompt if NO records are selected.

That reference to V1.3 is a typo mistake and will get fixed in the next version of the Plugin. Sorry!
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 01:06

But I didn't think I had to select records outside the plugin, merely want the plugin prompt for type of record. I suppose, after first run of the plugin, I need to go the type record directly and select them there. I just thought the plugin would always prompt for type. Will try as you suggest, selecting outside the plugin.

Update: yes that works Mike. I guess once the mod is initialized that first time, I will not get the prompt for type of records any more.

Yes, very familiar with Windows Ctrl, Shift and the like to select.
Last edited by ronk on 31 Dec 2020 01:12, edited 1 time in total.
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

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

Re: Where Used Record Links 1.4

Post by tatewise » 31 Dec 2020 01:12

You will get the prompt when there are NO records selected - as I have said several times.
It can happen.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 01:18

I believe you Mike, I just haven't been able to deselect ALL records. I had thought exiting and starting FH, as well as even reinstalling the plugin would have done that.

I am happy with just doing the selection within the record tabs. Sorry for belaboring this...I am OK with it now. The last thing I want to do is waste your time in the wee hours. :!:
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

User avatar
LornaCraig
Megastar
Posts: 2996
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Where Used Record Links 1.4

Post by LornaCraig » 31 Dec 2020 12:40

But I didn't think I had to select records outside the plugin, merely want the plugin prompt for type of record. I suppose, after first run of the plugin, I need to go the type record directly and select them there. I just thought the plugin would always prompt for type.
Ron, Sorry to resurrect this topic, but can you confirm whether or not, when you made the first run of the plugin, you started by selecting the record(s) in the records window or just ran the plugin and used the prompt to choose the record type and the particular records? In my previous reply I assumed you had used the prompt because you were expecting to see the same prompt window on the second run. Is that right? If you did that, there won't be any records selected in the records window, which is why you can't deselect them. In that situation the plugin does indeed always prompt you for the next selection of records.

I suggested deselecting a record in the results window because I thought the record selected there by default was being treated as the selection for the next run of the plugin. That's what happens if you don't close the results window before the next run. However you say you still don't get the prompt even after closing the previous results set, and I can't replicate that problem.
Lorna

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 13:06

Hi Lorna,

In my first run, the plugin prompted me, and had a pull down for type of record. I chose a type, selected the record type Sources from the left frame, and then 'run. The results came back. I believe I ran it again, and the prompt appeared, at which time I selected all (Ctrl-A) from the left frame to select ALL Sources, the the results came back. But, after that, I could no longer obtain the prompt, and only one record appeared in the result window, even if I closed the plugin, deleted the plugin, reinstalled the plugin; still when it ran, displayed the one record in the results window. I tried deselecting that record in the results frame but it appeared to have no effect. Essentially, I have never had the plugin prompt again. So, now, as Mike suggested, I simply select from the appropriate records tab for which I wish to see where used results.

Ron
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

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

Re: Where Used Record Links 1.4

Post by tatewise » 31 Dec 2020 13:59

Try the attached Where Used Record Links plugin Version 1.4.2 Date 31 Dec 2020
This lets you choose whether to keep or hide the prompt.
Once chosen to hide that is remembered for all Projects, but if no records are selected when the plugin is run then the prompt will reappear with the option to remember to keep it.

BTW: This version also recognises FH V7 rich text Record Links and includes them in the Result Set with an @ sign prefix in the Data Ref Where Used column of data references, so by sorting the column they all rise to the top.

[ EDIT Attachment deleted as V1.5 is now in Plugin Store. ]
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
LornaCraig
Megastar
Posts: 2996
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Where Used Record Links 1.4

Post by LornaCraig » 31 Dec 2020 14:05

[Edit: Mike's post crossed with mine]
Well something is not right if you have never been able to get the prompt again. You should certainly be able to get the prompt if you run the plugin with no records at all pre-selected. I can't replicate the problem you are having, although as you say, you can achieve what you want by always selecting the records from the records window.
Lorna

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 14:40

tatewise wrote:
31 Dec 2020 13:59
Try the attached Where Used Record Links plugin Version 1.4.2 Date 31 Dec 2020
Thanks Mike! That works really nice. Good to see the plugin prompt retention option. However,just to test, I unticked the retain prompt box, and was unable to get back to that box (and prompt) to tick it again. But, I finally figured out how to unselect. I click on a result record, go to the records tab, and click clear. Then, voila, I can obtain the prompt! Maybe that's what you were suggesting, but this is what does work.

Ron
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

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

Re: Where Used Record Links 1.4

Post by tatewise » 31 Dec 2020 14:46

Glad you like it.
Yes, Clear would deselect every record. There are other methods, but that is probably the easiest.
Please try and test the plugin to destruction :D
Do any of the prompts, options, or messages need better wording?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 14:54

Strangely, with v1.4.2, now always getting the prompt, even if box to retain is unticked. Even v1.4 now prompts each time, but without the retention tick box. Is this expected? I had thought if I unticked the box, that no prompt would appear and would go to the results of the prior selection.

Update: If I select any record in the records tab, then, yes, the prompt does not appear and it runs with those records. If I clear, then the prompt appears, and I can tick the box to always get the prompt. Perhaps that is the way it is supposed to work.

Update:Correction: Same situation. clicking clear didn't return the prompt, though the record went gray instead of highlighted blue. Regardless, I am getting the previous result with the plugin. So now not getting the prompt box again with v1.4.2.

Perhaps I messed up the settings by running v1.4?
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 15:12

Update: I was clearing in the Individual tab, which clicking on a results record and then clicking the records icon took me to, and that didn't work. So instead, I clicked clear on the Sources tab, which is the type record I had selected, and the prompt appeared. I think I got it now. :P

I guess deselecting records in the query results window has never worked for me. Some of this is not that intuitive, at least to me.

As to prompt wording, looks fine to me.

Thanks,

Ron
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

avatar
RS3100
Famous
Posts: 240
Joined: 05 Nov 2020 12:16
Family Historian: V7
Location: Hertfordshire, UK

Re: Where Used Record Links 1.4

Post by RS3100 » 31 Dec 2020 15:17

Ron, if you select a record or range or records from the records tab before running the plugin, it assumes the selected records are the ones you are asking it to check, so you shouldn't see the prompt if you have previously unticked it.

But if you run it without having first selected any records, it won't know which records you are asking it to check, so the prompt will appear asking you to make a selection. You can at that point also tick the box to default to always showing the prompt if you had previously deselected it, or just carry on and make your selection by that method instead of selecting records in the records tab before launching the plugin.

Mike, excuse me for butting in, but we discussed this in my other thread before Christmas, relating to the Research Note links. It all seems to be working fine for me. I take it the "@_RNOT" and "_RNOT" references indicate either rich text or plain text links to research notes as you suggested?

In any event, I am no longer getting any errors and all seems to be working fine. Thank you.
WURL_result.JPG
WURL_result.JPG (51.88 KiB) Viewed 4109 times

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 15:21

RS3100 wrote:
31 Dec 2020 15:17
But if you run it without having first selected any records, it won't know which records you are asking it to check, so the prompt will appear asking you to make a selection.
But the issue I was having is I could not deselect records in the results window, and closing the query didn't do that either. Only by finally going to the records tab for the type I had selected, then hitting clear, was I able to see the plugin prompt again. Now that procedure is the one I shall follow.

Ron
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

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

Re: Where Used Record Links 1.4

Post by tatewise » 31 Dec 2020 15:32

@Ron, you can deselect records in the Result Set window by simply selecting a cell that is NOT a record ~ QED
There are plenty of those in a Where Used Record Links Result Set, i.e. anything except 1st and 4th column.

If you close the Result Set window, then that reveals any Records Window selection, which needs to be Cleared.

@RS3100, how do you get Data Ref Where Used with _RNOT.TEXT._LINK_... without a prefixed @ sign?
I'm sure it is a simple answer but I cannot think of the linking required.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
ronk
Superstar
Posts: 428
Joined: 19 Feb 2016 22:50
Family Historian: V7
Location: MN, USA
Contact:

Re: Where Used Record Links 1.4

Post by ronk » 31 Dec 2020 16:24

Mike,

This is academic, now, since I have a method that works, i.e., clearing on the relevant type record tab.

Well, by cells, if you mean other columns on this result set, I click on them, close the query, reload plugin and no impact, prompt doesn't appear. Prompt only appears if I go to the type record tab and clear.

Is there something awry with my query result window I am overlooking? :?
whereusedrec1.jpg
whereusedrec1.jpg (62.69 KiB) Viewed 4077 times
Ron Krzmarzick~~ FH 7.0.20 TNG 14.0.2 website Roots & Relatives Remembered, Laragon 5.0, Win 11 pro

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

Re: Where Used Record Links 1.4

Post by tatewise » 31 Dec 2020 16:42

Ron, you have a habit of inventing extra steps. Don't close the Result Set window.
( Although it looks similar to a Query window, it is not ~ it is a Plugin Result Set window. )
If we are discussing deselection in the Result Set window, it must stay open.
As I said, "If you close the Result Set window, that reveals any Records Window selection, which must be Cleared."

Just select any non-record cell. The FAM.HUSB data ref you chose is fine. Then run the plugin.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

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

Re: Where Used Record Links 1.4

Post by tatewise » 31 Dec 2020 17:12

@RS3100, can you run the original Where Used Record Links case you posted, but in the Result Set screenshot include the first few columns and widen the Data Ref Where Used column so the whole data ref is visible.

I'm wondering if the omission of the @ sign is a bug in the plugin, or some conflict with duplicate links that are marked with an * asterisk, or something else.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply