Search found 237 matches

by shoshk
29 Jan 2021 11:28
Forum: Plugin Discussions
Topic: FH shutting down while debugging
Replies: 5
Views: 256

Re: FH shutting down while debugging

I have used the stepwise method of development for a long time. Until I upgraded to FH7, I never had any problems. Jane, I use the Zerobrane debugger infrequently; it is my primary editor. I'm not quite sure why there would be an interaction with FH. Ron, as a longtime systems and infrastructure per...
by shoshk
29 Jan 2021 07:10
Forum: Plugin Discussions
Topic: FH shutting down while debugging
Replies: 5
Views: 256

Re: FH shutting down while debugging

No windows updates pending.

I've only observed this behavior since upgrading the FH7.
by shoshk
29 Jan 2021 05:47
Forum: Plugin Discussions
Topic: FH shutting down while debugging
Replies: 5
Views: 256

FH shutting down while debugging

I'm wondering if anybody else has observed this behavior.

I'll be running code, making small changes, when suddenly, when making the next run, FH just shuts down. Restarting FH does not fix the problem. Once this behavior occurs, the only thing that fixes it is restarting my computer.
by shoshk
29 Jan 2021 05:42
Forum: General Usage
Topic: Source Templates, Style Codes and Record Title formats
Replies: 10
Views: 427

Re: Source Templates, Style Codes and Record Title formats

As always, morning wake-up gave me a simple solution which is taken from the idea proposed by you. I had not considered using FH functions within the title format. I won't be adding (and maintaining an extra field). The following expression gives me exactly what I need: {=ToUpper(%SOUR.~NM-Name_Reco...
by shoshk
28 Jan 2021 19:05
Forum: General Usage
Topic: V7 PDF creation very slow, creating huge files
Replies: 96
Views: 5089

Re: V7 PDF creation very slow, creating huge files

Helen, you may be able to take care of the page break issue via css.
by shoshk
28 Jan 2021 14:39
Forum: General Usage
Topic: Source Templates, Style Codes and Record Title formats
Replies: 10
Views: 427

Re: Source Templates, Style Codes and Record Title formats

I know I can't use Style Codes in the Record format. I wish I could. That would allow me to format the surname as uppercase without writing more code.
by shoshk
28 Jan 2021 13:34
Forum: General Usage
Topic: Source Templates, Style Codes and Record Title formats
Replies: 10
Views: 427

Re: Source Templates, Style Codes and Record Title formats

Pretty much (if not all) the fields in the source template are filled in automatically by the plugin. One of the features of my plugin is that is copies (can copy) much of its data from the source (using copy and paste) from the webpage. Often, the name is in the format Given Surname . I think I'll ...
by shoshk
28 Jan 2021 12:12
Forum: General Usage
Topic: Source Templates, Style Codes and Record Title formats
Replies: 10
Views: 427

Re: Source Templates, Style Codes and Record Title formats

I need 2 versions of the name. In addition to using SURNAME, Given in the title, I use Given Surname in the formatted footnote. I guess I'll take care of this programmatically. It's not difficult because our sources are all created via plugin (currently being rewritten to take advantage of new featu...
by shoshk
28 Jan 2021 10:40
Forum: Plugin Discussions
Topic: gmatch and quotes which aren't quotes
Replies: 2
Views: 127

Re: gmatch and quotes which aren't quotes

I tried . at one point but it didn't work. The pattern may not have been exactly the same. I'll give your suggestion a try.
by shoshk
28 Jan 2021 08:17
Forum: General Usage
Topic: Source Templates, Style Codes and Record Title formats
Replies: 10
Views: 427

Source Templates, Style Codes and Record Title formats

It looks like Style Codes are not available in the Record Title format . Why? My current titles include the person's name in the format SURNAME, Given. My husband wants to keep it that way but I don't see an easy way to do it with templated sources. I can program it, but would prefer not to. Should ...
by shoshk
28 Jan 2021 07:28
Forum: Plugin Discussions
Topic: gmatch and quotes which aren't quotes
Replies: 2
Views: 127

gmatch and quotes which aren't quotes

This is a bit long-winded, but thought it might be of interest to somebody else. First of all, I've discovered another great use for Zerobrane. If you have a section of code which doesn't have any calls to FH built-in functions, you may be able to debug it in the Zerobrane debugger. In my case, I ha...
by shoshk
26 Jan 2021 14:39
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

I made a copy of the tomorrow.lua file, copied the NotepadPlusPlus definitions and edited to get the following result: Shosh = { -- adapted from NotepadPlusPlus) Background = H'FFFFFF', -- white CurrentLine = H'E9E2FF', -- pale lilac Selection = H'C0C0C0', -- light grey Foreground = H'000000', -- bl...
by shoshk
20 Jan 2021 07:17
Forum: Plugin Discussions
Topic: Risks of using undocumented feature
Replies: 2
Views: 242

Risks of using undocumented feature

I am working on a plugin which manipulates rich text. Among other things, I need to retrieve record ids from the 'record link table'. Other than a reference to the 'record link table', CP does not seem to have documented anything regarding its implementation. After a bit of poking around, I've figur...
by shoshk
18 Jan 2021 16:05
Forum: Plugin Discussions
Topic: Add multiline option to STRING in fhutils.getParam
Replies: 7
Views: 358

Add multiline option to STRING in fhutils.getParam

It would be nice to have the multiline option for STRING fields in fhutils.getParam. That way I wouldn't have to use a separate prompt for multiline input.
by shoshk
18 Jan 2021 12:43
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

I've got the first version of 'FH API and Keywords for Zerobrane' working. It is totally aimed at programmer types. You will need to change the file paths at the beginning of the file to suit your system. At the moment, I've only defined functions (that I am currently using). I plan on adding module...
by shoshk
16 Jan 2021 16:32
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

I also have a lot to do; I'm working on a major rewrite of our source and data entry plugin to take advantage of new features available in FH7. Plus, after 5 years, there are a number of improvements that we've identified. It's probably among the most fun to be had as a programmer, designing a new s...
by shoshk
15 Jan 2021 14:02
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

Added TODO. I decided to setup an API file. Actually, there will be 2 files - one for the api and the second which will add syntax highlighting for the fh functions. I've got a very basic API file working. I set it up manually with 3 functions. But I'm going to use some automation. I plan to create ...
by shoshk
15 Jan 2021 11:35
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

I often put TODO in my code. This sounds like a nice feature to add.
by shoshk
15 Jan 2021 08:23
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

Which TODO plugin do you use? I saw several.
by shoshk
15 Jan 2021 05:32
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

So, after a bit of reminiscing, back to Zerobrane... I've been fiddling around with the settings - got rid of all those pesky underlines that (I found) made it difficult to read my code, tweaked the syntax coloring a bit more. Next, I'm wondering if there's a way to control folding. Perhaps to only ...
by shoshk
14 Jan 2021 16:46
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

We saw people dropping decks all the time. We were young and mean and found it quite funny.
by shoshk
14 Jan 2021 16:44
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

My first job in the tech world was working at the remote computing center at University. We used to refill the paper supply for the line printers, tear-off and distribute student jobs, and, ah, unclog card reader jams. Good times!
by shoshk
14 Jan 2021 16:35
Forum: Plugin Discussions
Topic: Just started using Zerobrane
Replies: 23
Views: 1030

Re: Just started using Zerobrane

You folded your punch cards !?!

So, you were the one who kept clogging up the card reader! :lol: