I am happy to make a request to Calico Pie for
1. Plugin API access to write/modify Named Lists
2. Custom toolbar buttons
The only contact form I can see at the FH website seems to be for reporting a problem.
Is this also the means of making requests for future enhancements?
Search found 150 matches
- 04 May 2019 13:12
- Forum: Plugin Technical Support & Development
- Topic: Named List
- Replies: 10
- Views: 6013
- 04 May 2019 09:29
- Forum: Plugin Technical Support & Development
- Topic: Named List
- Replies: 10
- Views: 6013
Re: Named List
That is a shame, I was thinking I could perhaps enhance my mini To Do system with a plugin. I currently use a custom To Do fact and add that to an individual as needed with a category and a small note. At the end of an FH session where I know I have added some To Do facts I run a custom query to gat...
- 03 May 2019 18:56
- Forum: Plugin Technical Support & Development
- Topic: Named List
- Replies: 10
- Views: 6013
Named List
From within a plugin is it possible to add result rows to a named list? In effect mimicking the "Add Row Records to Named List" option of the Query menu of the result set tab. I can see the API listing has a fhCallBuiltInFunction call but can't see an appropriate function to store in a named list, j...
- 03 May 2019 15:19
- Forum: Plugin Technical Support & Development
- Topic: Lua Inspiration needed
- Replies: 16
- Views: 8096
Re: Lua Inspiration needed
My final bit of code to extract media titles from their filenames. Tidied things up a little and included a results table to see if all is correct. Credit to Jane for her SplitFileName function and for Mike in pointing me towards the right looping construct to use. -- Extract Media Titles from Media...
- 02 May 2019 14:53
- Forum: Plugin Technical Support & Development
- Topic: Lua Inspiration needed
- Replies: 16
- Views: 8096
Re: Lua Inspiration needed
I am used to constructing loops with For/Next or While/Wend or Repeat/Until or Do/While etc. to navigate strings, arrays, tables directly and I have been trying to do the same here. I can see now the FH designer intended us to only make use of the API functions (and Lua functions) to navigate around...
- 02 May 2019 09:24
- Forum: Plugin Technical Support & Development
- Topic: Lua Inspiration needed
- Replies: 16
- Views: 8096
Re: Lua Inspiration needed
I must admit to becoming rather confused about which looping constructs are suitable for which records. With your hints and clues you have directed me to that page of code snippets where I find the first and second example uses a "While" loop and the last uses a "For" loop. That last example appears...
- 01 May 2019 19:42
- Forum: Plugin Technical Support & Development
- Topic: Lua Inspiration needed
- Replies: 16
- Views: 8096
Re: Lua Inspiration needed
-- Extract Media Title from Media Filename local ptr = fhNewItemPtr() local records = fhNewItemPtr() local ptrFile = fhNewItemPtr() local ptrObje = fhNewItemPtr() function SplitFilename(strFilename) -- Returns the Path, Filename, and Extension as 3 values return strFilename:match("^(.-)([^\\/]-)%.(...
- 01 May 2019 15:04
- Forum: Plugin Technical Support & Development
- Topic: Lua Inspiration needed
- Replies: 16
- Views: 8096
Re: Lua Inspiration needed
-- Extract Media Title from Media Filename function SplitFilename(strFilename) -- Returns the Path, Filename, and Extension as 3 values return strFilename:match("^(.-)([^\\/]-)%.([^\\/%.]-)%.?$") end for ptr in records('OBJE') do titleptr = fhGetItemPtr(ptr,'TITL') if titleptr:IsNull() then titlept...
- 01 May 2019 11:10
- Forum: Plugin Technical Support & Development
- Topic: Lua Inspiration needed
- Replies: 16
- Views: 8096
Re: Lua Inspiration needed
Thanks Mike, yes I have been reading about string handling on the knowledgebase and in the Lua manual online. I was working my way (very slowly) through string patterns and captures in the Lua manual then found the Split filename functions on the knowledgebase. I did have an idea for adding the comm...
- 30 Apr 2019 16:35
- Forum: Plugin Technical Support & Development
- Topic: Lua Inspiration needed
- Replies: 16
- Views: 8096
Re: Lua Inspiration needed
I was experimenting with that function from the knowledgebase but could only get it to partly work. It was failing to split the path and filename properly. Adding the double backslashes does allow it to work properly. I didn't know that thanks. The source of the path/filenames will be directly from ...
- 30 Apr 2019 14:28
- Forum: Plugin Technical Support & Development
- Topic: Lua Inspiration needed
- Replies: 16
- Views: 8096
Lua Inspiration needed
My FH project includes a large number of media imported from Legacy. The media records appear to mostly have their Title field empty, except for a few where I have manually entered a title. I have always been methodical in my media file naming so the Path field of each media record holds something t...
- 22 Apr 2019 15:09
- Forum: General Usage
- Topic: Imported Facts
- Replies: 2
- Views: 2074
Re: Imported Facts
Excellent Mike thanks, all that from a "Show Hidden" tick box that I had continually overlooked. Now I can see these imported facts listed and when I attempt to Edit one I can see it offers to create a definition for me. Just what I was looking for, an easy way to adopt them. I would have been happy...
- 22 Apr 2019 14:39
- Forum: General Usage
- Topic: Imported Facts
- Replies: 2
- Views: 2074
Imported Facts
I am reviewing my facts after an import from Legacy and following the use of various plugins. I am left with a number of "custom" facts that were created in Legacy and now exist in FH with a prefix of "EVEN-". When I say they have this prefix, this is only visible in the "Custom Facts" drop down lis...
- 14 Apr 2019 10:13
- Forum: General Usage
- Topic: Possible FH bug
- Replies: 13
- Views: 7106
Re: Possible FH bug
New support ticket opened at Calico Pie
- 13 Apr 2019 15:15
- Forum: General Usage
- Topic: Possible FH bug
- Replies: 13
- Views: 7106
Re: Possible FH bug
I have had a little more experimentation with my customisation of the property box and realised what had caused the little hiccup, I had added "Living & Private" flags as the first item in the property box, above the Name: field. It seems obvious now that the program couldn't place the cursor in the...
- 13 Apr 2019 14:33
- Forum: General Usage
- Topic: Fact Tab
- Replies: 2
- Views: 2330
Re: Fact Tab
Have a look at the toolbar at the bottom of the facts pane. There is an icon/button that looks like a calendar with a plus symbol. That is the "Show/Hide Timeline Facts" button. It toggles on and off and it sounds like it is set ON showing facts from the immediate family. Click it ON and OFF to see ...
- 13 Apr 2019 12:10
- Forum: General Usage
- Topic: Possible FH bug
- Replies: 13
- Views: 7106
Re: Possible FH bug
Thanks Mike for that. I saved my customisations and reset the property box to its default setting and now adding a new parent using method 3. from above does show the cursor in the Name: field as others have witnessed. I restored my customisations and it again fails to position the cursor. At least ...
- 13 Apr 2019 11:11
- Forum: General Usage
- Topic: Possible FH bug
- Replies: 13
- Views: 7106
Re: Possible FH bug
Perhaps it is just me then. I have customised the property box quite a bit so maybe I have caused this behaviour. I am reluctant to reset the property box to its default settings (and lose all of my customisation) unless I can save those settings and restore them later. Is it possible to do a restor...
- 13 Apr 2019 09:23
- Forum: General Usage
- Topic: Possible FH bug
- Replies: 13
- Views: 7106
Re: Possible FH bug
Just tried again, method 3 creates an empty property window but there is no highlighting of the Name: field nor is the cursor visible in any of the fields. In fact if I try typing then I hear an audible error sound which I suppose is telling me there is no window or field in focus for me to use. If ...
- 13 Apr 2019 07:11
- Forum: General Usage
- Topic: Possible FH bug
- Replies: 13
- Views: 7106
Possible FH bug
I am still learning about FH and the best way to use it but I think I may have noticed a small bug so was hoping others could confirm my finding. It is only a minor thing regarding the addition of a new parent. I have noticed several methods of adding a new parent: 1. The "Add/Parent" option from th...
- 20 Mar 2019 18:51
- Forum: General Usage
- Topic: Twins
- Replies: 7
- Views: 4297
Re: Twins
Yes I can now see it is possible to navigate, with quite a few more clicks via the witness dialog, to the other twin. I have added a Twin fact for both twins and it is a lot easier however to use the "GoTo" button which becomes enabled when I select a Twin fact. I am still exploring the different op...
- 19 Mar 2019 19:19
- Forum: General Usage
- Topic: Twins
- Replies: 7
- Views: 4297
Re: Twins
I installed the fact set, added a fact to one of the twins and could see the link to the other. I realised this was a one-way link so have entered a matching fact for the other twin. This does mean there are two "Twin" facts visible for each person but I can now navigate between them using the "GoTo...
- 19 Mar 2019 17:54
- Forum: General Usage
- Topic: Twins
- Replies: 7
- Views: 4297
Re: Twins
Thank you Jane, I will give that a try.
- 19 Mar 2019 17:07
- Forum: General Usage
- Topic: Twins
- Replies: 7
- Views: 4297
Twins
I have several sets of twins in my records and am exploring the ways I can store the detail. I can see a few forum discussions about queries to find twins and for methods of marking twins on a diagram. I was just looking for a good method to record the corresponding name of the other twin as the pre...
- 11 Mar 2019 06:48
- Forum: Plugin Technical Support & Development
- Topic: Writing my first plugin
- Replies: 16
- Views: 6985
Re: Writing my first plugin
I am not new to programming but I am new to Lua and the FH API. I don't have that detailed knowledge of the data structures within FH to comment further so am just pleased from a users point of view that my dates were moved as intended.
My thanks to Jane & Mike for guiding me to a solution.
My thanks to Jane & Mike for guiding me to a solution.