Search found 581 matches

by Ron Melby
03 Jul 2020 20:45
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

Re: IUP again

confirmed: BUTTON_CB = GetSingleValue(list_tags) called infinitely @ GetSingleValue if rtx == nil then 1>>>iup.MainLoop() end called forever as I found out in DEBUG all values except rtx which == nil and tbl which is now throwaway (like 5 of them, not too many I dont think to debug this right? are--...
by Ron Melby
03 Jul 2020 19:02
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

Re: IUP again

I HAVE DONE MY OWN DEBUGGING. (USERVALUE) I have looked at lots of code, and none is enlightening. It does absolutely nothing with it, because it is called and the program ends, this is unexpected behavior: not that I understand any of this, but CALLBACKS ACTION Action generated when the element is ...
by Ron Melby
03 Jul 2020 16:41
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

Re: IUP again

function sltTAG(tbl) list_tags = crtList(tbl) -- Creates frame with dropdown list and sets its title local rtx local btn_ok = iup.button { name = 'OK', title = 'OK', action = getSingleValue(list) } local btn_cancel = iup.button { name = 'CANCEL', title = 'CANCEL', action = function(self) rtx = self...
by Ron Melby
03 Jul 2020 14:03
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

Re: IUP again

fhSetStringEncoding('UTF-8') function bldTAGS() local ptr = fhNewItemPtr() local ptrENT = fhNewItemPtr() local ptrTAG = fhNewItemPtr() local tbl = {} local tmp = {} ptr:MoveToFirstRecord('INDI') while ptr:IsNotNull() do ptrENT:MoveToFirstChildItem(ptr) while ptrENT:IsNotNull() do ptrTAG:MoveTo(ptrE...
by Ron Melby
03 Jul 2020 12:55
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

Re: IUP again

uuuuuuuuuuuuuuuuuuhhhhhhhhhhhhhhhhhhhhhhhh yeah, ok??????????????????????????????? so how do I receive action? I mimic but I do not understand. I don't have any fundamental frame of reference for this what appears to me to be maismatic spaghetti iup stuff. I know I have to receive action it contains...
by Ron Melby
03 Jul 2020 12:16
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

Re: IUP again

I have resolved the issue with not loading iup.list. and the error was not your code. it initially starts as a blank box with the twistie, and when you poke the twistie the list comes up, I dont see a way to make the first list item show on the intitial screen this is what I am using for documentati...
by Ron Melby
02 Jul 2020 22:37
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

Re: IUP again

I send into the equivalent of your MakeList(options) tbl => (table #64) [1] => "NAME" [2] => "SEX" [3] => "FAMS" [4] => "BIRT" [5] => "FAMC" [6] => "DEAT" [7] => "BURI" [8] => "SOUR" [9] => "CENS" [10] => "RESI" [11] => "EVEN-OBIT" [12] => "OCCU" [13] => "EVEN-BIO" [14] => "_ATTR-MILT" [15] => "EVEN...
by Ron Melby
01 Jul 2020 13:19
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

Re: IUP again

taglist => (table #64) [1] => (table .1) TAG => "NAME" [2] => (table .1) TAG => "SEX" [3] => (table .1) TAG => "FAMS" [4] => (table .1) TAG => "BIRT" [5] => (table .1) TAG => "FAMC" [6] => (table .1) TAG => "DEAT" [7] => (table .1) TAG => "BURI" [8] => (table .1) TAG => "SOUR" [9] => (table .1) TAG ...
by Ron Melby
30 Jun 2020 12:15
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

Re: IUP again

I have that from stackoverflow, I dont understand it. what is l? in the case of my code? tblVals is my table got that.
l is iup.list? l is list_tags?

again, I saw your answer and dont understand how to implement it.
list_tags = iup.list{}
list_tags = PopulateList(list_tags, my_tbl)
like that?
by Ron Melby
30 Jun 2020 11:51
Forum: Plugin Discussions
Topic: IUP again
Replies: 16
Views: 411

IUP again

problem statement: I am making a utility that will search for tags in my file. when it finds them, it reports on them. I have a function that reads all the tags in the file. I can load them into a table. I have what code I understand below. I realize it is formatted terribly for lua, but it is how I...
by Ron Melby
29 Jun 2020 19:33
Forum: Plugin Discussions
Topic: note text from custom event?
Replies: 1
Views: 78

note text from custom event?

function matTAG(eptr) -- local ptrNOTE = fhNewItemPtr() local LBL = fhGetTag(eptr) local NOTE = fhGetItemText(ptr, '~.' ..LBL .. '.NOTE>') eptr contains 'EVEN-TODO' ptr contains INDI record I got to this function knowing this indi does have a TODO everything else prints correctly, I cannot get the t...
by Ron Melby
26 Jun 2020 12:30
Forum: Plugin Discussions
Topic: pointer goes null
Replies: 1
Views: 101

pointer goes null

I just cannot see the error that occurs here, after execution of --1-- fptr contains a valid FAMC link. after execution of --2-- fc contains 1 which is correct for the iptr record. HOWEVER: fptr is now (null) ???? I have included rtvElemCount which should not change fptr (near as I am able to see) a...
by Ron Melby
03 Jun 2020 18:02
Forum: Plugin Discussions
Topic: string table output
Replies: 1
Views: 203

string table output

print(tbl[k].v)

how can I "stringize" v?
so, get a table entry by key, v = "fred= 12, John =13, max = "whatever", bill = "endofprogram""

I am debugging a debugger and I cannot for the life of me see that table entry.
by Ron Melby
27 May 2020 18:48
Forum: Plugin Discussions
Topic: cmd popup
Replies: 5
Views: 423

Re: cmd popup

solved powershell send message to host doesnt work in this artifact.
by Ron Melby
26 May 2020 20:54
Forum: Plugin Discussions
Topic: cmd popup
Replies: 5
Views: 423

Re: cmd popup

I have removed those two (I only had one) bad Windows updates, it didnt do a thing. However I have fairly new updates to windows.... I dont know. Like I said, just started when I was messing around with debug and profiling code.
by Ron Melby
26 May 2020 16:42
Forum: Plugin Discussions
Topic: cmd popup
Replies: 5
Views: 423

Re: cmd popup

I did the ultimate reboot. no change. now, no it doest pop up on all plugins, only mine. even my straightforward ones. the only way I can see something different about my plugins is: -- materialize combined name function matNAM(iptr) local ptrWRK = fhNewItemPtr() local NAME = '' local sNAM = '' loca...
by Ron Melby
26 May 2020 15:11
Forum: Plugin Discussions
Topic: cmd popup
Replies: 5
Views: 423

cmd popup

somewhere, between running profiling code that uses debug thousands of times, and calling luacom shell using cmd thousands of times, I get multiple cmd.exe windows (one at a time) when I run plugins. I have found nothing with malwarebytes, dism said the image is correct, I have cleaned and rebooted ...
by Ron Melby
19 May 2020 03:37
Forum: Plugin Discussions
Topic: Review Folder Permissions Plugin Snippet
Replies: 58
Views: 2490

Re: Review Folder Permissions Plugin Snippet

Just for my edification, what is the issue faced with updating the date?
by Ron Melby
16 May 2020 12:21
Forum: Plugin Discussions
Topic: Review Folder Permissions Plugin Snippet
Replies: 58
Views: 2490

Re: Review Folder Permissions Plugin Snippet

and still works for me. F
by Ron Melby
15 May 2020 16:06
Forum: Plugin Discussions
Topic: Review Folder Permissions Plugin Snippet
Replies: 58
Views: 2490

Re: Review Folder Permissions Plugin Snippet

strId = DESKTOP-VM8CLKV\USR strUser = DESKTOP-VM8CLKV\USR strLogText = DESKTOP-VM8CLKV\USR FileSystemRights : FullControl AccessControlType : Allow IdentityReference : NT AUTHORITY\SYSTEM IsInherited : True InheritanceFlags : ContainerInherit, ObjectInherit PropagationFlags : None FileSystemRights :...
by Ron Melby
15 May 2020 00:08
Forum: Plugin Discussions
Topic: Review Folder Permissions Plugin Snippet
Replies: 58
Views: 2490

Re: Review Folder Permissions Plugin Snippet

it gets it and throws it up, minor cavil:
Untitled.png
Untitled.png (135.23 KiB) Viewed 802 times
it says no effective permissions found. as it showed them, might be a logic problem or you just didnt type in a big bunch when you revamped the thing.

but for the BIIIIIIIIIIIG plugin. ....
by Ron Melby
14 May 2020 22:55
Forum: Plugin Discussions
Topic: Review Folder Permissions Plugin Snippet
Replies: 58
Views: 2490

Re: Review Folder Permissions Plugin Snippet

laz-gen, I tried that too, where did you try that command? mock up in lua?
cuz you cant do it from cmd /c that I can see.
by Ron Melby
14 May 2020 20:25
Forum: Plugin Discussions
Topic: Review Folder Permissions Plugin Snippet
Replies: 58
Views: 2490

Re: Review Folder Permissions Plugin Snippet

can you -wide 1200 or something precreate the outfile and -append for mor char?
but doesnt ... say there is more?
by Ron Melby
14 May 2020 16:37
Forum: Plugin Discussions
Topic: Review Folder Permissions Plugin Snippet
Replies: 58
Views: 2490

Re: Review Folder Permissions Plugin Snippet

https://theithollow.com/2016/08/22/inst ... shell-mac/

thats what I am led to for powershell PlayOnMac

*edit (I used the wrong link, corrected)

https://docs.microsoft.com/en-us/powershell/

looks like m$ has all the packages for each sys