Search found 878 matches
- 18 Feb 2018 21:14
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
I dont believe I posted the wrong one, but just in case: --------------------------------------- -- Function: CopyChildBranch --------------------------------------- function CopyChildBranch(ptrSrc, ptrTargParent) local ptrNew = fhCreateItem(fhGetTag(ptrSrc), ptrTargParent) fhSetValue_Copy(ptrNew, p...
- 18 Feb 2018 19:47
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
CopyChildren_FromTo(ptrUDF, ptrINDI) why are you messing about with ptrInsert? That is a leftover declare from juking code around and debugging that does not one thing, as you can see. I will remove it. unless I have missed a post I have modified it, copied directly from your post. Ah, new lightbulb...
- 18 Feb 2018 19:29
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
--------------------------------------- -- Function: CopyChildBranch --------------------------------------- function CopyChildBranch(ptrSrc, ptrTargParent) local ptrNew = fhCreateItem(fhGetTag(ptrSrc), ptrTargParent) fhSetValue_Copy(ptrNew, ptrSrc) local strTag = fhGetTag(ptrSrc) if strTag == "SOU...
- 18 Feb 2018 17:58
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
well, zeroing in on the problem it is an @@ source, the debugger doesnt show that. it shows the field as @S1234567890@ (normal)
- 18 Feb 2018 17:07
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
--------------------------------------- -- Function: CopyChildBranch --------------------------------------- function CopyChildBranch(ptrSrc, ptrTargParent) local ptrNew = fhCreateItem(fhGetTag(ptrSrc), ptrTargParent) fhSetValue_Copy(ptrNew, ptrSrc) CopyChildren_FromTo(ptrSrc, ptrNew) end ---------...
- 18 Feb 2018 14:24
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
Yeah, no. ok, looking at the loop.
- 18 Feb 2018 14:08
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
took awhile, but I did figure that out. I am now trying to fix those records where source is subsequent to NICK udf. if fhHasChildItem(ptrUDF) then CopyChildren_FromTo(ptrUDF,ptrINDI) fhSetValueAsLink(ptrINDI,ptrNew) end f I have understood miketate correctly, this should do it with the functions fr...
- 18 Feb 2018 12:17
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
i Had looked at that and tried it
if ptrNick:IsNull() then
str = fhGetValueAsText(ptrUDF)
str = string.gsub(str,""","")
end
str = string.gsub(str,""","")
19: ')' expected near '","'
couldnt figure out how to make it work
if ptrNick:IsNull() then
str = fhGetValueAsText(ptrUDF)
str = string.gsub(str,""","")
end
str = string.gsub(str,""","")
19: ')' expected near '","'
couldnt figure out how to make it work
- 18 Feb 2018 01:30
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
I have seen that in the meantime, thank you. that will be the loop after if ghgetchild:is Null
I will then have a loopif fhgetchil:Isnotnull
current problem is stripping characters, in this case > " from a field.
Turning "Ollie" into Ollie
I will then have a loopif fhgetchil:Isnotnull
current problem is stripping characters, in this case > " from a field.
Turning "Ollie" into Ollie
- 17 Feb 2018 23:41
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
Code: Select all
str = fhGetValueAsText(ptrUDF)
o = 1
for i = 1, string.len(str) do
if str(i) ~= '"' then
out(o) = str(i)
o = o + 1
end
end
error: out(o) = str(I) unexpected symbol near =
lost.
- 17 Feb 2018 23:00
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
Tabbed editors on mainframes even since about 2000. but the editor doesnt remember its position, so many other things that dont do or remember it wrongly.
Ok, it can be done.
Ok, it can be done.
- 17 Feb 2018 22:25
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
little lost here. lets make 'tend' that I am in writing my plugin, and I need to reference something in say UDF list, slosh around and copy a bunch of code to where my cursor is in this one. so edit, click, edit, click, edit, click.....uh do they even window and cascade then? oh, I see, that is grue...
- 17 Feb 2018 21:35
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
local ptrItem = fhNewItemPtr() ptrItem:MoveToFirstRecord("INDI") while ptrItem:IsNotNull() do -- loop through all Individual records local ptrUDF = fhGetItemPtr(ptrItem,"INDI.NICK") if ptrUDF:IsNotNull() then -- found NICK UDF local ptrTemp = fhNewItemPtr() ptrTemp = fhHasChildItem(ptrUDF) --has ki...
- 17 Feb 2018 15:30
- Forum: Plugin Technical Support & Development
- Topic: [SOLVED] check for new search the internet settings
- Replies: 3
- Views: 2825
Re: check for new search the internet settings
ticket created
**[SOLVED}
updated plugin in store
**[SOLVED}
updated plugin in store
- 17 Feb 2018 15:29
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
cool...right? while I am in the editor working on my program I will open a file of code snippets or another plugin to reuse code from ............uh, no. So I went to the line in the debugger I wanted and hit F1............uh, no. I went to the variable window and hit f1 on a variable....it never ce...
- 17 Feb 2018 13:42
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
I will go to the quick link index and go to knowledge base. Uh, no I will back out all the way from this forum and go to a screen and go to knowledge base and... in. Uh, no. I hear ya, but if the idea is to demonstrate usability and intuitive interfaces, we are in #EpicFail; I guess the print thing ...
- 17 Feb 2018 12:21
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Re: Plugin Help
thank you for the code snippets I think I sort of understand them. Fairly straightforward method, as I thought there should be. With a few little decorations, what I had imagined it should be. Having spent over 3 years on UDF related things, I can confidently say that nearly 90% of udfs are items in...
- 17 Feb 2018 01:32
- Forum: Plugin Technical Support & Development
- Topic: Plugin Help
- Replies: 41
- Views: 20818
Plugin Help
I am struggling to learn LUA and the FH API. I code by debug. All three of these tools are woefully inadequate, the first two in documentation and the last in features and variable display. I have the situation in my file (a new file) repeatedly: 1 FAMC @F24@ 2 PEDI Adopted 1 NICK Marcus 2 SOUR @@S1...
- 15 Feb 2018 02:36
- Forum: Plugin Technical Support & Development
- Topic: [SOLVED] check for new search the internet settings
- Replies: 3
- Views: 2825
[SOLVED] check for new search the internet settings
I have the updated plugin list, and the plugin reports
Unable to download file major version mismatch- please check for updated plugin
I have not used it in a while, I am on 6.2.6
Unable to download file major version mismatch- please check for updated plugin
I have not used it in a while, I am on 6.2.6
- 15 Feb 2018 02:02
- Forum: General Usage
- Topic: Index out of sorts (lol)
- Replies: 5
- Views: 4082
Re: Index out of sorts (lol)
in a way, but when I have duplicates husband and wife, no matter which one I select, AND DELETE(understand this is different) because I have to get rid of it, or them the FH loses its mind and goes back to root. I am not real fired up about remembering all that and try to find it again in a move one...
- 12 Feb 2018 13:57
- Forum: General Usage
- Topic: Index out of sorts (lol)
- Replies: 5
- Views: 4082
Re: Index out of sorts (lol)
thats how I got out of it, but do not recall hitting any other sort column. One of those.............I did A LOT of work, and man if this is messed up...although I cannot conceive of a sort order that would have brought that up, two big things that have come up however, it would be nice to move fami...
- 12 Feb 2018 12:18
- Forum: General Usage
- Topic: Index out of sorts (lol)
- Replies: 5
- Views: 4082
Index out of sorts (lol)
For the last two days, pretty solidly heads down, I have been changing my Living /Olson/ and the like to first names so it ends up on the order of-- Fred G. /Olson/ (I got a gedcom that was more developed than mine from a cuz). I have added a record or two, included a date or two, but only a handful...
- 29 Jan 2018 20:24
- Forum: General Usage
- Topic: PLAC and ADDR Records; Sorting
- Replies: 40
- Views: 19962
Re: PLAC and ADDR Records; Sorting
yup, using a place based query that does not work. It will present them right shifted so that it does not work in picking out from reverse, and left shifted so it does not work picking them out from standard, and switching to reverse, and using the numbers reversed, looking at 6 and 7 it doesnt work...
- 28 Jan 2018 19:33
- Forum: General Usage
- Topic: PLAC and ADDR Records; Sorting
- Replies: 40
- Views: 19962
Re: PLAC and ADDR Records; Sorting
Have them, they don't do it.
- 28 Jan 2018 16:23
- Forum: General Usage
- Topic: PLAC and ADDR Records; Sorting
- Replies: 40
- Views: 19962
Re: PLAC and ADDR Records; Sorting
Having spent the better part of two days on the 'query' system, and not accomplishing a thing... I get PLAC Records: %PLAC% Reverse it =TextPart(%_PLAC%,1,7,REV) separate P7 =TextPart(%_PLAC%,7,1,REV) ... P1 =TextPart(%_PLAC%,1,1,REV) and exluding =TextPart(%_PLAC%,7,1,TIDY) is null, or blank and no...