Search found 242 matches

by shoshk
13 Aug 2023 17:45
Forum: Closed Wish List Requests
Topic: [Wish List entry 614] Enhanced plugin editor
Replies: 13
Views: 196

Re: [Wish List entry 614] Enhanced plugin editor

Hi Helen,

I’m back after a long absence (I think over two years!).

Anyway, I was using Zerobrane, but see that you have moved to Visual Studio Code. Other than the extensions you mentioned in your earlier post from 2021, are you using any others?

Thanks,
Shoshanna
by shoshk
04 Mar 2021 15:46
Forum: Plugin Technical Support & Development
Topic: Populating citation fields in a prepared citation
Replies: 7
Views: 2545

Re: Populating citation fields in a prepared citation

Mike, thank you, thank you, thank you! I wouldn't have solved this without your help.

BTW, the syntax ~DT-SupDate works fine.
by shoshk
04 Mar 2021 15:06
Forum: Plugin Technical Support & Development
Topic: Populating citation fields in a prepared citation
Replies: 7
Views: 2545

Re: Populating citation fields in a prepared citation

I have no problem setting values for fields associated with the source. I cannot set the values for citation-specific fields. I use createUpdateItem to set values for fields associated with the source. It works fine. When I try to use it for citation-specific fields, it doesn't work. I get the messa...
by shoshk
04 Mar 2021 11:22
Forum: Plugin Technical Support & Development
Topic: Populating citation fields in a prepared citation
Replies: 7
Views: 2545

Populating citation fields in a prepared citation

I can't figure out how to set values for citation fields in a prepared citation (pCite). Can somebody help?
by shoshk
29 Jan 2021 11:28
Forum: Plugin Technical Support & Development
Topic: FH shutting down while debugging
Replies: 5
Views: 2280

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 Technical Support & Development
Topic: FH shutting down while debugging
Replies: 5
Views: 2280

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 Technical Support & Development
Topic: FH shutting down while debugging
Replies: 5
Views: 2280

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: 2766

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: 125
Views: 28287

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: 2766

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: 2766

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: 2766

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 Technical Support & Development
Topic: gmatch and quotes which aren't quotes
Replies: 2
Views: 1215

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: 2766

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 Technical Support & Development
Topic: gmatch and quotes which aren't quotes
Replies: 2
Views: 1215

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 Technical Support & Development
Topic: Just started using Zerobrane
Replies: 23
Views: 6490

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 Technical Support & Development
Topic: Risks of using undocumented feature
Replies: 2
Views: 1329

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 Technical Support & Development
Topic: Add multiline option to STRING in fhutils.getParam
Replies: 7
Views: 2460

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 Technical Support & Development
Topic: Just started using Zerobrane
Replies: 23
Views: 6490

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 Technical Support & Development
Topic: Just started using Zerobrane
Replies: 23
Views: 6490

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 Technical Support & Development
Topic: Just started using Zerobrane
Replies: 23
Views: 6490

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 Technical Support & Development
Topic: Just started using Zerobrane
Replies: 23
Views: 6490

Re: Just started using Zerobrane

I often put TODO in my code. This sounds like a nice feature to add.