Re: Behaviors

2023-08-24 Thread Geoff Canyon via use-livecode
I'll admit it's not very intuitive, but:

In Navigator, right-click any button. On the context menu, select Copy >
Objects.
Navigate to any control or card, stack, etc. Bookmarks are fine for this as
well.
Right-click any other control. On the context menu, select Set Copied Btn
as Behavior.

On Thu, Aug 24, 2023 at 7:19 PM Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> polygrid
> the api is similar, but they also have some nice additional features.
> i have ripped all my dg's and replaced them with pg's.
> now, if you're using custom templates, have a look at the pl - polyList.
>
> On Thu, Aug 24, 2023 at 2:12 PM Bob Sneidar via use-livecode
>  wrote:
> >
> > Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but
> I never use the Project Browser because of issues I had many years ago. I
> may have another look.
> >
> > What is a “pg”? I make extensive use of Datagrid properties, and
> whatever I might replace them with needs to provide ALL their functionality.
> >
> > Bob S
> >
> >
> > > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> > >
> > > i'm pretty sure you can set a dg's behavior. then you would set the
> > > behavior of that behavior to the button behavior (button id 1005 of
> > > stack "revDataGridLibrary"), OR you can include THAT script,
> > > separately, set that as the behavior, and modify it
> > > (but, what you should really do is remove your dg's and replace them
> > > with pg's, imho. they're much faster and more flexible and powerful).
> > > the project browser has a button for each behavior in the chain of an
> > > object. i'm pretty sure that levure baker's assistant does, too.
> > >
> > > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode
> > >  wrote:
> > >>
> > >> There is also the Advanced button in the property inspector (looks
> like one large gear with two smaller ones) where you can type the behavior,
> and also has the target icon. Also, you shouldn’t have to do that every
> time. Once should be enough if you save the stack afterwards.
> > >>
> > >> I note that Datagrids have no way to set the behavior, since they
> depend on their default behavior. It was discussed long ago when nested
> behaviors became a thing, that there ought to be a way to edit a list of
> behaviors of an object. In fact it shouldn’t be that difficult to make a
> Behavior Browser widget of some sort. Hmmm...
> > >>
> > >> Bob S
> > >>
> > >>
> > >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> > >>>
> > >>> I, too, have discovered the target icon to the right of the behavior
> object field in the property inspector. Alas, using that that I see only
> buttons on the current card (and stacks). I don’t see a way to navigate to
> a different card and select a button there. I might have missed it. — Dar
> > >>>
> >  On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> > 
> >  you probably know this: in the property inspector, there's a panel
> for
> >  behavior, so you can just select the behavior from a menu button,
> >  without having to type it
> > 
> >  On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode
> >   wrote:
> > >
> > > I figured out how to do it in the IDE. I needed to include “of
> stack” in the reference. — Dar
> > >
> > >> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> > >>
> > >> Not sure how it works in the IDE - seems a problem because it
> only presents button in the current stack.
> > >>
> > >> So I do it all in preOpen... scripts, doing something like
> > >>
> > >>> set the behavior of fld "F" of grp tmpName to the long id of
> button "RichTextFieldBehaviour" of \
> > >>>   card "Behaviours" of stack "/Users/alextweedly/Dropbox/My
> Livecode/Libraries/richText.livecode"
> > >>
> > >> Alex.
> > >>
> > >> On 22/08/2023 17:57, Dar Scott via use-livecode wrote:
> > >>> I am misremembering things about Behaviors.
> > >>>
> > >>> I have a card with my behavior buttons, but I can’t seem to
> point to buttons on that card. Maybe, I’m remembering what I did long ago
> with front scripts.
> > >>>
> > >>> I suppose I can use substacks, but I’m worried that the stacks
> would be in the message path. Is there a way to keep the stack out of the
> message path?
> > >>> ___
> > >>> use-livecode mailing list
> > >>> use-livecode@lists.runrev.com
> > >>> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> > >>
> > >> ___
> > >> use-livecode mailing list
> > >> use-livecode@lists.runrev.com
> 

Polygrid sorting

2023-08-24 Thread Paul Dupuis via use-livecode
The Polygrid, unlike the Datagrid, has no built in column sorting. You 
have to roll your own.


Before I write my own, has anyone written a column sort (i.e click on a 
column header to sort by it) for a Poly grid they'd care to share?





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Behaviors

2023-08-24 Thread Mike Kerner via use-livecode
polygrid
the api is similar, but they also have some nice additional features.
i have ripped all my dg's and replaced them with pg's.
now, if you're using custom templates, have a look at the pl - polyList.

On Thu, Aug 24, 2023 at 2:12 PM Bob Sneidar via use-livecode
 wrote:
>
> Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but I 
> never use the Project Browser because of issues I had many years ago. I may 
> have another look.
>
> What is a “pg”? I make extensive use of Datagrid properties, and whatever I 
> might replace them with needs to provide ALL their functionality.
>
> Bob S
>
>
> > On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode 
> >  wrote:
> >
> > i'm pretty sure you can set a dg's behavior. then you would set the
> > behavior of that behavior to the button behavior (button id 1005 of
> > stack "revDataGridLibrary"), OR you can include THAT script,
> > separately, set that as the behavior, and modify it
> > (but, what you should really do is remove your dg's and replace them
> > with pg's, imho. they're much faster and more flexible and powerful).
> > the project browser has a button for each behavior in the chain of an
> > object. i'm pretty sure that levure baker's assistant does, too.
> >
> > On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode
> >  wrote:
> >>
> >> There is also the Advanced button in the property inspector (looks like 
> >> one large gear with two smaller ones) where you can type the behavior, and 
> >> also has the target icon. Also, you shouldn’t have to do that every time. 
> >> Once should be enough if you save the stack afterwards.
> >>
> >> I note that Datagrids have no way to set the behavior, since they depend 
> >> on their default behavior. It was discussed long ago when nested behaviors 
> >> became a thing, that there ought to be a way to edit a list of behaviors 
> >> of an object. In fact it shouldn’t be that difficult to make a Behavior 
> >> Browser widget of some sort. Hmmm...
> >>
> >> Bob S
> >>
> >>
> >>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode 
> >>>  wrote:
> >>>
> >>> I, too, have discovered the target icon to the right of the behavior 
> >>> object field in the property inspector. Alas, using that that I see only 
> >>> buttons on the current card (and stacks). I don’t see a way to navigate 
> >>> to a different card and select a button there. I might have missed it. — 
> >>> Dar
> >>>
>  On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode 
>   wrote:
> 
>  you probably know this: in the property inspector, there's a panel for
>  behavior, so you can just select the behavior from a menu button,
>  without having to type it
> 
>  On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode
>   wrote:
> >
> > I figured out how to do it in the IDE. I needed to include “of stack” 
> > in the reference. — Dar
> >
> >> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode 
> >>  wrote:
> >>
> >> Not sure how it works in the IDE - seems a problem because it only 
> >> presents button in the current stack.
> >>
> >> So I do it all in preOpen... scripts, doing something like
> >>
> >>> set the behavior of fld "F" of grp tmpName to the long id of button 
> >>> "RichTextFieldBehaviour" of \
> >>>   card "Behaviours" of stack "/Users/alextweedly/Dropbox/My 
> >>> Livecode/Libraries/richText.livecode"
> >>
> >> Alex.
> >>
> >> On 22/08/2023 17:57, Dar Scott via use-livecode wrote:
> >>> I am misremembering things about Behaviors.
> >>>
> >>> I have a card with my behavior buttons, but I can’t seem to point to 
> >>> buttons on that card. Maybe, I’m remembering what I did long ago with 
> >>> front scripts.
> >>>
> >>> I suppose I can use substacks, but I’m worried that the stacks would 
> >>> be in the message path. Is there a way to keep the stack out of the 
> >>> message path?
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your 
> >>> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your 
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
>  --
> 

Re: Polygrid columns not fully clearing when pgColumns is set

2023-08-24 Thread Paul Dupuis via use-livecode
In this particular case, the table being displayed in the polygrid is 
based on datasets that researcher loads into our application and the 
number of rows and columns can vary widely as well as the column 
names/labels and type of data. Rather than conduct a large analysis to 
determine which of N columns (and it could be 0 to N) have changed, it 
is easier to update pgColumns.


In one dataset N could be 3 and in the next 1500 (yes, for real)



On 8/24/2023 4:53 PM, Bob Sneidar via use-livecode wrote:

Why not get the pgColumns first, alter only the array element needed for the 
specific column(s), then set the pgColumns of the PolyGrid?

Bob S



On Aug 24, 2023, at 1:26 PM, Paul Dupuis via use-livecode 
 wrote:

Thanks Klaus.

I may use this method rather than the overhead of clearing and setting the 
whole pgData property.

Actually, the more I think about it, neither "method" should be needed. This is 
a polygrid bug. If you set the pgColumsn to fewer column, regardless of whether there is 
left over data in pgData, only the columns in the currently set pgColumns should be seen.


On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote:

Hi Paul,


Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode 
:

Aha, I was setting pgColumns to the fewer columns and THEN pgData to the 
smaller data set to match the columns
You need to clear the pgData (set to empty) first, then set the columns, then 
set the new pgData.
Perhaps this is a documentation bug?

I had success by setting the dgColumns to EMPTY first and later to the new 
"fewer" columns:
## Button "Fewer Columns"
on mouseUp pMouseButton
   local tColA, tDataA
   local tSum
   lock screen

   ## !!
   set the pgColumns of widget "myTable" to EMPTY
  ## !!

   put "rowname" into tColA[1]["name"]
...


On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote:

Hi to any polygrid developers out there,

Please see bug https://quality.livecode.com/show_bug.cgi?id=24315

I have run into an issue with the latest polygrid (as of this post) where if 
you set pgColumns to a new array that reduces the number of columns in the 
grid, some old columns are not cleared, but instead are set to defaults (ie. 
the names revert to col5, col6, etc. instead of being completely removed

Any thoughts to a work-around?

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Polygrid columns not fully clearing when pgColumns is set

2023-08-24 Thread Bob Sneidar via use-livecode
Why not get the pgColumns first, alter only the array element needed for the 
specific column(s), then set the pgColumns of the PolyGrid?

Bob S


> On Aug 24, 2023, at 1:26 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> Thanks Klaus.
> 
> I may use this method rather than the overhead of clearing and setting the 
> whole pgData property.
> 
> Actually, the more I think about it, neither "method" should be needed. This 
> is a polygrid bug. If you set the pgColumsn to fewer column, regardless of 
> whether there is left over data in pgData, only the columns in the currently 
> set pgColumns should be seen.
> 
> 
> On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote:
>> Hi Paul,
>> 
>>> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode 
>>> :
>>> 
>>> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the 
>>> smaller data set to match the columns
>>> You need to clear the pgData (set to empty) first, then set the columns, 
>>> then set the new pgData.
>>> Perhaps this is a documentation bug?
>> I had success by setting the dgColumns to EMPTY first and later to the new 
>> "fewer" columns:
>> ## Button "Fewer Columns"
>> on mouseUp pMouseButton
>>   local tColA, tDataA
>>   local tSum
>>   lock screen
>> 
>>   ## !!
>>   set the pgColumns of widget "myTable" to EMPTY
>>  ## !!
>> 
>>   put "rowname" into tColA[1]["name"]
>> ...
>> 
>>> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote:
 Hi to any polygrid developers out there,
 
 Please see bug https://quality.livecode.com/show_bug.cgi?id=24315
 
 I have run into an issue with the latest polygrid (as of this post) where 
 if you set pgColumns to a new array that reduces the number of columns in 
 the grid, some old columns are not cleared, but instead are set to 
 defaults (ie. the names revert to col5, col6, etc. instead of being 
 completely removed
 
 Any thoughts to a work-around?
>> Best
>> 
>> Klaus
>> 
>> --
>> Klaus Major
>> https://www.major-k.de
>> https://www.major-k.de/bass
>> kl...@major-k.de
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - Mac Notarization Problem - Desperation setting in

2023-08-24 Thread matthias rebbe via use-livecode
Timothy,

so running the following command from step 7.1.2 of that lesson

xcrun notarytool submit --apple-id "" --password 
"" --team-id  --wait ""

gives you the 401 error or are you using the parameter --keychain-profile 
instead of the three parameters --password,--team-id and --apple-id?
If using the above command, then could you please run the command again from 
command line and add --verbose  to enable a detailed log and send the log file 
to me in a private email?

If the second, then did you create a new keychain profile as described in 
chapter 8 of that lesson?

Regards,
Matthias





> Am 24.08.2023 um 19:02 schrieb Timothy Bleiler via use-livecode 
> :
> 
> Hi all,
> 
> I believe the problem I’m having is either on Apple’s end or something with 
> my local configuration but Apple has not been very helpful and I’m running 
> out of ideas, so I’m turning to the wealth of experience on this list in 
> desperation.
> 
> I’ve been using the lessons from  Matthias Rebbe and V4 of his handy 
> mrSignNotarizeHelper stack.
> Code signing seems to work fine but when I get to the Notarization step I 
> always get an
> "Error: HTTP status code: 401. Invalid credentials. Username or password is 
> incorrect.
> 
> I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9.
> 
> So far, this is what I’ve tried with the same result
> 
> 1) Verified developer account in good status with Apple
> 2) Multiple checks of my credentials (Apple ID, team ID, app-specific 
> password) on Apple's developer and ID sites,
> 3) Multiple checks of my credentials in the parameters I’m using
> 4) Setting up a new app specific password on my account
> 5) Trying with a different Livecode application
> 6 Trying everything manually in Terminal. (What is apparent is any 
> subcommands of NotaryTool (e.g. submit, store-credentials) using my 
> credentials fail with the same error.
> 
> 7) Repeat everything on a brand new user account on my Mac
> 8) Sought help through devprogr...@apple.com
> 
> 
> I’ve done codesigning and notarization many times before with the same 
> developer account with no issues.
> What’s new here for me is using NotaryTool and the app-specific password.
> 
> I realize this is a long shot but I’m stuck, so it would be great if anyone 
> has any suggestions for solving this problem (even some detail I may have 
> missed in the steps I’ve already taken)
> 
> Thanks,
> 
> Tim Bleiler, Ph.D.
> Instructional Designer, HSIT
> University at Buffalo
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Polygrid columns not fully clearing when pgColumns is set

2023-08-24 Thread Paul Dupuis via use-livecode

Thanks Klaus.

I may use this method rather than the overhead of clearing and setting 
the whole pgData property.


Actually, the more I think about it, neither "method" should be needed. 
This is a polygrid bug. If you set the pgColumsn to fewer column, 
regardless of whether there is left over data in pgData, only the 
columns in the currently set pgColumns should be seen.



On 8/24/2023 2:34 PM, Klaus major-k via use-livecode wrote:

Hi Paul,


Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode 
:

Aha, I was setting pgColumns to the fewer columns and THEN pgData to the 
smaller data set to match the columns
You need to clear the pgData (set to empty) first, then set the columns, then 
set the new pgData.
Perhaps this is a documentation bug?

I had success by setting the dgColumns to EMPTY first and later to the new 
"fewer" columns:
## Button "Fewer Columns"
on mouseUp pMouseButton
   local tColA, tDataA
   local tSum
   lock screen

   ## !!
   set the pgColumns of widget "myTable" to EMPTY
  ## !!

   put "rowname" into tColA[1]["name"]
...


On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote:

Hi to any polygrid developers out there,

Please see bug https://quality.livecode.com/show_bug.cgi?id=24315

I have run into an issue with the latest polygrid (as of this post) where if 
you set pgColumns to a new array that reduces the number of columns in the 
grid, some old columns are not cleared, but instead are set to defaults (ie. 
the names revert to col5, col6, etc. instead of being completely removed

Any thoughts to a work-around?

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Polygrid columns not fully clearing when pgColumns is set

2023-08-24 Thread Klaus major-k via use-livecode
Hi Paul,

> Am 24.08.2023 um 20:30 schrieb Paul Dupuis via use-livecode 
> :
> 
> Aha, I was setting pgColumns to the fewer columns and THEN pgData to the 
> smaller data set to match the columns
> You need to clear the pgData (set to empty) first, then set the columns, then 
> set the new pgData.
> Perhaps this is a documentation bug?

I had success by setting the dgColumns to EMPTY first and later to the new 
"fewer" columns:
## Button "Fewer Columns"
on mouseUp pMouseButton
  local tColA, tDataA
  local tSum
  lock screen

  ## !!
  set the pgColumns of widget "myTable" to EMPTY
 ## !!

  put "rowname" into tColA[1]["name"]
...

> On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote:
>> Hi to any polygrid developers out there,
>> 
>> Please see bug https://quality.livecode.com/show_bug.cgi?id=24315
>> 
>> I have run into an issue with the latest polygrid (as of this post) where if 
>> you set pgColumns to a new array that reduces the number of columns in the 
>> grid, some old columns are not cleared, but instead are set to defaults (ie. 
>> the names revert to col5, col6, etc. instead of being completely removed
>> 
>> Any thoughts to a work-around?

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Polygrid columns not fully clearing when pgColumns is set

2023-08-24 Thread Paul Dupuis via use-livecode
Aha, I was setting pgColumns to the fewer columns and THEN pgData to the 
smaller data set to match the columns


You need to clear the pgData (set to empty) first, then set the columns, 
then set the new pgData.


Perhaps this is a documentation bug?

On 8/24/2023 2:26 PM, Paul Dupuis via use-livecode wrote:

Hi to any polygrid developers out there,

Please see bug https://quality.livecode.com/show_bug.cgi?id=24315

I have run into an issue with the latest polygrid (as of this post) 
where if you set pgColumns to a new array that reduces the number of 
columns in the grid, some old columns are not cleared, but instead are 
set to defaults (ie. the names revert to col5, col6, etc. instead of 
being completely removed


Any thoughts to a work-around?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Polygrid columns not fully clearing when pgColumns is set

2023-08-24 Thread Paul Dupuis via use-livecode

Hi to any polygrid developers out there,

Please see bug https://quality.livecode.com/show_bug.cgi?id=24315

I have run into an issue with the latest polygrid (as of this post) 
where if you set pgColumns to a new array that reduces the number of 
columns in the grid, some old columns are not cleared, but instead are 
set to defaults (ie. the names revert to col5, col6, etc. instead of 
being completely removed


Any thoughts to a work-around?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Behaviors

2023-08-24 Thread Bob Sneidar via use-livecode
Ah thanks for that. Yes, I knew how to nest behaviors for datagrids, but I 
never use the Project Browser because of issues I had many years ago. I may 
have another look. 

What is a “pg”? I make extensive use of Datagrid properties, and whatever I 
might replace them with needs to provide ALL their functionality. 

Bob S


> On Aug 24, 2023, at 10:15 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> i'm pretty sure you can set a dg's behavior. then you would set the
> behavior of that behavior to the button behavior (button id 1005 of
> stack "revDataGridLibrary"), OR you can include THAT script,
> separately, set that as the behavior, and modify it
> (but, what you should really do is remove your dg's and replace them
> with pg's, imho. they're much faster and more flexible and powerful).
> the project browser has a button for each behavior in the chain of an
> object. i'm pretty sure that levure baker's assistant does, too.
> 
> On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode
>  wrote:
>> 
>> There is also the Advanced button in the property inspector (looks like one 
>> large gear with two smaller ones) where you can type the behavior, and also 
>> has the target icon. Also, you shouldn’t have to do that every time. Once 
>> should be enough if you save the stack afterwards.
>> 
>> I note that Datagrids have no way to set the behavior, since they depend on 
>> their default behavior. It was discussed long ago when nested behaviors 
>> became a thing, that there ought to be a way to edit a list of behaviors of 
>> an object. In fact it shouldn’t be that difficult to make a Behavior Browser 
>> widget of some sort. Hmmm...
>> 
>> Bob S
>> 
>> 
>>> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode 
>>>  wrote:
>>> 
>>> I, too, have discovered the target icon to the right of the behavior object 
>>> field in the property inspector. Alas, using that that I see only buttons 
>>> on the current card (and stacks). I don’t see a way to navigate to a 
>>> different card and select a button there. I might have missed it. — Dar
>>> 
 On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode 
  wrote:
 
 you probably know this: in the property inspector, there's a panel for
 behavior, so you can just select the behavior from a menu button,
 without having to type it
 
 On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode
  wrote:
> 
> I figured out how to do it in the IDE. I needed to include “of stack” in 
> the reference. — Dar
> 
>> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode 
>>  wrote:
>> 
>> Not sure how it works in the IDE - seems a problem because it only 
>> presents button in the current stack.
>> 
>> So I do it all in preOpen... scripts, doing something like
>> 
>>> set the behavior of fld "F" of grp tmpName to the long id of button 
>>> "RichTextFieldBehaviour" of \
>>>   card "Behaviours" of stack "/Users/alextweedly/Dropbox/My 
>>> Livecode/Libraries/richText.livecode"
>> 
>> Alex.
>> 
>> On 22/08/2023 17:57, Dar Scott via use-livecode wrote:
>>> I am misremembering things about Behaviors.
>>> 
>>> I have a card with my behavior buttons, but I can’t seem to point to 
>>> buttons on that card. Maybe, I’m remembering what I did long ago with 
>>> front scripts.
>>> 
>>> I suppose I can use substacks, but I’m worried that the stacks would be 
>>> in the message path. Is there a way to keep the stack out of the 
>>> message path?
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
 and did a little diving.
 And God said, "This is good."
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 

Re: Behaviors

2023-08-24 Thread Mike Kerner via use-livecode
i'm pretty sure you can set a dg's behavior. then you would set the
behavior of that behavior to the button behavior (button id 1005 of
stack "revDataGridLibrary"), OR you can include THAT script,
separately, set that as the behavior, and modify it
(but, what you should really do is remove your dg's and replace them
with pg's, imho. they're much faster and more flexible and powerful).
the project browser has a button for each behavior in the chain of an
object. i'm pretty sure that levure baker's assistant does, too.

On Thu, Aug 24, 2023 at 11:35 AM Bob Sneidar via use-livecode
 wrote:
>
> There is also the Advanced button in the property inspector (looks like one 
> large gear with two smaller ones) where you can type the behavior, and also 
> has the target icon. Also, you shouldn’t have to do that every time. Once 
> should be enough if you save the stack afterwards.
>
> I note that Datagrids have no way to set the behavior, since they depend on 
> their default behavior. It was discussed long ago when nested behaviors 
> became a thing, that there ought to be a way to edit a list of behaviors of 
> an object. In fact it shouldn’t be that difficult to make a Behavior Browser 
> widget of some sort. Hmmm...
>
> Bob S
>
>
> > On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode 
> >  wrote:
> >
> > I, too, have discovered the target icon to the right of the behavior object 
> > field in the property inspector. Alas, using that that I see only buttons 
> > on the current card (and stacks). I don’t see a way to navigate to a 
> > different card and select a button there. I might have missed it. — Dar
> >
> >> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode 
> >>  wrote:
> >>
> >> you probably know this: in the property inspector, there's a panel for
> >> behavior, so you can just select the behavior from a menu button,
> >> without having to type it
> >>
> >> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode
> >>  wrote:
> >>>
> >>> I figured out how to do it in the IDE. I needed to include “of stack” in 
> >>> the reference. — Dar
> >>>
>  On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode 
>   wrote:
> 
>  Not sure how it works in the IDE - seems a problem because it only 
>  presents button in the current stack.
> 
>  So I do it all in preOpen... scripts, doing something like
> 
> > set the behavior of fld "F" of grp tmpName to the long id of button 
> > "RichTextFieldBehaviour" of \
> >card "Behaviours" of stack "/Users/alextweedly/Dropbox/My 
> > Livecode/Libraries/richText.livecode"
> 
>  Alex.
> 
>  On 22/08/2023 17:57, Dar Scott via use-livecode wrote:
> > I am misremembering things about Behaviors.
> >
> > I have a card with my behavior buttons, but I can’t seem to point to 
> > buttons on that card. Maybe, I’m remembering what I did long ago with 
> > front scripts.
> >
> > I suppose I can use substacks, but I’m worried that the stacks would be 
> > in the message path. Is there a way to keep the stack out of the 
> > message path?
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> 
>  ___
>  use-livecode mailing list
>  use-livecode@lists.runrev.com
>  Please visit this url to subscribe, unsubscribe and manage your 
>  subscription preferences:
>  http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> >>>
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your 
> >>> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >>
> >> --
> >> On the first day, God created the heavens and the Earth
> >> On the second day, God created the oceans.
> >> On the third day, God put the animals on hold for a few hours,
> >>  and did a little diving.
> >> And God said, "This is good."
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your 
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit 

OT - Mac Notarization Problem - Desperation setting in

2023-08-24 Thread Timothy Bleiler via use-livecode
Hi all,

I believe the problem I’m having is either on Apple’s end or something with my 
local configuration but Apple has not been very helpful and I’m running out of 
ideas, so I’m turning to the wealth of experience on this list in desperation.

I’ve been using the lessons from  Matthias Rebbe and V4 of his handy 
mrSignNotarizeHelper stack.
Code signing seems to work fine but when I get to the Notarization step I 
always get an
"Error: HTTP status code: 401. Invalid credentials. Username or password is 
incorrect.

I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9.

So far, this is what I’ve tried with the same result

1) Verified developer account in good status with Apple
2) Multiple checks of my credentials (Apple ID, team ID, app-specific password) 
on Apple's developer and ID sites,
3) Multiple checks of my credentials in the parameters I’m using
4) Setting up a new app specific password on my account
5) Trying with a different Livecode application
6 Trying everything manually in Terminal. (What is apparent is any subcommands 
of NotaryTool (e.g. submit, store-credentials) using my credentials fail with 
the same error.

7) Repeat everything on a brand new user account on my Mac
8) Sought help through devprogr...@apple.com


I’ve done codesigning and notarization many times before with the same 
developer account with no issues.
What’s new here for me is using NotaryTool and the app-specific password.

I realize this is a long shot but I’m stuck, so it would be great if anyone has 
any suggestions for solving this problem (even some detail I may have missed in 
the steps I’ve already taken)

Thanks,

Tim Bleiler, Ph.D.
Instructional Designer, HSIT
University at Buffalo

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - a new release of WinSignHelper for macOS

2023-08-24 Thread Randy Hengst via use-livecode
I built for windows using 9.6.9… just heard from my friend that he could open 
the app.

Thanks all for the ideas and information.

take care,
randy

Randy Hengst
classroomfocusedsoftware.com



> On Aug 24, 2023, at 10:41 AM, William Prothero via use-livecode 
>  wrote:
> 
> I have an ios app that I built for myself only. I was able to load the app on 
> my iphone for debugging. It works fine, for me, in normal use. You may be 
> able to do the same with your friend's device. It saves a lot of the trouble 
> with certificates, etc. you might search the forum on "sideloading".
> 
> Good luck.
> Bill
> 
> William A. Prothero, PhD
> Prof Emeritus, Dept of Earth Science
> University of California, Santa Barbara
> 
>> On Aug 24, 2023, at 6:30 AM, Randy Hengst via use-livecode 
>>  wrote:
>> 
>> Hi All,
>> 
>> This all very interesting. I haven’t built for windows in about 10 years. 
>> So, I’ve never messed with signing certificates.
>> 
>> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very 
>> straight forward. But, I’m trying to build an app only for a friend to use 
>> for free and, so, I’m not too keen on buying a certificate for $100+ every 
>> year.
>> 
>> Is there a way for folks to open an app on windows that is not signed? …like 
>> you can do on a Mac after the scary alert…
>> 
>> take care,
>> randy
>> 
>> Randy Hengst
>> classroomfocusedsoftware.com
>> 
>> 
>> 
>>> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> Very useful info, thank you. Especially the part about using the token on 
>>> different machines. I was duped into believing everything I read on the 
>>> internet. :)
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode 
>> :
>> 
>> Thanks Matthias. I've been reading about it and I think the cert is 
>> stored on the machine but it is tied to that computer and not exportable.
 
 
> If you get a new computer you need to buy a new certificate.
 I don't think that is true. The new type of certificate has to be stored 
 on a secure device. That's what the eToken is for. The private key is also 
 stored on the eToken and the certificate and the private key cannot be 
 exported. You should be able to use that token on multiple computers. You 
 just have to install the eToken driver to an other computer and attach the 
 eToken to it.
 
 This is what Trustzone is saying about it:
 "The token-based type of Standard Code Signing certificates can also be 
 used on multiple computers. The same goes for token-based EV certificates. 
 But no token-based certificate can ever be used simultaneously on two 
 computers since the SafeNet token can only be plugged into one computer at 
 a time."
 
 As i never had such eToken, i do not know, if the certificate and the 
 private key can be accessed as files through Finder. And what extension do 
 they have. I've read the osslsigncode can use also certificates and key 
 files with .cem extension.
 So if the eToken contains such files, WinSignHelper could be slightly 
 adjusted to work with the eToken. But that's just an assumption.
 
 Matthias
 
 
> So I don't think I'll experiment, and we'll just do the whole thing on 
> the Windows box.
> 
> The sad part is that if we'd renewed just a couple of weeks earlier we'd 
> have been within the cutoff date and could have purchased the old type of 
> certificate.
> 
 Same here. I was about 5 days to late otherwise i could have ordered the 
 olde type.
 
 
> If anyone else has used the new token hardware I'd be grateful for any 
> tips or suggestions. This is all new to me.
 
 I am using a cloud based OV certificate from Certum. I just need to 
 install the Software SimplySign Desktop. The software "integrates" the 
 certificate into Windows' certificate storage (or what ever this is 
 called) after i logged in using that SimplySign Desktop software.
 Microsoft's signtool can then directly access the certificate.
 
 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode 
>  wrote:
> 
>> To be honest, i do not know.
>> I am currently using a cloud code signing certificate which i can only 
>> use on Windows.
>> I've chosen the cloud version because of the price, but later i noticed 
>> that it seems that those cloud certificates cannot be used on macOS.
>> Or maybe they can, but i do not know how, especially with ossl signcode
>> WinSignHelper uses ossl signcode and 

Re: OT - a new release of WinSignHelper for macOS

2023-08-24 Thread William Prothero via use-livecode
I have an ios app that I built for myself only. I was able to load the app on 
my iphone for debugging. It works fine, for me, in normal use. You may be able 
to do the same with your friend's device. It saves a lot of the trouble with 
certificates, etc. you might search the forum on "sideloading".

Good luck.
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Aug 24, 2023, at 6:30 AM, Randy Hengst via use-livecode 
>  wrote:
> 
> Hi All,
> 
> This all very interesting. I haven’t built for windows in about 10 years. So, 
> I’ve never messed with signing certificates.
> 
> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very 
> straight forward. But, I’m trying to build an app only for a friend to use 
> for free and, so, I’m not too keen on buying a certificate for $100+ every 
> year.
> 
> Is there a way for folks to open an app on windows that is not signed? …like 
> you can do on a Mac after the scary alert…
> 
> take care,
> randy
> 
> Randy Hengst
> classroomfocusedsoftware.com
> 
> 
> 
>> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> Very useful info, thank you. Especially the part about using the token on 
>> different machines. I was duped into believing everything I read on the 
>> internet. :)
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode 
>>  wrote:
>> 
> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode 
> :
> 
> Thanks Matthias. I've been reading about it and I think the cert is 
> stored on the machine but it is tied to that computer and not exportable.
>>> 
>>> 
 If you get a new computer you need to buy a new certificate.
>>> I don't think that is true. The new type of certificate has to be stored on 
>>> a secure device. That's what the eToken is for. The private key is also 
>>> stored on the eToken and the certificate and the private key cannot be 
>>> exported. You should be able to use that token on multiple computers. You 
>>> just have to install the eToken driver to an other computer and attach the 
>>> eToken to it.
>>> 
>>> This is what Trustzone is saying about it:
>>> "The token-based type of Standard Code Signing certificates can also be 
>>> used on multiple computers. The same goes for token-based EV certificates. 
>>> But no token-based certificate can ever be used simultaneously on two 
>>> computers since the SafeNet token can only be plugged into one computer at 
>>> a time."
>>> 
>>> As i never had such eToken, i do not know, if the certificate and the 
>>> private key can be accessed as files through Finder. And what extension do 
>>> they have. I've read the osslsigncode can use also certificates and key 
>>> files with .cem extension.
>>> So if the eToken contains such files, WinSignHelper could be slightly 
>>> adjusted to work with the eToken. But that's just an assumption.
>>> 
>>> Matthias
>>> 
>>> 
 So I don't think I'll experiment, and we'll just do the whole thing on the 
 Windows box.
 
 The sad part is that if we'd renewed just a couple of weeks earlier we'd 
 have been within the cutoff date and could have purchased the old type of 
 certificate.
 
>>> Same here. I was about 5 days to late otherwise i could have ordered the 
>>> olde type.
>>> 
>>> 
 If anyone else has used the new token hardware I'd be grateful for any 
 tips or suggestions. This is all new to me.
>>> 
>>> I am using a cloud based OV certificate from Certum. I just need to install 
>>> the Software SimplySign Desktop. The software "integrates" the certificate 
>>> into Windows' certificate storage (or what ever this is called) after i 
>>> logged in using that SimplySign Desktop software.
>>> Microsoft's signtool can then directly access the certificate.
>>> 
>>> 
 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software | http://www.hyperactivesw.com
 On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode 
  wrote:
 
> To be honest, i do not know.
> I am currently using a cloud code signing certificate which i can only 
> use on Windows.
> I've chosen the cloud version because of the price, but later i noticed 
> that it seems that those cloud certificates cannot be used on macOS.
> Or maybe they can, but i do not know how, especially with ossl signcode
> WinSignHelper uses ossl signcode and currently that tool needs a path to 
> a certificate
> 
> Do you know where the certificate is stored with the eToken solution? Is 
> it stored also on the eToken or anywhere else on the Mac?
> If you have the certificate as a physical file it maybe could be possible 
> to select that file in the WinSignHelper prefs.
> 
> But as  i alread wrote, i really don't know exactly.

Re: Behaviors

2023-08-24 Thread Bob Sneidar via use-livecode
There is also the Advanced button in the property inspector (looks like one 
large gear with two smaller ones) where you can type the behavior, and also has 
the target icon. Also, you shouldn’t have to do that every time. Once should be 
enough if you save the stack afterwards. 

I note that Datagrids have no way to set the behavior, since they depend on 
their default behavior. It was discussed long ago when nested behaviors became 
a thing, that there ought to be a way to edit a list of behaviors of an object. 
In fact it shouldn’t be that difficult to make a Behavior Browser widget of 
some sort. Hmmm...

Bob S


> On Aug 23, 2023, at 5:00 PM, Dar Scott via use-livecode 
>  wrote:
> 
> I, too, have discovered the target icon to the right of the behavior object 
> field in the property inspector. Alas, using that that I see only buttons on 
> the current card (and stacks). I don’t see a way to navigate to a different 
> card and select a button there. I might have missed it. — Dar
> 
>> On Aug 22, 2023, at 1:05 PM, Mike Kerner via use-livecode 
>>  wrote:
>> 
>> you probably know this: in the property inspector, there's a panel for
>> behavior, so you can just select the behavior from a menu button,
>> without having to type it
>> 
>> On Tue, Aug 22, 2023 at 1:37 PM Dar Scott via use-livecode
>>  wrote:
>>> 
>>> I figured out how to do it in the IDE. I needed to include “of stack” in 
>>> the reference. — Dar
>>> 
 On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode 
  wrote:
 
 Not sure how it works in the IDE - seems a problem because it only 
 presents button in the current stack.
 
 So I do it all in preOpen... scripts, doing something like
 
> set the behavior of fld "F" of grp tmpName to the long id of button 
> "RichTextFieldBehaviour" of \
>card "Behaviours" of stack "/Users/alextweedly/Dropbox/My 
> Livecode/Libraries/richText.livecode"
 
 Alex.
 
 On 22/08/2023 17:57, Dar Scott via use-livecode wrote:
> I am misremembering things about Behaviors.
> 
> I have a card with my behavior buttons, but I can’t seem to point to 
> buttons on that card. Maybe, I’m remembering what I did long ago with 
> front scripts.
> 
> I suppose I can use substacks, but I’m worried that the stacks would be 
> in the message path. Is there a way to keep the stack out of the message 
> path?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> 
>> -- 
>> On the first day, God created the heavens and the Earth
>> On the second day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>  and did a little diving.
>> And God said, "This is good."
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - a new release of WinSignHelper for macOS

2023-08-24 Thread Bob Sneidar via use-livecode
Oh right, I think I DID have to confirm that I want to run the app on both 
Windows and Mac. I suppose that would be an issue if I was distributing 
commercially.

Bob S


On Aug 24, 2023, at 8:20 AM, Bob Sneidar  wrote:

I build for Windows and do not need a certificate. I’ve run my app on Windows 
10 and server 2019 without an issue.

Bob S


On Aug 24, 2023, at 6:28 AM, Randy Hengst via use-livecode 
 wrote:

Hi All,

This all very interesting. I haven’t built for windows in about 10 years. So, 
I’ve never messed with signing certificates.

I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight 
forward. But, I’m trying to build an app only for a friend to use for free and, 
so, I’m not too keen on buying a certificate for $100+ every year.

Is there a way for folks to open an app on windows that is not signed? …like 
you can do on a Mac after the scary alert…

take care,
randy

Randy Hengst
classroomfocusedsoftware.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - a new release of WinSignHelper for macOS

2023-08-24 Thread Bob Sneidar via use-livecode
I build for Windows and do not need a certificate. I’ve run my app on Windows 
10 and server 2019 without an issue.

Bob S


On Aug 24, 2023, at 6:28 AM, Randy Hengst via use-livecode 
 wrote:

Hi All,

This all very interesting. I haven’t built for windows in about 10 years. So, 
I’ve never messed with signing certificates.

I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight 
forward. But, I’m trying to build an app only for a friend to use for free and, 
so, I’m not too keen on buying a certificate for $100+ every year.

Is there a way for folks to open an app on windows that is not signed? …like 
you can do on a Mac after the scary alert…

take care,
randy

Randy Hengst
classroomfocusedsoftware.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Linux and the search for a controllable Web Browser

2023-08-24 Thread Derek Bump via use-livecode
Good Day,

I've been wrestling with the Browser widget on Linux long enough now that I've 
largely given up on using it for anything destined for a production 
environment. However, that has not reduced my need for a browser which I can 
control in my specific use-case: open a streaming video url, make it full 
screen, autoplay, wait for navigational input from the user (arrow keys, DEL 
key, etc), and close when requested.

I did attempt to build a controllable browser using Neutralinojs, which showed 
potential. With it's configuration options, having a borderless, floating 
browser window appear at exact coordinates is very do-able. Unfortunately for 
me, the cross-origin nature of using an iframe is preventing JavaScript from 
forcing playback without a physical "click" from the user. Setting the URL of 
the Neutralinojs "browser" directly (not using iframe) resolves the 
cross-origin restriction, but it still required click for playback. Plus, 
setting the URL directly wipes out any JavaScript written, so inter-process 
communications disappears immediately. So that solution isn't viable.

I'm thinking of attempting the same concept using Electron, but I'm betting 
100% the experience will be the same. Many in the past have abused the Autoplay 
feature, so its largely locked down in commercial browsers at this point. I'm 
pretty sure I'd have to compile a custom browser from source, which I have 
never done before. Nor am I interested in going down that rabbit hole (yet).

So I wanted to reach out to see if anyone has stumbled upon a solution for 
showing web pages on Linux in such a way that you can still maintain control 
over the browser through LiveCode?

With regards to my use-case, I've (temporarily) opted to launch Firefox using 
"open process" (non blocking) in Kiosk mode. This is nearly producing what I 
need, except regaining control involves terminating Firefox when my user 
presses a "Universal Home" button on their remote control. Not ideal, but it 
works.

What's frustrating is that there's a Browser Widget sitting in my toolbar which 
seems to work well on Windows and Mac. However, even if the widget was 
compatible (or I found a modern distro where it works), it still wouldn't solve 
my problem: LC's browser implementation has some of it's multimedia framework 
support turned off, so HLS is out the window. This would need to be added in by 
LiveCode Ltd., most likely.

Am I stuck?

I appreciate the help and look forward to feedback.

Thank you,
Derek Bump

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - a new release of WinSignHelper for macOS

2023-08-24 Thread Klaus major-k via use-livecode
Hi Randy,

> Am 24.08.2023 um 15:49 schrieb Randy Hengst via use-livecode 
> :
> 
> Excellent! Thank you, Klaus.

my pleasure!

> Does the current version of windows look the same as your screen shots?

Sorry, no idea, my last Win version is 10, as shown in the pics.

> take care,
> randy
> 
> Randy Hengst
> classroomFocusedSoftware.com
>> 
>>> Hi All,
>>> This all very interesting. I haven’t built for windows in about 10 years. 
>>> So, I’ve never messed with signing certificates.
>>> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very 
>>> straight forward. But, I’m trying to build an app only for a friend to use 
>>> for free and, so, I’m not too keen on buying a certificate for $100+ every 
>>> year.
>>> Is there a way for folks to open an app on windows that is not signed? 
>>> …like you can do on a Mac after the scary alert…
>> I once set up a help page for exactly this issue:
>> 
>> Scroll down for the Windows stuff...
>> Hope that helps!

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - a new release of WinSignHelper for macOS

2023-08-24 Thread Randy Hengst via use-livecode
Excellent! Thank you, Klaus.

Does the current version of windows look the same as your screen shots?

take care,
randy

Randy Hengst
classroomFocusedSoftware.com



> On Aug 24, 2023, at 8:42 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Randy,
> 
>> Am 24.08.2023 um 15:28 schrieb Randy Hengst via use-livecode 
>> :
>> 
>> Hi All,
>> 
>> This all very interesting. I haven’t built for windows in about 10 years. 
>> So, I’ve never messed with signing certificates.
>> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very 
>> straight forward. But, I’m trying to build an app only for a friend to use 
>> for free and, so, I’m not too keen on buying a certificate for $100+ every 
>> year.
>> Is there a way for folks to open an app on windows that is not signed? …like 
>> you can do on a Mac after the scary alert…
> 
> I once set up a help page for exactly this issue:
> 
> 
> Scroll down for the Windows stuff...
> Hope that helps!
> 
>> take care,
>> randy
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - a new release of WinSignHelper for macOS

2023-08-24 Thread Klaus major-k via use-livecode
Hi Randy,

> Am 24.08.2023 um 15:28 schrieb Randy Hengst via use-livecode 
> :
> 
> Hi All,
> 
> This all very interesting. I haven’t built for windows in about 10 years. So, 
> I’ve never messed with signing certificates.
> I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very 
> straight forward. But, I’m trying to build an app only for a friend to use 
> for free and, so, I’m not too keen on buying a certificate for $100+ every 
> year.
> Is there a way for folks to open an app on windows that is not signed? …like 
> you can do on a Mac after the scary alert…

I once set up a help page for exactly this issue:


Scroll down for the Windows stuff...
Hope that helps!

> take care,
> randy

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - a new release of WinSignHelper for macOS

2023-08-24 Thread Randy Hengst via use-livecode
Hi All,

This all very interesting. I haven’t built for windows in about 10 years. So, 
I’ve never messed with signing certificates.

I’ve downloaded and played with Matthias’ CodeSigning Tool… seems very straight 
forward. But, I’m trying to build an app only for a friend to use for free and, 
so, I’m not too keen on buying a certificate for $100+ every year.

Is there a way for folks to open an app on windows that is not signed? …like 
you can do on a Mac after the scary alert…

take care,
randy

Randy Hengst
classroomfocusedsoftware.com



> On Jul 20, 2023, at 10:47 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Very useful info, thank you. Especially the part about using the token on 
> different machines. I was duped into believing everything I read on the 
> internet. :)
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode 
>  wrote:
> 
>>> Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode 
>>> :
>>> 
>>> Thanks Matthias. I've been reading about it and I think the cert is stored 
>>> on the machine but it is tied to that computer and not exportable.
>> 
>> 
>>> If you get a new computer you need to buy a new certificate.
>> I don't think that is true. The new type of certificate has to be stored on 
>> a secure device. That's what the eToken is for. The private key is also 
>> stored on the eToken and the certificate and the private key cannot be 
>> exported. You should be able to use that token on multiple computers. You 
>> just have to install the eToken driver to an other computer and attach the 
>> eToken to it.
>> 
>> This is what Trustzone is saying about it:
>> "The token-based type of Standard Code Signing certificates can also be used 
>> on multiple computers. The same goes for token-based EV certificates. But no 
>> token-based certificate can ever be used simultaneously on two computers 
>> since the SafeNet token can only be plugged into one computer at a time."
>> 
>> As i never had such eToken, i do not know, if the certificate and the 
>> private key can be accessed as files through Finder. And what extension do 
>> they have. I've read the osslsigncode can use also certificates and key 
>> files with .cem extension.
>> So if the eToken contains such files, WinSignHelper could be slightly 
>> adjusted to work with the eToken. But that's just an assumption.
>> 
>> Matthias
>> 
>> 
>>> So I don't think I'll experiment, and we'll just do the whole thing on the 
>>> Windows box.
>>> 
>>> The sad part is that if we'd renewed just a couple of weeks earlier we'd 
>>> have been within the cutoff date and could have purchased the old type of 
>>> certificate.
>>> 
>> Same here. I was about 5 days to late otherwise i could have ordered the 
>> olde type.
>> 
>> 
>>> If anyone else has used the new token hardware I'd be grateful for any tips 
>>> or suggestions. This is all new to me.
>> 
>> I am using a cloud based OV certificate from Certum. I just need to install 
>> the Software SimplySign Desktop. The software "integrates" the certificate 
>> into Windows' certificate storage (or what ever this is called) after i 
>> logged in using that SimplySign Desktop software.
>> Microsoft's signtool can then directly access the certificate.
>> 
>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>> On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode 
>>>  wrote:
>>> 
 To be honest, i do not know.
 I am currently using a cloud code signing certificate which i can only use 
 on Windows.
 I've chosen the cloud version because of the price, but later i noticed 
 that it seems that those cloud certificates cannot be used on macOS.
 Or maybe they can, but i do not know how, especially with ossl signcode
 WinSignHelper uses ossl signcode and currently that tool needs a path to a 
 certificate
 
 Do you know where the certificate is stored with the eToken solution? Is 
 it stored also on the eToken or anywhere else on the Mac?
 If you have the certificate as a physical file it maybe could be possible 
 to select that file in the WinSignHelper prefs.
 
 But as  i alread wrote, i really don't know exactly.
 
 I am currently thinking of purchasing a 2nd certificate as eToken 
 solution, but there is not yet a decision made, if i should spent money 
 for this, as i have a working cloud certificate which expires in 3 years.
 
 Regards,
 Matthias
 
> Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode 
> :
> 
> @Matthias: does the upgraded WinSignHelper work with the new hardware 
> eTokens? Those are required now.
> 
> If so, do the instructions change on how to use your tool?
> 
> 
> On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote:
>>