Search found 280 matches

by shoshk
19 Oct 2023 09:48
Forum: Plugin Technical Support & Development
Topic: Inserting new media object for individual
Replies: 2
Views: 496

Inserting new media object for individual

I need to insert a new media record at position 1 for selected individuals. As I see it, the brute force method would be to 1) save the existing records 2) delete the existing records 3) add the new record 4) re-add the existing records This should get the job done, but Is there a better way? Thanks
by shoshk
28 Sep 2023 08:26
Forum: Plugin Technical Support & Development
Topic: Problem creating new repository
Replies: 2
Views: 816

Re: Problem creating new repository

Thank you Mark. I definitely wouldn't have thought of that.
by shoshk
28 Sep 2023 01:42
Forum: Plugin Technical Support & Development
Topic: Problem creating new repository
Replies: 2
Views: 816

Problem creating new repository

I am trying to create a new repository using the following function: function CreateRepository(sRepository) local pRepo = fhCreateItem('REPO') local pName = fhCreateItem('NAME', pRepo) fhSetValueAsText(pName, sRepository) return pRepo end The call to fhCreateItem('NAME', pRepo) returns NULL. What am...
by shoshk
21 Sep 2023 12:38
Forum: General Usage
Topic: Using GetLabelledText in Property Box
Replies: 1
Views: 265

Using GetLabelledText in Property Box

I am trying to customize one of the tabs in the property box for individuals. I maintain a note with various labelled fields which I would like to display on the tab. FH does not accept the following syntax: {=GetLabelledText(%INDI._ATTR-GRIMSBY.NOTE2%,"Connection:")} I get the message Dat...
by shoshk
21 Sep 2023 10:07
Forum: Programming Technicalities
Topic: Can't create/update repository field in templated source
Replies: 2
Views: 807

Re: Can't create/update repository field in templated source

Thank you, thank you!

I missed that.

What would I (and all of us) do without you?
by shoshk
21 Sep 2023 08:26
Forum: Programming Technicalities
Topic: Can't create/update repository field in templated source
Replies: 2
Views: 807

Can't create/update repository field in templated source

I have no problem creating/updating other types of fields (like TEXT or DATE). But, for some reason, I can't create/update a repository field. Here's a snippet of code: local pSource = pCite.source local pRepository = SetRepository(pSource, tblFields["RP-Repository"].Value) local sTag = &q...
by shoshk
07 Sep 2023 11:06
Forum: Programming Technicalities
Topic: iupScrollbox woes
Replies: 3
Views: 899

Re: iupScrollbox woes

Where do you put this code? If I put it right after creating the dialog, it makes a narrow window.
by shoshk
07 Sep 2023 08:18
Forum: Programming Technicalities
Topic: Help with IUPMATRIX
Replies: 12
Views: 1751

Re: Help with IUPMATRIX

Thank you.
by shoshk
07 Sep 2023 08:14
Forum: Programming Technicalities
Topic: iupScrollbox woes
Replies: 3
Views: 899

iupScrollbox woes

Working on my data entry screen... Sometimes, there are just a few fields: And, sometimes, there are a lot: image.png I generate the data entry screen dynamically on a basis of a definition file and I use iupScrollbox to manage scrollbars, in the event that there are more fields than can fit on the ...
by shoshk
06 Sep 2023 10:40
Forum: Programming Technicalities
Topic: Help with IUPMATRIX
Replies: 12
Views: 1751

Re: Help with IUPMATRIX

Works. Thank you.

Still, doesn't seem to be a wordwrap option...

Yes, yes, I know... I'm quite demanding. :D
by shoshk
05 Sep 2023 20:01
Forum: Programming Technicalities
Topic: Help with IUPMATRIX
Replies: 12
Views: 1751

Re: Help with IUPMATRIX

I finally tore myself away from the computer and went to bed. I will try this out tomorrow. Thank you.
by shoshk
04 Sep 2023 19:55
Forum: Programming Technicalities
Topic: Help with IUPMATRIX
Replies: 12
Views: 1751

Re: Help with IUPMATRIX

I was afraid of that. On the surface, it’s so easy to use. But as soon as you want anything useful, it fails.

Oh well, back to gridbox…
by shoshk
04 Sep 2023 15:03
Forum: Programming Technicalities
Topic: Help with IUPMATRIX
Replies: 12
Views: 1751

Help with IUPMATRIX

I'm working on a major upgrade to our data entry and sourcing plugin -- many improvements to the user interface. I'm starting to use iupmatrix for the first time and am running into some problems. I'm about ready to throw in the towel and go back to iupgridbox. For my first efforts, I'm using it to ...
by shoshk
03 Sep 2023 11:57
Forum: Plugin Technical Support & Development
Topic: Search and Replace Plugin Possible Problem
Replies: 28
Views: 2704

Re: Search and Replace Plugin Possible Problem

Selecting Part Words solved the problem. Thank you.
by shoshk
02 Sep 2023 19:22
Forum: Plugin Technical Support & Development
Topic: Search and Replace Plugin Possible Problem
Replies: 28
Views: 2704

Re: Search and Replace Plugin Possible Problem

image.png
image.png (49.33 KiB) Viewed 1273 times
Interestingly, the Find in Family Historian does find the records.
by shoshk
02 Sep 2023 18:28
Forum: General Usage
Topic: Record Link (Individual) - change default name format
Replies: 1
Views: 452

Record Link (Individual) - change default name format

Is there a way to change the default name format for Individual Record Links (in a note)? I would like it to display SURNAME, Given.
by shoshk
02 Sep 2023 18:10
Forum: Plugin Technical Support & Development
Topic: Search and Replace Plugin Possible Problem
Replies: 28
Views: 2704

Re: Search and Replace Plugin Possible Problem

And on to the next challenge...

I tried to change a series of web links stored in the note for a source record as rich text web links. The plugin did not find them.

Again, could be user error...
by shoshk
01 Sep 2023 15:00
Forum: Plugin Technical Support & Development
Topic: Search and Replace Plugin Possible Problem
Replies: 28
Views: 2704

Re: Search and Replace Plugin Possible Problem

I’m heading into the Jewish sabbath, which ends tomorrow night. No computer allowed; I’ll check out the updated version then. Thank you for your effort.
by shoshk
31 Aug 2023 17:14
Forum: Plugin Technical Support & Development
Topic: Search and Replace Plugin Possible Problem
Replies: 28
Views: 2704

Re: Search and Replace Plugin Possible Problem

So, I guess I’ll write a little plugin to fix urls in my sources. I imagine that it will get periodic use. Actually, I’ll probably make it generic so I can fix other source fields if necessary. I’ve got a few other things in mind that need cleaning up.
by shoshk
31 Aug 2023 02:54
Forum: Plugin Technical Support & Development
Topic: Search and Replace Plugin Possible Problem
Replies: 28
Views: 2704

Re: Search and Replace Plugin Possible Problem

BTW, when I manipulate the value for source fields in my plugins, I'm pretty sure I use the syntax:

'~' .. <field name>

So, I access the url field using:

~UL-URL

Don't know if that helps...
by shoshk
30 Aug 2023 17:13
Forum: Plugin Technical Support & Development
Topic: Search and Replace Plugin Possible Problem
Replies: 28
Views: 2704

Re: Search and Replace Plugin Possible Problem

Take all the time you need. It will be nice to fix the urls, but there’s no deadline. I appreciate your effort.
by shoshk
30 Aug 2023 09:19
Forum: Plugin Technical Support & Development
Topic: Search and Replace Plugin Possible Problem
Replies: 28
Views: 2704

Re: Search and Replace Plugin Possible Problem

Almost certainly user error, but still not working after adding URL (~_FIELD.URL). I used the following filters: Major Options Search Scope = All Records & Events/Attributes Basic Filters - all checked Extra Filters Short Text Fields - all checked Short Text Fields [Templated Source metafields] ...
by shoshk
30 Aug 2023 06:43
Forum: Plugin Technical Support & Development
Topic: Search and Replace Plugin Possible Problem
Replies: 28
Views: 2704

Search and Replace Plugin Possible Problem

I used the plugin to edit URLs to a specific site which changed its format.

URLs in various notes (fact notes, research notes, etc) were updated with no problem.

However, most of my templated sources have a field for URL (of type URL), and these were not touched.

User error?