Re: I came back and ... What?!

2024-09-18 Thread Curry Kenworthy via use-livecode

Hi Dar,

I am so glad to see that you are back! Warm welcome.

I have had a fever lately, so ...

More comments on this after getting a bit better. :)

Best wishes,

Curry Kenworthy

Radically Innovative Christian LiveCode Development
"PASSION for Elegant, Efficient Code!"
https://livecodeconsulting.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: I came back and ... What?!

2024-09-18 Thread Dar Scott via use-livecode
Thanks, Panos!

I will do that. I do hope for advice from those who have had to navigate the 
pitfalls. 

Dar


> On Sep 18, 2024, at 1:25 PM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Dar,
> 
> Heather is off for a couple of weeks. I suggest you contact
> supp...@livecode.com, to get answers to all these questions.
> 
> Kind regards
> Panos
> 
> On Wed, 18 Sept 2024, 22:05 Dar Scott via use-livecode, <
> use-livecode@lists.runrev.com> wrote:
> 
>> I did not mean to kick up rubble. My bad.
>> 
>> How do I handle my canceled LiveCode subscription? I haven’t heard back
>> from Heather. What should I expect? I renewed back in the spring. Is this
>> now lost?
>> 
>> How do I get Create? Should I wait on the LiveCode subscription issue
>> resolution before I get Create? I’m willing to try it. Is there really a
>> math error in the basket calculations or am I missing something?
>> 
>> Am I allowed to create libraries for my customers (developers of LiveCode
>> applications) without complications? It is not clear; this might be part of
>> “use in an IDE”. Am I responsible for my customer’s failure to pay fees to
>> LiveCode if my library is the bulk of the code in the application? It is
>> not clear in the license.
>> 
>> How do I keep up with user-months within my own organization?
>> 
>> How do I handle software included in my non-subscription deliverables?
>> 
>> I very much would like to move forward, but, frankly, I’m all confused.
>> Maybe some folks have answers to one or two. Maybe that way these get
>> covered. Or some general advice is good, too.
>> 
>> Dar
>> 
>>> On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode <
>> use-livecode@lists.runrev.com> might have written:
>>> ...
>>> I need some guidance.
>>> ...
>> 
>> 
>> ___
>> 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: I came back and ... What?!

2024-09-18 Thread panagiotis merakos via use-livecode
Hello Dar,

Heather is off for a couple of weeks. I suggest you contact
supp...@livecode.com, to get answers to all these questions.

Kind regards
Panos

On Wed, 18 Sept 2024, 22:05 Dar Scott via use-livecode, <
use-livecode@lists.runrev.com> wrote:

> I did not mean to kick up rubble. My bad.
>
> How do I handle my canceled LiveCode subscription? I haven’t heard back
> from Heather. What should I expect? I renewed back in the spring. Is this
> now lost?
>
> How do I get Create? Should I wait on the LiveCode subscription issue
> resolution before I get Create? I’m willing to try it. Is there really a
> math error in the basket calculations or am I missing something?
>
> Am I allowed to create libraries for my customers (developers of LiveCode
> applications) without complications? It is not clear; this might be part of
> “use in an IDE”. Am I responsible for my customer’s failure to pay fees to
> LiveCode if my library is the bulk of the code in the application? It is
> not clear in the license.
>
> How do I keep up with user-months within my own organization?
>
> How do I handle software included in my non-subscription deliverables?
>
> I very much would like to move forward, but, frankly, I’m all confused.
> Maybe some folks have answers to one or two. Maybe that way these get
> covered. Or some general advice is good, too.
>
> Dar
>
> > On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode <
> use-livecode@lists.runrev.com> might have written:
> > ...
> > I need some guidance.
> > ...
>
>
> ___
> 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: I came back and ... What?!

2024-09-18 Thread Dar Scott via use-livecode
I did not mean to kick up rubble. My bad.

How do I handle my canceled LiveCode subscription? I haven’t heard back from 
Heather. What should I expect? I renewed back in the spring. Is this now lost?

How do I get Create? Should I wait on the LiveCode subscription issue 
resolution before I get Create? I’m willing to try it. Is there really a math 
error in the basket calculations or am I missing something?

Am I allowed to create libraries for my customers (developers of LiveCode 
applications) without complications? It is not clear; this might be part of 
“use in an IDE”. Am I responsible for my customer’s failure to pay fees to 
LiveCode if my library is the bulk of the code in the application? It is not 
clear in the license.

How do I keep up with user-months within my own organization?

How do I handle software included in my non-subscription deliverables?

I very much would like to move forward, but, frankly, I’m all confused. Maybe 
some folks have answers to one or two. Maybe that way these get covered. Or 
some general advice is good, too. 

Dar

> On Sep 18, 2024, at 10:45 AM, Dar Scott via use-livecode 
>  might have written:
> ...
> I need some guidance.
> ...


___
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: New licensing

2024-09-18 Thread Mark Smith via use-livecode
Hi Bob, thanks for the info. Could you please expound a little on what you said 
below, or give an example of how this works or how you use it? It sounds very 
interesting but I am not sure exactly what you are describing. Many thanks

Mark

> On 18 Sep 2024, at 6:09 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> For instance LC *finally* incorporated inline custom behaviors for Datagrids

___
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: New licensing

2024-09-18 Thread Bob Sneidar via use-livecode
Sorry list, that was supposed to go to Dar. 

Bob S


> On Sep 18, 2024, at 10:09 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Well I didn’t want to post this on the main list for reasons that will become 
> obvious. 
> 
> First, any apps you create with Classic will still operate under the old 
> license. I have been assured that if I create and distribute an app the last 
> day of the classic licensing, the distributed apps will continue to function, 
> so no worries there. Up until sometime in 2027 you should still be good. 
> 
> What to do after that is the issue. Certain LC developers have forked the LC 
> build based upon the Open Licensing of Livecode. It functions so far as I can 
> tell just like the commercial version of LC, but of course any changes made 
> to LC prior to the fork will of course not be in the Open xTalk build. 
> 
> For instance LC *finally* incorporated inline custom behaviors for Datagrids, 
> something I take full advantage of. But unfortunately, it did not make it 
> into the fork, and the OXT devs do not appear to think it worth it to 
> replicate the work, even though it is quite simple to do. I will have to do 
> considerable refactoring to make my main project work. 
> 
> So there you are. Don’t tell anyone at LC I said so. There’s no bad blood 
> between LC and the OXT project, they have amicably parted ways, forked their 
> relationship if you will. :-) But obviously promoting a competing project on 
> the list would be at the very least rude. 
> 
> Bob S
> 
> ___
> 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: CharToNum Depricated??

2024-09-18 Thread Bob Sneidar via use-livecode
Thanks Jacqueline. I knew about the binary thing. I just thnik that silent 
conversions are a violation of the of principle of low level file operations. 
The whole point to low level file functions is so that what you write is what 
you get, and what you read is what you wrote.

But it’s water under the bridge now. I’m even thinking about going through all 
my code and ensuring that all reads and writes are binary, and that all line 
endings are CRLF.

Bob S


On Sep 18, 2024, at 1:59 AM, J. Landman Gay via use-livecode 
 wrote:

I should have thought of that. Line endings are always translated to/from 
native unless the file is opened/written in binary, it's been that way since 
MetaCard. It's a feature.
--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com
HyperActive Software | 
http://www.hyperactivesw.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: CharToNum Depricated??

2024-09-18 Thread J. Landman Gay via use-livecode
I should have thought of that. Line endings are always translated to/from 
native unless the file is opened/written in binary, it's been that way 
since MetaCard. It's a feature.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 17, 2024 10:35:05 AM Bob Sneidar via use-livecode 
 wrote:


Thanks Bernd. But I finally figured out what the issue was. It seems that 
unless the output file is opened binary, any attempt to wrote to a file 
using any of the cr, lf or crlf keywords in LC will result in LC 
auto-converting them to cr, because that is the Macintosh standard. What I 
had to do is to use numToCodepoint() to create a variable containing ascii 
characters 13 and 10 (crlf) and then use that variable to end my lines.


The way I actually figured out what the issue was, is I downloaded 
Notepad++ for Windows which has the capability of showing non-printing 
characters, and it does not transparently cut convert files without 
informing the user, as Microsoft seems to think they have every right to 
take the liberty to do.


And without putting too fine a point on it, Livecode seems to take the same 
liberties. If I write lf to a file, I expect the file to contain lf and not 
cr! But at least there is a way around it.


Bob S


On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode 
 wrote:


Hi Bob,


Actually I think what I need to do is figure out what the original file
encoding is, and use that when I write out the export file.

I assume that the byte order mark (BOM) is for UTF-8

To see the BOM for UTF-8 make a button and a field named "fText"

Use this script for the button

-
on mouseUp
  local tPath, tContent, tBom, tCollect
  answer file "choose"
  if it is empty then exit mouseUp
  put it into tPath
  if the optionKey is down then
 put url ("binfile:" & tPath) into tContent
 delete line 2 to -1 of tContent
 put textEncode(tContent, "UTF-8") into tContent
  else
 put url ("file:" & tPath) into tContent
 delete line 2 to -1 of tContent
  end if
  put tContent into field "fText"
end mouseUp
-

and see if you see the BOM when you hold down the option key when opening 
the file
If you do not use the option key there should be no BOM at the beginning of 
the text and the text is automatically UTF-8 encoded
Apparently "put url ("file:" & tPath)" is also aware of the encoding of the 
file since it converts it omits the BOM.


Kind regards
Bernd
___
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: CharToNum Depricated??

2024-09-17 Thread Bob Sneidar via use-livecode
I went through all my code and replaced charToNum and numToChar with 
codepointToNum and numToCodepoint respectively. If it matters to anyone, the 
Quartum PDF, Excel and sqlYoga libraries all were using the depricated 
versions. 

Bob S


> On Sep 17, 2024, at 8:50 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I also read up on the BOM, and for UTF-8 it is optional, and as mentioned not 
> recommended, because UTF-8 always uses the same byte order.
> 
> And anyway, the BOM was never the issue. Apparently Livecode always produces 
> a UTF-8 format file unless instructed to do otherwise.
> 
> Bob S
> 
> 
> On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode 
>  wrote:
> 
> Hi Bob,
> 
> 
> Actually I think what I need to do is figure out what the original file
> encoding is, and use that when I write out the export file.
> 
> I assume that the byte order mark (BOM) is for UTF-8
> 
> To see the BOM for UTF-8 make a button and a field named "fText"
> 
> Use this script for the button
> 
> ___
> 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: CharToNum Depricated??

2024-09-17 Thread Bob Sneidar via use-livecode
I also read up on the BOM, and for UTF-8 it is optional, and as mentioned not 
recommended, because UTF-8 always uses the same byte order.

And anyway, the BOM was never the issue. Apparently Livecode always produces a 
UTF-8 format file unless instructed to do otherwise.

Bob S


On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode 
 wrote:

Hi Bob,


Actually I think what I need to do is figure out what the original file
encoding is, and use that when I write out the export file.

I assume that the byte order mark (BOM) is for UTF-8

To see the BOM for UTF-8 make a button and a field named "fText"

Use this script for the button

___
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: CharToNum Depricated??

2024-09-17 Thread Bob Sneidar via use-livecode
Thanks Bernd. But I finally figured out what the issue was. It seems that 
unless the output file is opened binary, any attempt to wrote to a file using 
any of the cr, lf or crlf keywords in LC will result in LC auto-converting them 
to cr, because that is the Macintosh standard. What I had to do is to use 
numToCodepoint() to create a variable containing ascii characters 13 and 10 
(crlf) and then use that variable to end my lines. 

The way I actually figured out what the issue was, is I downloaded Notepad++ 
for Windows which has the capability of showing non-printing characters, and it 
does not transparently cut convert files without informing the user, as 
Microsoft seems to think they have every right to take the liberty to do. 

And without putting too fine a point on it, Livecode seems to take the same 
liberties. If I write lf to a file, I expect the file to contain lf and not cr! 
But at least there is a way around it. 

Bob S


> On Sep 17, 2024, at 4:41 AM, Niggemann, Bernd via use-livecode 
>  wrote:
> 
> Hi Bob,
> 
> 
> Actually I think what I need to do is figure out what the original file
> encoding is, and use that when I write out the export file.
> 
> I assume that the byte order mark (BOM) is for UTF-8
> 
> To see the BOM for UTF-8 make a button and a field named "fText"
> 
> Use this script for the button
> 
> -
> on mouseUp
>   local tPath, tContent, tBom, tCollect
>   answer file "choose"
>   if it is empty then exit mouseUp
>   put it into tPath
>   if the optionKey is down then
>  put url ("binfile:" & tPath) into tContent
>  delete line 2 to -1 of tContent
>  put textEncode(tContent, "UTF-8") into tContent
>   else
>  put url ("file:" & tPath) into tContent
>  delete line 2 to -1 of tContent
>   end if
>   put tContent into field "fText"
> end mouseUp
> -
> 
> and see if you see the BOM when you hold down the option key when opening the 
> file
> If you do not use the option key there should be no BOM at the beginning of 
> the text and the text is automatically UTF-8 encoded
> Apparently "put url ("file:" & tPath)" is also aware of the encoding of the 
> file since it converts it omits the BOM.
> 
> Kind regards
> Bernd
> ___
> 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: CharToNum Depricated??

2024-09-17 Thread Niggemann, Bernd via use-livecode
Hi Bob,


Actually I think what I need to do is figure out what the original file
encoding is, and use that when I write out the export file.

I assume that the byte order mark (BOM) is for UTF-8

To see the BOM for UTF-8 make a button and a field named "fText"

Use this script for the button

-
on mouseUp
   local tPath, tContent, tBom, tCollect
   answer file "choose"
   if it is empty then exit mouseUp
   put it into tPath
   if the optionKey is down then
  put url ("binfile:" & tPath) into tContent
  delete line 2 to -1 of tContent
  put textEncode(tContent, "UTF-8") into tContent
   else
  put url ("file:" & tPath) into tContent
  delete line 2 to -1 of tContent
   end if
   put tContent into field "fText"
end mouseUp
-

and see if you see the BOM when you hold down the option key when opening the 
file
If you do not use the option key there should be no BOM at the beginning of the 
text and the text is automatically UTF-8 encoded
Apparently "put url ("file:" & tPath)" is also aware of the encoding of the 
file since it converts it omits the BOM.

Kind regards
Bernd
___
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: CharToNum Depricated??

2024-09-16 Thread Bob Sneidar via use-livecode
Actually I think what I need to do is figure out what the original file 
encoding is, and use that when I write out the export file. 

Bob S


> On Sep 16, 2024, at 2:06 PM, Bob Sneidar  wrote:
> 
> OK so I determined that the native export file from the Toshiba Address Book 
> Export is putting some non-display (probably unicode) characters at the 
> beginning of the file. They don’t appear in any text editor but they are 
> there because when I do a char by char comparison, the very first char in the 
> Toshiba Export file is a question mark. 
> 
> Is there any way to ignore that exterraneous data when reading the file? 
> 
> Bob S
> 

___
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: CharToNum Depricated??

2024-09-16 Thread Bob Sneidar via use-livecode
OK so I determined that the native export file from the Toshiba Address Book 
Export is putting some non-display (probably unicode) characters at the 
beginning of the file. They don’t appear in any text editor but they are there 
because when I do a char by char comparison, the very first char in the Toshiba 
Export file is a question mark. 

Is there any way to ignore that exterraneous data when reading the file? 

Bob S

___
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: CharToNum Depricated??

2024-09-16 Thread Bob Sneidar via use-livecode
I think you nailed it Bernd. That scans with all that I am seeing in 
troubleshooting. 

Bob S


> On Sep 15, 2024, at 11:50 AM, Niggemann, Bernd via use-livecode 
>  wrote:
> 
> Hi Bob,
> 
> charToNum has been deprecated, I think since LC 7.0
> 
> It is replaced by nativeCharToNum() and byteToNum
> 
> (As of LC 10.0.0 charToNum maps to nativeCharToNum, see release notes)
> 
> This covers the ASCII range.
> 
> For unicode you use codepointToNum()
> 
> I suspect that the small difference you see in file size is a Byte Order 
> Mark, BOM at the beginning of the Konica Minolta address book.
> 
> You could try to use "open file" to import the Konica Minolta address book.
> 
> open file tFilePath for read
> read from file tFilePath until EOF
> put it into tData
> close file tFilePath
> 
> The dictionary states
> 
> From 7.0, it's possible to specify an encoding for the file being
> opened. By doing so, you can straight read or write to a file without
> having to call textEncode or textDecode; the encoding supported by
> open file are the same as these text encoding functions. If no encoding
> is provided, then open file tries to read a Byte Order Mark (BOM) exists
> at the beginning of the file. In success, the encoding is adapted and the
> BOM is ignored.
> 
> 
> If my assumption that there is a BOM is correct then after opening and 
> reading from the file should give you the same length of the data since the 
> BOM is not part of the data.
> I guess that is also the reason why SublimeText sees both files as identical. 
> It probably also ignores the BOM.
> 
> I am just guessing and I am not an expert for these matters but maybe this 
> gives you an idea to try.
> 
> Kind regard
> Bernd
> 
> 
> Bob wrote
> 
> Also, if charToNum is deprecated, what do I use to compare t he ascii values 
> of
> two characters??
> 
> ___
> 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: CharToNum Depricated??

2024-09-16 Thread Craig Newman via use-livecode
CharTo Num and NumToChar still work just fine, deprecation notwithstanding.

LC would not permit a new version to break old code if they could at all help 
it. I never really migrated over to the updated  “codePoint” version. I hope 
this laziness does not bite me one day.

Craig


___
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: CharToNum Depricated??

2024-09-15 Thread Niggemann, Bernd via use-livecode
Hi Bob,

charToNum has been deprecated, I think since LC 7.0

It is replaced by nativeCharToNum() and byteToNum

(As of LC 10.0.0 charToNum maps to nativeCharToNum, see release notes)

This covers the ASCII range.

For unicode you use codepointToNum()

I suspect that the small difference you see in file size is a Byte Order Mark, 
BOM at the beginning of the Konica Minolta address book.

You could try to use "open file" to import the Konica Minolta address book.

open file tFilePath for read
read from file tFilePath until EOF
put it into tData
close file tFilePath

The dictionary states

>From 7.0, it's possible to specify an encoding for the file being
opened. By doing so, you can straight read or write to a file without
having to call textEncode or textDecode; the encoding supported by
open file are the same as these text encoding functions. If no encoding
is provided, then open file tries to read a Byte Order Mark (BOM) exists
at the beginning of the file. In success, the encoding is adapted and the
BOM is ignored.


If my assumption that there is a BOM is correct then after opening and reading 
from the file should give you the same length of the data since the BOM is not 
part of the data.
I guess that is also the reason why SublimeText sees both files as identical. 
It probably also ignores the BOM.

I am just guessing and I am not an expert for these matters but maybe this 
gives you an idea to try.

Kind regard
Bernd


Bob wrote

Also, if charToNum is deprecated, what do I use to compare t he ascii values of
two characters??

___
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: CharToNum Depricated??

2024-09-13 Thread Bob Sneidar via use-livecode
Also, if charToNum is deprecated, what do I use to compare t he ascii values of 
two characters??

Bob S


> On Sep 13, 2024, at 3:44 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I am having an issue where I am trying to compare the data of two files I 
> read from disk character by character. To the naked eye, both files are 
> identical. If I open each file in Sublime Text and do a fileDiff, it declares 
> they are identical. But when I look at the actual file size, one is slightly 
> larger than the other. Also, when I compare the ascii values of each 
> character, right off the bat with the first character, charToNum reports that 
> in one file the first character is “F” which is correct. But for the second 
> file, it is “?” which is NOT CORRECT!!!
> 
> Now one file I generated by converting a Konica Minolta address book to a 
> Toshiba address book. I won’t go into the gory details, but remember both 
> files I am comparing look identical and SublimeText thinks they are 
> identical. 
> 
> My suspicion is that the source file, the Konica Minolta address book is 
> unicode. What I did. to try and get around this is I used textDecode(it, 
> “ASCII”) on the data read from the disk, but I am still getting the same 
> results. 
> 
> My goal is to read the data as ascii data with NO UNICODE  and then export it 
> with NO UNICODE. 
> 
> Bob S
> 
> ___
> 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: SFTP Woes

2024-09-13 Thread Dan Friedman via use-livecode
I get different results in different versions of LC:

LC 9.6.10  >  Version 1.4.9 Business Edition
LC 10.0.0 (rc 2) > Version 1.4.10 Business Edition
LC 9.6.13  > Version 1.4.10 Business Edition

-Dan


From: use-livecode  on behalf of 
matthias rebbe via use-livecode 
Date: Friday, September 13, 2024 at 11:11 AM
To: How to use LiveCode 
Cc: matthias_livecode_150...@m-r-d.de 
Subject: Re: SFTP Woes
Dan,

what does

put tsnetversion()

return?

Here with 9.6.13 I get   "Version 1.4.10 Business Edition"




> Am 13.09.2024 um 18:10 schrieb Dan Friedman via use-livecode 
> :
>
> Heather,
>
> Thank you for the reply, but I am using a Business License with Pro Features. 
>  But I relicensed LC anyway to verify it’s connected to the Pro Features 
> account.   Still get the same warning.
>
> So, that’s not the issue.   Any other ideas?
>
> -Dan
>
>
>
> From: use-livecode  <mailto:use-livecode-boun...@lists.runrev.com>> on behalf of Heather Laine 
> via use-livecode  <mailto:use-livecode@lists.runrev.com>>
> Date: Friday, September 13, 2024 at 8:59 AM
> To: How to use LiveCode  <mailto:use-livecode@lists.runrev.com>>
> Cc: Heather Laine mailto:heat...@livecode.com>>
> Subject: Re: SFTP Woes
> Check which license you are using. You may need Pro features (Business) to 
> use SFTP, so if you're using an older Indy type license that could be the 
> problem. All Pro features are included in Create.
>
> To check/change the license, follow the steps in this lesson:
>
> https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring
>
> Best Regards,
>
> Heather
>
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.com<http://www.livecode.com> 
> <http://www.livecode.com/><http://www.livecode.com <http://www.livecode.com/>>
>
>
>
>> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode 
>>  wrote:
>>
>> Greetings!
>>
>> I am trying to use SFTP to download some data from a server.   On both Mac 
>> and Windows, I get:
>>
>> sftp protocol not supported in this version
>>
>> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13.   All versions report the 
>> same result.  Is sftp not supported in LC, or have I neglected to flip some 
>> bit?
>>
>> Thank you in advance for any guidance!
>> -Dan
>> ___
>> 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 <mailto: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: SFTP Woes

2024-09-13 Thread matthias rebbe via use-livecode
Dan,

what does  

put tsnetversion()

return?

Here with 9.6.13 I get   "Version 1.4.10 Business Edition"




> Am 13.09.2024 um 18:10 schrieb Dan Friedman via use-livecode 
> :
> 
> Heather,
> 
> Thank you for the reply, but I am using a Business License with Pro Features. 
>  But I relicensed LC anyway to verify it’s connected to the Pro Features 
> account.   Still get the same warning.
> 
> So, that’s not the issue.   Any other ideas?
> 
> -Dan
> 
> 
> 
> From: use-livecode  <mailto:use-livecode-boun...@lists.runrev.com>> on behalf of Heather Laine 
> via use-livecode  <mailto:use-livecode@lists.runrev.com>>
> Date: Friday, September 13, 2024 at 8:59 AM
> To: How to use LiveCode  <mailto:use-livecode@lists.runrev.com>>
> Cc: Heather Laine mailto:heat...@livecode.com>>
> Subject: Re: SFTP Woes
> Check which license you are using. You may need Pro features (Business) to 
> use SFTP, so if you're using an older Indy type license that could be the 
> problem. All Pro features are included in Create.
> 
> To check/change the license, follow the steps in this lesson:
> 
> https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring
> 
> Best Regards,
> 
> Heather
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.com <http://www.livecode.com/><http://www.livecode.com 
> <http://www.livecode.com/>>
> 
> 
> 
>> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode 
>>  wrote:
>> 
>> Greetings!
>> 
>> I am trying to use SFTP to download some data from a server.   On both Mac 
>> and Windows, I get:
>> 
>> sftp protocol not supported in this version
>> 
>> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13.   All versions report the 
>> same result.  Is sftp not supported in LC, or have I neglected to flip some 
>> bit?
>> 
>> Thank you in advance for any guidance!
>> -Dan
>> ___
>> 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 <mailto: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: SFTP Woes

2024-09-13 Thread Dan Friedman via use-livecode
Heather,

Thank you for the reply, but I am using a Business License with Pro Features.  
But I relicensed LC anyway to verify it’s connected to the Pro Features 
account.   Still get the same warning.

So, that’s not the issue.   Any other ideas?

-Dan



From: use-livecode  on behalf of Heather 
Laine via use-livecode 
Date: Friday, September 13, 2024 at 8:59 AM
To: How to use LiveCode 
Cc: Heather Laine 
Subject: Re: SFTP Woes
Check which license you are using. You may need Pro features (Business) to use 
SFTP, so if you're using an older Indy type license that could be the problem. 
All Pro features are included in Create.

To check/change the license, follow the steps in this lesson:

https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com<http://www.livecode.com>



> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode 
>  wrote:
>
> Greetings!
>
> I am trying to use SFTP to download some data from a server.   On both Mac 
> and Windows, I get:
>
> sftp protocol not supported in this version
>
> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13.   All versions report the 
> same result.  Is sftp not supported in LC, or have I neglected to flip some 
> bit?
>
> Thank you in advance for any guidance!
> -Dan
> ___
> 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: SFTP Woes

2024-09-13 Thread Heather Laine via use-livecode
Check which license you are using. You may need Pro features (Business) to use 
SFTP, so if you're using an older Indy type license that could be the problem. 
All Pro features are included in Create.

To check/change the license, follow the steps in this lesson:

https://lessons.livecode.com/m/4072/l/1542014-i-have-a-valid-license-but-lc-says-it-is-expiring

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com



> On 13 Sep 2024, at 16:14, Dan Friedman via use-livecode 
>  wrote:
> 
> Greetings!
> 
> I am trying to use SFTP to download some data from a server.   On both Mac 
> and Windows, I get:
> 
> sftp protocol not supported in this version
> 
> I have tried LC 9.6.10, 10.0.0 (rc 2), and 9.6.13.   All versions report the 
> same result.  Is sftp not supported in LC, or have I neglected to flip some 
> bit?
> 
> Thank you in advance for any guidance!
> -Dan
> ___
> 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: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare

2024-09-13 Thread matthias rebbe via use-livecode
Hello Scott,

I just had a little spare time. So I created a UTM VM with Windows 11 pro 23h2.

I installed the most current version of the Windows SDK, which contains native 
tools x86, x64 and ARM. I only selected "Windows SDK Signing Tools for Desktop 
Apps".

First I tried to code sign using signtool.exe located in the ARM64 folder.  
That failed.
The error was   "No certificates were found that met all the given criteria" 
regardless if I used parameter /a or /n 

When using signtool.exe located in the X64 folder, the signing was successful.  
 I did not have a closer look if the ARM version of signtool needs other 
parameter.
But using the Intel version of signtool.exe works w/o problems on Windows 11 
ARM.

Is it by any chance possible that you tried to sign using the ARM version of 
signtool?

Regards

Matthias



> Am 13.09.2024 um 01:12 schrieb scott--- via use-livecode 
> :
> 
> Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project 
> regularly. I love how it wraps in DropDMG.
> 
> I also wrote a GUI for code signing with a USB token.  My project works well 
> in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on 
> an ARM Mac using the new ARM version of Windows 11. I have been using UTM 
>  and Windows 11 Pro (version 23H2) on an M2 MacBook 
> Pro and most things work well... except that all of my attempts to code sign 
> inside that VM fail. I was wondering if you had any thoughts about what part 
> of this setup might be failing.
> 
> Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget 
> “com.livecode.widget.powerbutton” which may not show up as expected if the 
> user doesn’t have the additional LiveCode Enhancements bundle installed. (I 
> didn’t have it installed on one of my VMs)
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --
> 
> 
>> On Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi,
>> 
>> WinSignHelperV2 is now available in the Sample stacks section of LC. 
>> Just search for WinSignHelperV2. 
>> It is also here available 
>> https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2
>> 
>> The tool builds the correct  signtool.exe parameters and execute signtool.exe
>> 
>> It was now successfully tested with  Cloudbased code signing certificate and 
>> also with a code signing certificate on a USB token.
>> 
>> You just drag the folder which contains the .exe and any additional .dll 
>> files to the stack and the tool creates the command with all parameters and 
>> executes signtool.exe then.
>> 
>> Signtool.exe is part of the Windows sdk. A download url for the sdk can be 
>> found in the help section of the main stack.
>> 
>> The main stack is password protected.
>> 
>> This stack only works on Windows, regardless if on a VM or on real hardware.
>> 
>> So if anyone is interested, then give it a try.
>> 
>> 
>> I am still working on a lesson about how to code sign Windows standalones on 
>> macOS using a cloud based certificate or a certificate on a USB token.
>> But this still takes time.
>> 
>> 
>> I really hope the WinSignHelperV2 is of use for someone.
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>> 
>> ___
>> 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: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare

2024-09-12 Thread matthias rebbe via use-livecode
Hello Scott,

thank you for pointing this out. Stack is fixed. I am so used to these power 
buttons that I just forgot that they are not included by default.

Regarding the VM.
I am running here a Windows 11 ARM version in a Parallels VM on my M1 Mac.
And signtool.exe works here with a cloud based code signing certificate without 
a problem.
What happens if you just run signtool.exe from command line without any 
parameters. Does it start and returns an error because of missing parameters or
does it run in general?

I using UTM only with macOS VMs, so I cannot say if it should be possible to 
code sign  in UTM Windows VMs or not.

I am currently working on a HelperStack that will help to code sign Windows 
standalones on macOS.
The stack is not the problem, but the documentation about what is required to 
get it working.
A lesson about this is also in progress.

If you like you can contact me off-list. 

Regards,

Matthias



> Am 13.09.2024 um 01:12 schrieb scott--- via use-livecode 
> :
> 
> Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project 
> regularly. I love how it wraps in DropDMG.
> 
> I also wrote a GUI for code signing with a USB token.  My project works well 
> in a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on 
> an ARM Mac using the new ARM version of Windows 11. I have been using UTM 
>  and Windows 11 Pro (version 23H2) on an M2 MacBook 
> Pro and most things work well... except that all of my attempts to code sign 
> inside that VM fail. I was wondering if you had any thoughts about what part 
> of this setup might be failing.
> 
> Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget 
> “com.livecode.widget.powerbutton” which may not show up as expected if the 
> user doesn’t have the additional LiveCode Enhancements bundle installed. (I 
> didn’t have it installed on one of my VMs)
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --
> 
> 
>> On Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi,
>> 
>> WinSignHelperV2 is now available in the Sample stacks section of LC. 
>> Just search for WinSignHelperV2. 
>> It is also here available 
>> https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2
>> 
>> The tool builds the correct  signtool.exe parameters and execute signtool.exe
>> 
>> It was now successfully tested with  Cloudbased code signing certificate and 
>> also with a code signing certificate on a USB token.
>> 
>> You just drag the folder which contains the .exe and any additional .dll 
>> files to the stack and the tool creates the command with all parameters and 
>> executes signtool.exe then.
>> 
>> Signtool.exe is part of the Windows sdk. A download url for the sdk can be 
>> found in the help section of the main stack.
>> 
>> The main stack is password protected.
>> 
>> This stack only works on Windows, regardless if on a VM or on real hardware.
>> 
>> So if anyone is interested, then give it a try.
>> 
>> 
>> I am still working on a lesson about how to code sign Windows standalones on 
>> macOS using a cloud based certificate or a certificate on a USB token.
>> But this still takes time.
>> 
>> 
>> I really hope the WinSignHelperV2 is of use for someone.
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>> 
>> ___
>> 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: WinSignHelperV2 (gui for signtool.exe) is now available in RevOnline/LivecodeShare

2024-09-12 Thread scott--- via use-livecode
Thank you, Matthias. I use your “mrSignNotarizeHelperV4.livecode” project 
regularly. I love how it wraps in DropDMG.

I also wrote a GUI for code signing with a USB token.  My project works well in 
a VM on an Intel Mac with Windows 10. However, I was hoping to run a VM on an 
ARM Mac using the new ARM version of Windows 11. I have been using UTM 
 and Windows 11 Pro (version 23H2) on an M2 MacBook 
Pro and most things work well... except that all of my attempts to code sign 
inside that VM fail. I was wondering if you had any thoughts about what part of 
this setup might be failing.

Also, I noticed that WinSignHelperV2 appears to use the PowerButton widget 
“com.livecode.widget.powerbutton” which may not show up as expected if the user 
doesn’t have the additional LiveCode Enhancements bundle installed. (I didn’t 
have it installed on one of my VMs)

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--


> On Sep 12, 2024, at 1:17 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi,
> 
> WinSignHelperV2 is now available in the Sample stacks section of LC. 
> Just search for WinSignHelperV2. 
> It is also here available 
> https://livecodeshare.runrev.com/stack/1040/WinSignHelperV2
> 
> The tool builds the correct  signtool.exe parameters and execute signtool.exe
> 
> It was now successfully tested with  Cloudbased code signing certificate and 
> also with a code signing certificate on a USB token.
> 
> You just drag the folder which contains the .exe and any additional .dll 
> files to the stack and the tool creates the command with all parameters and 
> executes signtool.exe then.
> 
> Signtool.exe is part of the Windows sdk. A download url for the sdk can be 
> found in the help section of the main stack.
> 
> The main stack is password protected.
> 
> This stack only works on Windows, regardless if on a VM or on real hardware.
> 
> So if anyone is interested, then give it a try.
> 
> 
> I am still working on a lesson about how to code sign Windows standalones on 
> macOS using a cloud based certificate or a certificate on a USB token.
> But this still takes time.
> 
> 
> I really hope the WinSignHelperV2 is of use for someone.
> 
> Regards,
> Matthias
> 
> 
> 
> 
> ___
> 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: LivecodeShare/revOnline - How to upload?

2024-09-12 Thread matthias rebbe via use-livecode
Thanks Bernd. That helped.


> Am 12.09.2024 um 19:12 schrieb Niggemann, Bernd via use-livecode 
> :
> 
> Hi Matthias,
> 
> If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within LC 
> Sample Stacks have lost their "You are logged in" etc at the topRight of 
> Sample Stacks.
> However using LC 9.6.13 it shows up as usual.
> This supposes that you were logged in. Otherwise it will give you the 
> opportunity to log in.
> 
> Kind regards
> Bernd
> ___
> 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: LivecodeShare/revOnline - How to upload?

2024-09-12 Thread panagiotis merakos via use-livecode
Hello all,
I am afk now, but if I remember correctly, the options to log in etc are
still there in LC 10, but they have white textColor in white background!
But if you hover the mouse over them they should change color.

Cheers,
Panos

On Thu, 12 Sept 2024, 20:14 Niggemann, Bernd via use-livecode, <
use-livecode@lists.runrev.com> wrote:

> Hi Matthias,
>
> If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within
> LC Sample Stacks have lost their "You are logged in" etc at the topRight of
> Sample Stacks.
> However using LC 9.6.13 it shows up as usual.
> This supposes that you were logged in. Otherwise it will give you the
> opportunity to log in.
>
> Kind regards
> Bernd
> ___
> 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: LivecodeShare/revOnline - How to upload?

2024-09-12 Thread Niggemann, Bernd via use-livecode
Hi Matthias,

If you are using LC 10.0.0 RC1 and then open "Sample Stacks" from within LC 
Sample Stacks have lost their "You are logged in" etc at the topRight of Sample 
Stacks.
However using LC 9.6.13 it shows up as usual.
This supposes that you were logged in. Otherwise it will give you the 
opportunity to log in.

Kind regards
Bernd
___
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: tsNet - load HTTPS from server with self-signed certificate?

2024-09-12 Thread Matthias Rebbe via use-livecode
Have a look for  tsNetVerifySSLPeer   in the dictionary.

 the command 
tsNetVerifySSLPeer false
should fix it.


Regards,
Matthias

Von meinem iPad gesendet

> Am 12.09.2024 um 15:10 schrieb Ben Rubinstein via use-livecode 
> :
> 
> Attempting to load a URL over https, from a server with a self-signed 
> certificate. The error is:
> 
> tsneterr: (60) schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate 
> chain was issued by an authority that is not trusted.
> 
> 
> This is a server we manage. If you accessed it in a browser, you'd get a 
> warning explaining the issue, and have the choice to say I understand, get it 
> anyway. Is there a way in tsNet to tell it to accept this certificate 
> (otherwise we have to load it over http, which is even less secure!)?\
> 
> TIA,
> 
> Ben
> 
> ___
> 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: LivecodeShare/revOnline - How to upload?

2024-09-12 Thread Mark Smith via use-livecode
Well done Matthias. Thank you for your outstanding contributions to the 
community. 

All the best,
Mark

Sent from my iPhone

> On Sep 12, 2024, at 11:10 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi,
> 
> am I missing something?
> I cannot find a login area to upload a sample stack to 
> revOnline/LivecodeShare.
> My login credentials are already stored in Livecode's preferences, but the 
> SampleStacks area within LC only shows stacks, but does not allow to upload.
> And the webversion at livecodeshare.runrev.com 
>  also does not offer a login.
> 
> What is nowadays the recommended way to share a stack with the community?
> I would like to upload a new Helper stack for Windows that offers a gui for 
> signtool.exe. It makes code signing on Windows using cloud based certificates 
> and now also certificates on USB Token much easier. (at least I think so) ;)
> 
> Regards,
> 
> Matthias
> 
> ___
> 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: testing the list

2024-09-05 Thread Bob Sneidar via use-livecode
Okay. ;-)

> On Sep 5, 2024, at 1:50 AM, Heather Laine via use-livecode 
>  wrote:
> 
> please ignore
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.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: Android API 34 and Android keystore: SOLVED

2024-08-29 Thread Ralph DiMola via use-livecode
+1

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Thursday, August 29, 2024 12:20 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Android API 34 and Android keystore: SOLVED

Whew! The team is the best. And Matthias is always kind and helpful.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
http://www.hyperactivesw.com On August 29, 2024 4:18:06 AM Klaus major-k via
use-livecode  wrote:

> Hi friends,
>
> I am glad to tell you that we could finally solve this problem.
> Right in time for the deadline on saturday, phew...
>
> We had to download and use an "encryption_public_key.pem"
> file from google in the JAVA command for the last param!
> Sometimes one does not see the forest for the trees...
>
> I want to thank the community and especially Panos, Mark W.
> and Matthias Rebbe for their wonderful and really helpful assistance.
> I love you guys! :-)
>
> But Googles support defintitively sucks and had caused more irritation 
> than giving helpful hints.
>
> Again thanks to all, have a wonderful weekend!
>
>
> 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: Android API 34 and Android keystore: SOLVED

2024-08-29 Thread J. Landman Gay via use-livecode

Whew! The team is the best. And Matthias is always kind and helpful.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 29, 2024 4:18:06 AM Klaus major-k via use-livecode 
 wrote:



Hi friends,

I am glad to tell you that we could finally solve this problem.
Right in time for the deadline on saturday, phew...

We had to download and use an "encryption_public_key.pem"
file from google in the JAVA command for the last param!
Sometimes one does not see the forest for the trees...

I want to thank the community and especially Panos, Mark W.
and Matthias Rebbe for their wonderful and really helpful assistance.
I love you guys! :-)

But Googles support defintitively sucks and had caused more
irritation than giving helpful hints.

Again thanks to all, have a wonderful weekend!


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: Strange...

2024-08-28 Thread Bob Sneidar via use-livecode
put "777,50,1424,1" into tCoords
put item 1 of tCoords > -32768 AND \
item 2 of tCoords > -32768 AND \
item 3 of tCoords < 32767 AND \
item 4 of tCoords < 32767 AND \
"936,474" is within tCoords --> true

put "777,50,1424,10" into tCoords
put item 1 of tCoords > -32768 AND \
item 2 of tCoords > -32768 AND \
item 3 of tCoords < 32767 AND \
item 4 of tCoords < 32767 AND \
"936,474" is within tCoords --> false

Bob S


> On Aug 28, 2024, at 11:48 AM, jbv via use-livecode 
>  wrote:
> 
> Le 2024-08-28 13:52, Klaus major-k via use-livecode a écrit :
>> should suffice for a simple addressbook app. :-)
> 
> yep, but not for processing any kind of raw data...
> 
> ___
> 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: Strange...

2024-08-28 Thread jbv via use-livecode

Le 2024-08-28 13:52, Klaus major-k via use-livecode a écrit :


should suffice for a simple addressbook app. :-)



yep, but not for processing any kind of raw data...

___
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: Strange...

2024-08-28 Thread Klaus major-k via use-livecode


> Am 28.08.2024 um 19:07 schrieb Brian Milby via use-livecode 
> :
> 
> Exactly (that is essentially what I did)
> 
> The actual full rect is:
> (-32768,-32768,32767,32767)

should suffice for a simple addressbook app. :-)

> Brian Milby
> br...@milby7.com
> 
>> On Aug 28, 2024, at 11:19 AM, Bob Sneidar via use-livecode 
>>  wrote:
>> Easy enough to test.
>> put ("936,474" is within "777,50,1424,32767”) —> true
>> put ("936,474" is within "777,50,1424,32768”) —> false
>> Bob S
>>> On Aug 28, 2024, at 5:17 AM, Brian Milby via use-livecode 
>>>  wrote:
>>> Looks like ~32k is the max value allowed for a coordinate value.
>>> Brian Milby
>>> br...@milby7.com
>>> 
> On Aug 28, 2024, at 4:22 AM, jbv via use-livecode 
>  wrote:
 ("936,474" is within "777,50,1424,1") -> true
 ("936,474" is within "777,50,1424,10") -> false
 LC 9.6.9 on Mac OSX 10.15

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: Strange...

2024-08-28 Thread Brian Milby via use-livecode
Exactly (that is essentially what I did)

The actual full rect is:
(-32768,-32768,32767,32767)

Brian Milby
br...@milby7.com

> On Aug 28, 2024, at 11:19 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Easy enough to test.
> 
> put ("936,474" is within "777,50,1424,32767”) —> true
> put ("936,474" is within "777,50,1424,32768”) —> false
> 
> Bob S
> 
> 
>> On Aug 28, 2024, at 5:17 AM, Brian Milby via use-livecode 
>>  wrote:
>> 
>> Looks like ~32k is the max value allowed for a coordinate value.
>> 
>> Brian Milby
>> br...@milby7.com
>> 
 On Aug 28, 2024, at 4:22 AM, jbv via use-livecode 
  wrote:
>>> 
>>> ("936,474" is within "777,50,1424,1") -> true
>>> 
>>> ("936,474" is within "777,50,1424,10") -> false
>>> 
>>> LC 9.6.9 on Mac OSX 10.15
>>> 
>>> ___
>>> 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: Strange...

2024-08-28 Thread Bob Sneidar via use-livecode
Easy enough to test. 

put ("936,474" is within "777,50,1424,32767”) —> true
put ("936,474" is within "777,50,1424,32768”) —> false

Bob S


> On Aug 28, 2024, at 5:17 AM, Brian Milby via use-livecode 
>  wrote:
> 
> Looks like ~32k is the max value allowed for a coordinate value.
> 
> Brian Milby
> br...@milby7.com
> 
>> On Aug 28, 2024, at 4:22 AM, jbv via use-livecode 
>>  wrote:
>> 
>> ("936,474" is within "777,50,1424,1") -> true
>> 
>> ("936,474" is within "777,50,1424,10") -> false
>> 
>> LC 9.6.9 on Mac OSX 10.15
>> 
>> ___
>> 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: Strange...

2024-08-28 Thread Brian Milby via use-livecode
Looks like ~32k is the max value allowed for a coordinate value.

Brian Milby
br...@milby7.com

> On Aug 28, 2024, at 4:22 AM, jbv via use-livecode 
>  wrote:
> 
> ("936,474" is within "777,50,1424,1") -> true
> 
> ("936,474" is within "777,50,1424,10") -> false
> 
> LC 9.6.9 on Mac OSX 10.15
> 
> ___
> 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: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-28 Thread Klaus major-k via use-livecode
Hi Panos,

still no joy...
...
java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
--output=output.zip  --rsa-aes-encryption 
--encryption-key-path=upload_certificate.pem
Enter password for key 'sehenkey':
Error: Unable to export or encrypt the private key
java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: 
IOException: DerValue.getOID, not an OID 2
at 
java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:241)
at 
java.base/java.security.KeyFactory.generatePublic(KeyFactory.java:351)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.readPublicKey(ExportEncryptedPrivateKeyTool.java:309)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.encryptPrivateKeyWithCkmRsaAesKeyWrapEncryption(ExportEncryptedPrivateKeyTool.java:283)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:213)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:165)
Caused by: java.security.InvalidKeyException: IOException: DerValue.getOID, not 
an OID 2
at java.base/sun.security.x509.X509Key.decode(X509Key.java:375)
at java.base/sun.security.x509.X509Key.decode(X509Key.java:380)
at 
java.base/sun.security.rsa.RSAPublicKeyImpl.(RSAPublicKeyImpl.java:146)
at 
java.base/sun.security.rsa.RSAPublicKeyImpl.newKey(RSAPublicKeyImpl.java:78)
at 
java.base/sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:324)
at 
java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:237)
... 5 more

> Am 28.08.2024 um 12:58 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hello Klaus,
> 
> Hmm this looks like a different error. I also noticed that the new keystore
> you created has extension ".jks" and not ".keystore".

Yes, for testing I had created a new Keystore and PEM file with these names.

> Could you try with your old .keystore and .pem file, i.e. something like
> this:
> 
> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
> --output=output.zip  --rsa-aes-encryption
> --encryption-key-path=upload_certificate.pem
> 
> Kind regards,
> Panos

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: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-28 Thread panagiotis merakos via use-livecode
Hello Klaus,

Hmm this looks like a different error. I also noticed that the new keystore
you created has extension ".jks" and not ".keystore".

Could you try with your old .keystore and .pem file, i.e. something like
this:

java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
--output=output.zip  --rsa-aes-encryption
--encryption-key-path=upload_certificate.pem

Kind regards,
Panos
--

On Wed, 28 Aug 2024 at 13:18, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Panos,
>
> I had created a new keystore and PEM file with the shell commands that
> Gooogle support supplied.
> Still no joy...
> 
> % java -jar pepk.jar --keystore=android_upload2.jks --alias=upload
> --output=output.zip  --rsa-aes-encryption
> --encryption-key-path=upload_certificate2.pem
> Enter password for store 'android_upload2.jks':
> Enter password for key 'upload':
> Error: Unable to export or encrypt the private key
> java.security.UnrecoverableKeyException: Get Key failed: Given final block
> not properly padded. Such issues can arise if a bad key is used during
> decryption.
> at
> java.base/sun.security.pkcs12.PKCS12KeyStore.engineGetKey(PKCS12KeyStore.java:454)
> at
> java.base/sun.security.util.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:93)
> at java.base/java.security.KeyStore.getKey(KeyStore.java:1075)
> at
> com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.extractPrivateKey(KeystoreHelper.java:63)
> at
> com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.getPrivateKey(KeystoreHelper.java:35)
> at
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:209)
> at
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:165)
> Caused by: javax.crypto.BadPaddingException: Given final block not
> properly padded. Such issues can arise if a bad key is used during
> decryption.
> at
> java.base/com.sun.crypto.provider.CipherCore.unpad(CipherCore.java:861)
> at
> java.base/com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:941)
> at
> java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:734)
> at
> java.base/com.sun.crypto.provider.PBES2Core.engineDoFinal(PBES2Core.java:310)
> at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2244)
> at
> java.base/sun.security.pkcs12.PKCS12KeyStore.lambda$engineGetKey$0(PKCS12KeyStore.java:370)
> at
> java.base/sun.security.pkcs12.PKCS12KeyStore$RetryWithZero.run(PKCS12KeyStore.java:257)
> at
> java.base/sun.security.pkcs12.PKCS12KeyStore.engineGetKey(PKCS12KeyStore.java:361)
> ... 6 more
> ---
>
> I will also write a mail to Google support now, maybe they can explain
> what's going wrong.
> The tone of their last mails however made me feel that they only take
> actual JAVA developers seriously. :-/
>
> > Am 28.08.2024 um 09:37 schrieb Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hi Panos,
> >
> >> Am 28.08.2024 um 09:17 schrieb panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> Also, in the screenshot you attached, it looks like the arguments
> >> "signing-keystore" and "keystore" expect a different value.
> >>
> >> The "keystore" looks like it should be the "android_upload.keystore" you
> >> created and used to sign the app in LiveCode. I am not sure what is the
> >> "signing-keystore" - were you asked to create one?
> >>
> >> Same for the "signing-key-alias" - it looks like it is expected to be
> >> different for the "alias" (the latter should be "sehenkey")
> >>
> >> I had a look in the terminal command I had issued back then, and it did
> not
> >> include these 2 arguments ("signing-key-alias" and "signing-keystore")
> - it
> >> was just:
> >>
> >> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
> >> --output=output.zip  --rsa-aes-encryption
> >> --encryption-key-path=upload_certificate.pem
> >>
> >> So it might be worth giving this a try as well, again with openjdk
> 20.0.1
> >
> > sounds promising! :-)
> > Thank you, we will try this.
> >
> >> Kind regards,
> >> Panos
>
> 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

Re: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-28 Thread Klaus major-k via use-livecode
Hi Panos,

I had created a new keystore and PEM file with the shell commands that Gooogle 
support supplied.
Still no joy...

% java -jar pepk.jar --keystore=android_upload2.jks --alias=upload 
--output=output.zip  --rsa-aes-encryption 
--encryption-key-path=upload_certificate2.pem
Enter password for store 'android_upload2.jks':
Enter password for key 'upload':
Error: Unable to export or encrypt the private key
java.security.UnrecoverableKeyException: Get Key failed: Given final block not 
properly padded. Such issues can arise if a bad key is used during decryption.
at 
java.base/sun.security.pkcs12.PKCS12KeyStore.engineGetKey(PKCS12KeyStore.java:454)
at 
java.base/sun.security.util.KeyStoreDelegator.engineGetKey(KeyStoreDelegator.java:93)
at java.base/java.security.KeyStore.getKey(KeyStore.java:1075)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.extractPrivateKey(KeystoreHelper.java:63)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.getPrivateKey(KeystoreHelper.java:35)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:209)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:165)
Caused by: javax.crypto.BadPaddingException: Given final block not properly 
padded. Such issues can arise if a bad key is used during decryption.
at 
java.base/com.sun.crypto.provider.CipherCore.unpad(CipherCore.java:861)
at 
java.base/com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:941)
at 
java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:734)
at 
java.base/com.sun.crypto.provider.PBES2Core.engineDoFinal(PBES2Core.java:310)
at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2244)
at 
java.base/sun.security.pkcs12.PKCS12KeyStore.lambda$engineGetKey$0(PKCS12KeyStore.java:370)
at 
java.base/sun.security.pkcs12.PKCS12KeyStore$RetryWithZero.run(PKCS12KeyStore.java:257)
at 
java.base/sun.security.pkcs12.PKCS12KeyStore.engineGetKey(PKCS12KeyStore.java:361)
... 6 more
---

I will also write a mail to Google support now, maybe they can explain what's 
going wrong.
The tone of their last mails however made me feel that they only take actual 
JAVA developers seriously. :-/

> Am 28.08.2024 um 09:37 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi Panos,
> 
>> Am 28.08.2024 um 09:17 schrieb panagiotis merakos via use-livecode 
>> :
>> 
>> Also, in the screenshot you attached, it looks like the arguments
>> "signing-keystore" and "keystore" expect a different value.
>> 
>> The "keystore" looks like it should be the "android_upload.keystore" you
>> created and used to sign the app in LiveCode. I am not sure what is the
>> "signing-keystore" - were you asked to create one?
>> 
>> Same for the "signing-key-alias" - it looks like it is expected to be
>> different for the "alias" (the latter should be "sehenkey")
>> 
>> I had a look in the terminal command I had issued back then, and it did not
>> include these 2 arguments ("signing-key-alias" and "signing-keystore") - it
>> was just:
>> 
>> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
>> --output=output.zip  --rsa-aes-encryption
>> --encryption-key-path=upload_certificate.pem
>> 
>> So it might be worth giving this a try as well, again with openjdk 20.0.1
> 
> sounds promising! :-)
> Thank you, we will try this.
> 
>> Kind regards,
>> Panos

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: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-28 Thread Curry Kenworthy via use-livecode

Klaus:

> I really need your help, please, deadline is saturday! :-/

It has been almost a couple of years since last Android project;
my current laptop is not set up for it yet. But ...

Panos:

> I vaguely remember I had a similar problem in the past. After
> searching in stackoverflow, it was suggested to use the OpenJDK
> version of Java, rather than the Oracle's one.

I do clearly remember that WHICH Java is absolutely crucial -
including the version number! NOT the newest version, I think.

Beyond that I only 'vaguely remember' like Panos,
but the right combination just works, otherwise futile.

Best wishes,

Curry Kenworthy

Radically Innovative Christian LiveCode Development
"PASSION for Elegant, Efficient Code!"
https://livecodeconsulting.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: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-28 Thread Klaus major-k via use-livecode
Hi Panos,

> Am 28.08.2024 um 09:17 schrieb panagiotis merakos via use-livecode 
> :
> 
> Also, in the screenshot you attached, it looks like the arguments
> "signing-keystore" and "keystore" expect a different value.
> 
> The "keystore" looks like it should be the "android_upload.keystore" you
> created and used to sign the app in LiveCode. I am not sure what is the
> "signing-keystore" - were you asked to create one?
> 
> Same for the "signing-key-alias" - it looks like it is expected to be
> different for the "alias" (the latter should be "sehenkey")
> 
> I had a look in the terminal command I had issued back then, and it did not
> include these 2 arguments ("signing-key-alias" and "signing-keystore") - it
> was just:
> 
> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
> --output=output.zip  --rsa-aes-encryption
> --encryption-key-path=upload_certificate.pem
> 
> So it might be worth giving this a try as well, again with openjdk 20.0.1

sounds promising! :-)
Thank you, we will try this.

> Kind regards,
> Panos

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: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-28 Thread panagiotis merakos via use-livecode
Also, in the screenshot you attached, it looks like the arguments
"signing-keystore" and "keystore" expect a different value.

The "keystore" looks like it should be the "android_upload.keystore" you
created and used to sign the app in LiveCode. I am not sure what is the
"signing-keystore" - were you asked to create one?

Same for the "signing-key-alias" - it looks like it is expected to be
different for the "alias" (the latter should be "sehenkey")

I had a look in the terminal command I had issued back then, and it did not
include these 2 arguments ("signing-key-alias" and "signing-keystore") - it
was just:

java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
--output=output.zip  --rsa-aes-encryption
--encryption-key-path=upload_certificate.pem

So it might be worth giving this a try as well, again with openjdk 20.0.1

Kind regards,
Panos


On Wed, 28 Aug 2024 at 10:02, panagiotis merakos  wrote:

> Hello Klaus,
>
> I vaguelly remember I had a similar problem in the past. After searching
> in stackoverflow, it was suggested to use the OpenJDK version of Java,
> rather than the Oracle's one.
>
> I had used version 20.0.1. I still have the .tar file I downloaded back
> then, it is named "openjdk-20.0.1_macos-x64_bin.tar" - and I think it is
> this one:
>
>
> https://download.java.net/java/GA/jdk20.0.1/b4887098932d415489976708ad6d1a4b/9/GPL/openjdk-20.0.1_macos-x64_bin.tar.gz
>
> So it might be worth giving it a try.
>
> Kind regards,
> Panos
> --
>
> On Wed, 28 Aug 2024 at 09:38, Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hi friends,
>>
>> I really need your help, please, deadline is saturday! :-/
>>
>> If someone who knows (at least a bit of) JAVA, could try this at home
>> see all my steps below, please send me a mail and I will send you the
>> "pepk.jar" file. Not sure if I can post it openly on my server.
>>
>> Many, many thanks in advance!
>>
>>
>> Desparately
>>
>> Klaus
>>
>> > Am 27.08.2024 um 21:52 schrieb Klaus major-k via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >
>> > Correction in the command:
>> > --signing-key-alias=upload-key-alias
>> > needs to be :
>> > --signing-key-alias=sehenkey
>> >
>> > But same errors. :-/
>> >
>> >> Am 27.08.2024 um 21:19 schrieb Klaus major-k via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >>
>> >> Hi Mark,
>> >>
>> >>> Am 27.08.2024 um 14:11 schrieb Mark Waddingham via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >>>
>> >>> On 2024-08-27 13:06, Klaus major-k via use-livecode wrote:
>> 
>> 
>>  java -jar pepk.jar --keystore=android_upload.keystore
>> --alias=sehenkey --output=output.zip
>> signing-keystore=android_upload.keystore
>> --signing-key-alias=upload-key-alias --rsa-aes -encryption
>> --encryption-key-path=upload_certificate.pem
>> >>> There's a missing `--` in front of `signing-keystore` - that's
>> causing the args error:
>>  Error: Unable to parse the input:
>> [--keystore=android_upload.keystore, --alias=sehenkey, --output=output.zip,
>> signing-keystore=android_upload.keystore,
>> --signing-key-alias=upload-key-alias, --rsa-aes, -encryption,
>> --encryption-key-path=upload_certificate.pem]
>>  java.lang.IllegalArgumentException: Invalid argument:
>> signing-keystore=android_upload.keystore
>> >>>
>> >>> Warmest Regards,
>> >>>
>> >>> Mark.
>> >>
>> >> thank you, but that was not it.
>> >>
>> >> Here is what Matthias got with the two --
>> >> 
>> >> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
>> --output=output.zip --signing-keystore=android_upload.keystore
>> --signing-key-alias=upload-key-alias --rsa-aes-encryption
>> --encryption-key-path=upload_certificate.pem
>> > java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
>> --output=output.zip --signing-keystore=android_upload.keystore
>> --signing-key-alias=sehenkey --rsa-aes-encryption
>> --encryption-key-path=upload_certificate.pem
>> >> Enter password for store 'android_upload.keystore':
>> >> Enter password for key 'sehenkey':
>> >> Error: Unable to export or encrypt the private key
>> >> java.security.spec.InvalidKeySpecException:
>> java.security.InvalidKeyException: Unable to decode key
>> >> at
>> java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:241)
>> >> at
>> java.base/java.security.KeyFactory.generatePublic(KeyFactory.java:351)
>> >> at
>> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.readPublicKey(ExportEncryptedPrivateKeyTool.java:309)
>> >> at
>> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.encryptPrivateKeyWithCkmRsaAesKeyWrapEncryption(ExportEncryptedPrivateKeyTool.java:283)
>> >> at
>> com.google.wireless.android.vending.developer.signing.tools.extern.ex

Re: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-28 Thread panagiotis merakos via use-livecode
Hello Klaus,

I vaguelly remember I had a similar problem in the past. After searching in
stackoverflow, it was suggested to use the OpenJDK version of Java, rather
than the Oracle's one.

I had used version 20.0.1. I still have the .tar file I downloaded back
then, it is named "openjdk-20.0.1_macos-x64_bin.tar" - and I think it is
this one:

https://download.java.net/java/GA/jdk20.0.1/b4887098932d415489976708ad6d1a4b/9/GPL/openjdk-20.0.1_macos-x64_bin.tar.gz

So it might be worth giving it a try.

Kind regards,
Panos
--

On Wed, 28 Aug 2024 at 09:38, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi friends,
>
> I really need your help, please, deadline is saturday! :-/
>
> If someone who knows (at least a bit of) JAVA, could try this at home
> see all my steps below, please send me a mail and I will send you the
> "pepk.jar" file. Not sure if I can post it openly on my server.
>
> Many, many thanks in advance!
>
>
> Desparately
>
> Klaus
>
> > Am 27.08.2024 um 21:52 schrieb Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Correction in the command:
> > --signing-key-alias=upload-key-alias
> > needs to be :
> > --signing-key-alias=sehenkey
> >
> > But same errors. :-/
> >
> >> Am 27.08.2024 um 21:19 schrieb Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> Hi Mark,
> >>
> >>> Am 27.08.2024 um 14:11 schrieb Mark Waddingham via use-livecode <
> use-livecode@lists.runrev.com>:
> >>>
> >>> On 2024-08-27 13:06, Klaus major-k via use-livecode wrote:
> 
> 
>  java -jar pepk.jar --keystore=android_upload.keystore
> --alias=sehenkey --output=output.zip
> signing-keystore=android_upload.keystore
> --signing-key-alias=upload-key-alias --rsa-aes -encryption
> --encryption-key-path=upload_certificate.pem
> >>> There's a missing `--` in front of `signing-keystore` - that's causing
> the args error:
>  Error: Unable to parse the input:
> [--keystore=android_upload.keystore, --alias=sehenkey, --output=output.zip,
> signing-keystore=android_upload.keystore,
> --signing-key-alias=upload-key-alias, --rsa-aes, -encryption,
> --encryption-key-path=upload_certificate.pem]
>  java.lang.IllegalArgumentException: Invalid argument:
> signing-keystore=android_upload.keystore
> >>>
> >>> Warmest Regards,
> >>>
> >>> Mark.
> >>
> >> thank you, but that was not it.
> >>
> >> Here is what Matthias got with the two --
> >> 
> >> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
> --output=output.zip --signing-keystore=android_upload.keystore
> --signing-key-alias=upload-key-alias --rsa-aes-encryption
> --encryption-key-path=upload_certificate.pem
> > java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey
> --output=output.zip --signing-keystore=android_upload.keystore
> --signing-key-alias=sehenkey --rsa-aes-encryption
> --encryption-key-path=upload_certificate.pem
> >> Enter password for store 'android_upload.keystore':
> >> Enter password for key 'sehenkey':
> >> Error: Unable to export or encrypt the private key
> >> java.security.spec.InvalidKeySpecException:
> java.security.InvalidKeyException: Unable to decode key
> >> at
> java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:241)
> >> at
> java.base/java.security.KeyFactory.generatePublic(KeyFactory.java:351)
> >> at
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.readPublicKey(ExportEncryptedPrivateKeyTool.java:309)
> >> at
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.encryptPrivateKeyWithCkmRsaAesKeyWrapEncryption(ExportEncryptedPrivateKeyTool.java:283)
> >> at
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:213)
> >> at
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:165)
> >> Caused by: java.security.InvalidKeyException: Unable to decode key
> >> at java.base/sun.security.x509.X509Key.decode(X509Key.java:368)
> >> at java.base/sun.security.x509.X509Key.decode(X509Key.java:374)
> >> at
> java.base/sun.security.rsa.RSAPublicKeyImpl.(RSAPublicKeyImpl.java:148)
> >> at
> java.base/sun.security.rsa.RSAPublicKeyImpl.newKey(RSAPublicKeyImpl.java:80)
> >> at
> java.base/sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:324)
> >> at
> java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:237)
> >> ... 5 more
> >> Caused by: java.io.IOException: DerValue.getOID, not an OID 2
> >> at java.base/sun.security.util.DerValue.getOID(DerValue.java:552)
> >> at
> java.base/sun.security.util.DerInputStream.getOID(DerInputStream.java:165)
> >> at j

Re: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-27 Thread Klaus major-k via use-livecode
Hi friends,

I really need your help, please, deadline is saturday! :-/

If someone who knows (at least a bit of) JAVA, could try this at home
see all my steps below, please send me a mail and I will send you the
"pepk.jar" file. Not sure if I can post it openly on my server.

Many, many thanks in advance!


Desparately

Klaus

> Am 27.08.2024 um 21:52 schrieb Klaus major-k via use-livecode 
> :
> 
> Correction in the command:
> --signing-key-alias=upload-key-alias
> needs to be :
> --signing-key-alias=sehenkey
> 
> But same errors. :-/
> 
>> Am 27.08.2024 um 21:19 schrieb Klaus major-k via use-livecode 
>> :
>> 
>> Hi Mark,
>> 
>>> Am 27.08.2024 um 14:11 schrieb Mark Waddingham via use-livecode 
>>> :
>>> 
>>> On 2024-08-27 13:06, Klaus major-k via use-livecode wrote:
 
 java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
 --output=output.zip signing-keystore=android_upload.keystore 
 --signing-key-alias=upload-key-alias --rsa-aes -encryption 
 --encryption-key-path=upload_certificate.pem
>>> There's a missing `--` in front of `signing-keystore` - that's causing the 
>>> args error:
 Error: Unable to parse the input: [--keystore=android_upload.keystore, 
 --alias=sehenkey, --output=output.zip, 
 signing-keystore=android_upload.keystore, 
 --signing-key-alias=upload-key-alias, --rsa-aes, -encryption, 
 --encryption-key-path=upload_certificate.pem]
 java.lang.IllegalArgumentException: Invalid argument: 
 signing-keystore=android_upload.keystore
>>> 
>>> Warmest Regards,
>>> 
>>> Mark.
>> 
>> thank you, but that was not it.
>> 
>> Here is what Matthias got with the two --
>> 
>> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
>> --output=output.zip --signing-keystore=android_upload.keystore 
>> --signing-key-alias=upload-key-alias --rsa-aes-encryption 
>> --encryption-key-path=upload_certificate.pem
> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
> --output=output.zip --signing-keystore=android_upload.keystore 
> --signing-key-alias=sehenkey --rsa-aes-encryption 
> --encryption-key-path=upload_certificate.pem
>> Enter password for store 'android_upload.keystore':
>> Enter password for key 'sehenkey':
>> Error: Unable to export or encrypt the private key
>> java.security.spec.InvalidKeySpecException: 
>> java.security.InvalidKeyException: Unable to decode key
>> at 
>> java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:241)
>> at java.base/java.security.KeyFactory.generatePublic(KeyFactory.java:351)
>> at 
>> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.readPublicKey(ExportEncryptedPrivateKeyTool.java:309)
>> at 
>> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.encryptPrivateKeyWithCkmRsaAesKeyWrapEncryption(ExportEncryptedPrivateKeyTool.java:283)
>> at 
>> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:213)
>> at 
>> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:165)
>> Caused by: java.security.InvalidKeyException: Unable to decode key
>> at java.base/sun.security.x509.X509Key.decode(X509Key.java:368)
>> at java.base/sun.security.x509.X509Key.decode(X509Key.java:374)
>> at 
>> java.base/sun.security.rsa.RSAPublicKeyImpl.(RSAPublicKeyImpl.java:148)
>> at 
>> java.base/sun.security.rsa.RSAPublicKeyImpl.newKey(RSAPublicKeyImpl.java:80)
>> at 
>> java.base/sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:324)
>> at 
>> java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:237)
>> ... 5 more
>> Caused by: java.io.IOException: DerValue.getOID, not an OID 2
>> at java.base/sun.security.util.DerValue.getOID(DerValue.java:552)
>> at java.base/sun.security.util.DerInputStream.getOID(DerInputStream.java:165)
>> at java.base/sun.security.x509.AlgorithmId.parse(AlgorithmId.java:398)
>> at java.base/sun.security.x509.X509Key.decode(X509Key.java:361)
>> ... 10 more
>> 
>> :-(
>> 
>> Any ideas?
>> 
>> 
>> 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
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> _

Re: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-27 Thread Klaus major-k via use-livecode
Correction in the command:
--signing-key-alias=upload-key-alias
needs to be :
--signing-key-alias=sehenkey

But same errors. :-/

> Am 27.08.2024 um 21:19 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi Mark,
> 
>> Am 27.08.2024 um 14:11 schrieb Mark Waddingham via use-livecode 
>> :
>> 
>> On 2024-08-27 13:06, Klaus major-k via use-livecode wrote:
>>> 
>>> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
>>> --output=output.zip signing-keystore=android_upload.keystore 
>>> --signing-key-alias=upload-key-alias --rsa-aes -encryption 
>>> --encryption-key-path=upload_certificate.pem
>> There's a missing `--` in front of `signing-keystore` - that's causing the 
>> args error:
>>> Error: Unable to parse the input: [--keystore=android_upload.keystore, 
>>> --alias=sehenkey, --output=output.zip, 
>>> signing-keystore=android_upload.keystore, 
>>> --signing-key-alias=upload-key-alias, --rsa-aes, -encryption, 
>>> --encryption-key-path=upload_certificate.pem]
>>> java.lang.IllegalArgumentException: Invalid argument: 
>>> signing-keystore=android_upload.keystore
>> 
>> Warmest Regards,
>> 
>> Mark.
> 
> thank you, but that was not it.
> 
> Here is what Matthias got with the two --
> 
> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
> --output=output.zip --signing-keystore=android_upload.keystore 
> --signing-key-alias=upload-key-alias --rsa-aes-encryption 
> --encryption-key-path=upload_certificate.pem
java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
--output=output.zip --signing-keystore=android_upload.keystore 
--signing-key-alias=sehenkey --rsa-aes-encryption 
--encryption-key-path=upload_certificate.pem
> Enter password for store 'android_upload.keystore':
> Enter password for key 'sehenkey':
> Error: Unable to export or encrypt the private key
> java.security.spec.InvalidKeySpecException: 
> java.security.InvalidKeyException: Unable to decode key
> at 
> java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:241)
> at java.base/java.security.KeyFactory.generatePublic(KeyFactory.java:351)
> at 
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.readPublicKey(ExportEncryptedPrivateKeyTool.java:309)
> at 
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.encryptPrivateKeyWithCkmRsaAesKeyWrapEncryption(ExportEncryptedPrivateKeyTool.java:283)
> at 
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:213)
> at 
> com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:165)
> Caused by: java.security.InvalidKeyException: Unable to decode key
> at java.base/sun.security.x509.X509Key.decode(X509Key.java:368)
> at java.base/sun.security.x509.X509Key.decode(X509Key.java:374)
> at 
> java.base/sun.security.rsa.RSAPublicKeyImpl.(RSAPublicKeyImpl.java:148)
> at 
> java.base/sun.security.rsa.RSAPublicKeyImpl.newKey(RSAPublicKeyImpl.java:80)
> at 
> java.base/sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:324)
> at 
> java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:237)
> ... 5 more
> Caused by: java.io.IOException: DerValue.getOID, not an OID 2
> at java.base/sun.security.util.DerValue.getOID(DerValue.java:552)
> at java.base/sun.security.util.DerInputStream.getOID(DerInputStream.java:165)
> at java.base/sun.security.x509.AlgorithmId.parse(AlgorithmId.java:398)
> at java.base/sun.security.x509.X509Key.decode(X509Key.java:361)
> ... 10 more
> 
> :-(
> 
> Any ideas?
> 
> 
> 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

--
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: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-27 Thread Klaus major-k via use-livecode
Hi Mark,

> Am 27.08.2024 um 14:11 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2024-08-27 13:06, Klaus major-k via use-livecode wrote:
>> 
>> java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
>> --output=output.zip signing-keystore=android_upload.keystore 
>> --signing-key-alias=upload-key-alias --rsa-aes -encryption 
>> --encryption-key-path=upload_certificate.pem
> There's a missing `--` in front of `signing-keystore` - that's causing the 
> args error:
>> Error: Unable to parse the input: [--keystore=android_upload.keystore, 
>> --alias=sehenkey, --output=output.zip, 
>> signing-keystore=android_upload.keystore, 
>> --signing-key-alias=upload-key-alias, --rsa-aes, -encryption, 
>> --encryption-key-path=upload_certificate.pem]
>> java.lang.IllegalArgumentException: Invalid argument: 
>> signing-keystore=android_upload.keystore
> 
> Warmest Regards,
> 
> Mark.

thank you, but that was not it.

Here is what Matthias got with the two --

 java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
--output=output.zip --signing-keystore=android_upload.keystore 
--signing-key-alias=upload-key-alias --rsa-aes-encryption 
--encryption-key-path=upload_certificate.pem
Enter password for store 'android_upload.keystore':
Enter password for key 'sehenkey':
Error: Unable to export or encrypt the private key
java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: 
Unable to decode key
at 
java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:241)
at java.base/java.security.KeyFactory.generatePublic(KeyFactory.java:351)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.readPublicKey(ExportEncryptedPrivateKeyTool.java:309)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.encryptPrivateKeyWithCkmRsaAesKeyWrapEncryption(ExportEncryptedPrivateKeyTool.java:283)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:213)
at 
com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:165)
Caused by: java.security.InvalidKeyException: Unable to decode key
at java.base/sun.security.x509.X509Key.decode(X509Key.java:368)
at java.base/sun.security.x509.X509Key.decode(X509Key.java:374)
at java.base/sun.security.rsa.RSAPublicKeyImpl.(RSAPublicKeyImpl.java:148)
at java.base/sun.security.rsa.RSAPublicKeyImpl.newKey(RSAPublicKeyImpl.java:80)
at 
java.base/sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:324)
at 
java.base/sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:237)
... 5 more
Caused by: java.io.IOException: DerValue.getOID, not an OID 2
at java.base/sun.security.util.DerValue.getOID(DerValue.java:552)
at java.base/sun.security.util.DerInputStream.getOID(DerInputStream.java:165)
at java.base/sun.security.x509.AlgorithmId.parse(AlgorithmId.java:398)
at java.base/sun.security.x509.X509Key.decode(X509Key.java:361)
... 10 more

:-(

Any ideas?


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: Still problems with creating the neccessary file for keystore reset (Lengthy mail)

2024-08-27 Thread Mark Waddingham via use-livecode

On 2024-08-27 13:06, Klaus major-k via use-livecode wrote:


 java -jar pepk.jar --keystore=android_upload.keystore --alias=sehenkey 
--output=output.zip signing-keystore=android_upload.keystore 
--signing-key-alias=upload-key-alias --rsa-aes -encryption 
--encryption-key-path=upload_certificate.pem


There's a missing `--` in front of `signing-keystore` - that's causing 
the args error:


Error: Unable to parse the input: [--keystore=android_upload.keystore, 
--alias=sehenkey, --output=output.zip, 
signing-keystore=android_upload.keystore, 
--signing-key-alias=upload-key-alias, --rsa-aes, -encryption, 
--encryption-key-path=upload_certificate.pem]
java.lang.IllegalArgumentException: Invalid argument: 
signing-keystore=android_upload.keystore


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Build Amazing Things

___
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: Error creating Android Standalone

2024-08-26 Thread matthias rebbe via use-livecode
Thanks Panos!

Regards,
Matthias


> Am 26.08.2024 um 18:47 schrieb panagiotis merakos via use-livecode 
> :
> 
> In the IDE, in the mobile prefs, there is an invisible button (I think it
> is called "chooseJDK" or such - I am not in the office now) that allows you
> to manually choose the desired JDK path. That way we could have both JDK v8
> (required by LC) and newer ones installed.
> 
> I am not sure why this button is hidden though - but you could make it
> visible by doing in the msg box:
> 
> set the visible of button "chooseJDK" of card "mobile support" of stack
> "revPreferencesGUI" to true
> 
> Kind regards,
> Panos
> --
> 
> On Mon, 26 Aug 2024 at 18:30, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> +1
>> 
>>> Am 26.08.2024 um 17:25 schrieb Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com>:
>>> 
>>> Every entity is trying to solve their own subset of problems. The real
>> question is, why has the industry seemingly abandoned the concept of,
>> “backwards compatible”? It seems nowadays that we are all expected; no
>> required to upgrade to the latest greatest, irrespective of the catch 22’s
>> like yours that will inevitably result.
>>> 
>>> That being said, I wonder that there is no a command to tell terminal or
>> Livecode which version of the engine you want to work with.
>>> 
>>> Bob S
>>> 
>>> 
>>> On Aug 26, 2024, at 5:32 AM, Klaus major-k via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Why is this all so damn difficult and complicated? :-/
>>> 
>>> 
>>> ___
>>> 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: Error creating Android Standalone

2024-08-26 Thread panagiotis merakos via use-livecode
In the IDE, in the mobile prefs, there is an invisible button (I think it
is called "chooseJDK" or such - I am not in the office now) that allows you
to manually choose the desired JDK path. That way we could have both JDK v8
(required by LC) and newer ones installed.

I am not sure why this button is hidden though - but you could make it
visible by doing in the msg box:

set the visible of button "chooseJDK" of card "mobile support" of stack
"revPreferencesGUI" to true

Kind regards,
Panos
--

On Mon, 26 Aug 2024 at 18:30, matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> +1
>
> > Am 26.08.2024 um 17:25 schrieb Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Every entity is trying to solve their own subset of problems. The real
> question is, why has the industry seemingly abandoned the concept of,
> “backwards compatible”? It seems nowadays that we are all expected; no
> required to upgrade to the latest greatest, irrespective of the catch 22’s
> like yours that will inevitably result.
> >
> > That being said, I wonder that there is no a command to tell terminal or
> Livecode which version of the engine you want to work with.
> >
> > Bob S
> >
> >
> > On Aug 26, 2024, at 5:32 AM, Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Why is this all so damn difficult and complicated? :-/
> >
> >
> > ___
> > 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: Error creating Android Standalone

2024-08-26 Thread matthias rebbe via use-livecode
+1

> Am 26.08.2024 um 17:25 schrieb Bob Sneidar via use-livecode 
> :
> 
> Every entity is trying to solve their own subset of problems. The real 
> question is, why has the industry seemingly abandoned the concept of, 
> “backwards compatible”? It seems nowadays that we are all expected; no 
> required to upgrade to the latest greatest, irrespective of the catch 22’s 
> like yours that will inevitably result.
> 
> That being said, I wonder that there is no a command to tell terminal or 
> Livecode which version of the engine you want to work with.
> 
> Bob S
> 
> 
> On Aug 26, 2024, at 5:32 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Why is this all so damn difficult and complicated? :-/
> 
> 
> ___
> 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: Error creating Android Standalone

2024-08-26 Thread Bob Sneidar via use-livecode
Every entity is trying to solve their own subset of problems. The real question 
is, why has the industry seemingly abandoned the concept of, “backwards 
compatible”? It seems nowadays that we are all expected; no required to upgrade 
to the latest greatest, irrespective of the catch 22’s like yours that will 
inevitably result.

That being said, I wonder that there is no a command to tell terminal or 
Livecode which version of the engine you want to work with.

Bob S


On Aug 26, 2024, at 5:32 AM, Klaus major-k via use-livecode 
 wrote:

Why is this all so damn difficult and complicated? :-/


___
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: Error creating Android Standalone

2024-08-26 Thread Klaus major-k via use-livecode
Hi all,

> Am 26.08.2024 um 12:43 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hello Klaus,
> 
> What is your installed version of the *build-tools*? LiveCode expects
> *only* version 31.0.0.
> 
> You can find the installed version here - you should have a subfolder named
> "31.0.0" here:
> /Users//Library/Android/sdk/build-tools/
> If you have any newer version installed too, you have to remove it.

for your interest:
I found that "Android Studio" automatically installs "buid tools 34" without 
asking
when I create a new adaptive icon there, did not find a setting to stop this.

So I always need to remove this again before creating a runtime in LC...

> Kind regards,
> Panos
> --

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: Error creating Android Standalone

2024-08-26 Thread Klaus major-k via use-livecode
Hi Panos,

> Am 26.08.2024 um 14:49 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hello Klaus,
> 
> *> Is this:> ...>
> --encryption-key-path=/path/to/your/encryption_public_key.pem> The PEM file
> I already created?*
> 
> Yes this is it.

aha, I guessed, thank you!

Google could be a TAD more specific in my opinion.
Not everyone is a knowing JAVA developer.

> *> And i don't even have a folder Java in /Library/*
> 
> This is not possible! Note that I am referring to the system Library folder
> (i.e. /Library/) - not the user's Library folder (i.e. not
> /Users//Library/)

Oops, yes sorry.

> Since java -version returns java version "1.8.0_311" it means you have a
> folder named "jdk1.8.0_311.jdk" in /Library/Java/JavaVirtualMachines/

Yep, I have this folder in JavaVirtualMachines: jdk1.8.0_281.jdk

> Kind regards,
> Panos
> --

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: Error creating Android Standalone

2024-08-26 Thread panagiotis merakos via use-livecode
Hello Klaus,




*> Is this:> ...>
--encryption-key-path=/path/to/your/encryption_public_key.pem> The PEM file
I already created?*

Yes this is it.

*> And i don't even have a folder Java in /Library/*

This is not possible! Note that I am referring to the system Library folder
(i.e. /Library/) - not the user's Library folder (i.e. not
/Users//Library/)

Since java -version returns java version "1.8.0_311" it means you have a
folder named "jdk1.8.0_311.jdk" in /Library/Java/JavaVirtualMachines/

Kind regards,
Panos
--

On Mon, 26 Aug 2024 at 15:33, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Panos,
>
> thank you, will try this!
>
> java -version gives me:
> -
> java version "1.8.0_311"
> Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.311-b11, mixed mode)
>
> And i don't even have a folder Java in /Library/
>
> Question:
> 
> > java -jar pepk.jar --keystore=foo --alias=foo --output=output.zip
> > --rsa-aes-encryption
> > --encryption-key-path=/path/to/your/encryption_public_key.pem
> -
> Is this:
>
> > ...
> > --encryption-key-path=/path/to/your/encryption_public_key.pem
>
> The PEM file I already created?
>
> Why is this all so damn difficult and complicated? :-/
>
> > Am 26.08.2024 um 14:19 schrieb panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hello Klaus,
> >
> > Ok I see.
> >
> > Yes, so it seems you need to install a newer JDK version to work with the
> > terminal. So you need to do some JDK "dance":
> >
> >
> > - Download and install a newer (version >= 20.x) version of the Java JDK
> > - Verify it is installed correctly, by checking in
> > /Library/Java/JavaVirtualMachines/ - you should see a subfolder named
> e.g.
> > "jdk-20.0.1.jdk" there.
> >
> > - In the Terminal, navigate (using cd) to the folder containing your
> > resources (pepk.jar, foo.keystore)
> > - Try the terminal command now:
> >
> > java -jar pepk.jar --keystore=foo --alias=foo --output=output.zip
> > --rsa-aes-encryption
> > --encryption-key-path=/path/to/your/encryption_public_key.pem
> >
> > If the command is successful, you should see a file "output.zip" in that
> > folder, which you have to upload to the Play Store
> >
> > Note: To verify that the Terminal will indeed use the new jdk version
> > rather than the "old" v8 one, you can do in the Terminal:
> >
> > java -version
> >
> > If this still returns v8, thn try to temporarily remove v8 from
> > /Library/Java/JavaVirtualMachines/ and put it back once the terminal
> > command succeeds.
> >
> > Hope this helps.
> >
> > Kind regards,
> > Panos
>
> 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: Error creating Android Standalone

2024-08-26 Thread Klaus major-k via use-livecode
Hi Panos,

thank you, will try this!

java -version gives me:
-
java version "1.8.0_311"
Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.311-b11, mixed mode)

And i don't even have a folder Java in /Library/

Question:

> java -jar pepk.jar --keystore=foo --alias=foo --output=output.zip
> --rsa-aes-encryption
> --encryption-key-path=/path/to/your/encryption_public_key.pem
-
Is this:

> ...
> --encryption-key-path=/path/to/your/encryption_public_key.pem

The PEM file I already created?

Why is this all so damn difficult and complicated? :-/

> Am 26.08.2024 um 14:19 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hello Klaus,
> 
> Ok I see.
> 
> Yes, so it seems you need to install a newer JDK version to work with the
> terminal. So you need to do some JDK "dance":
> 
> 
> - Download and install a newer (version >= 20.x) version of the Java JDK
> - Verify it is installed correctly, by checking in
> /Library/Java/JavaVirtualMachines/ - you should see a subfolder named e.g.
> "jdk-20.0.1.jdk" there.
> 
> - In the Terminal, navigate (using cd) to the folder containing your
> resources (pepk.jar, foo.keystore)
> - Try the terminal command now:
> 
> java -jar pepk.jar --keystore=foo --alias=foo --output=output.zip
> --rsa-aes-encryption
> --encryption-key-path=/path/to/your/encryption_public_key.pem
> 
> If the command is successful, you should see a file "output.zip" in that
> folder, which you have to upload to the Play Store
> 
> Note: To verify that the Terminal will indeed use the new jdk version
> rather than the "old" v8 one, you can do in the Terminal:
> 
> java -version
> 
> If this still returns v8, thn try to temporarily remove v8 from
> /Library/Java/JavaVirtualMachines/ and put it back once the terminal
> command succeeds.
> 
> Hope this helps.
> 
> Kind regards,
> Panos

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: Error creating Android Standalone

2024-08-26 Thread panagiotis merakos via use-livecode
Hello Klaus,

Ok I see.

Yes, so it seems you need to install a newer JDK version to work with the
terminal. So you need to do some JDK "dance":


- Download and install a newer (version >= 20.x) version of the Java JDK
- Verify it is installed correctly, by checking in
/Library/Java/JavaVirtualMachines/ - you should see a subfolder named e.g.
"jdk-20.0.1.jdk" there.

- In the Terminal, navigate (using cd) to the folder containing your
resources (pepk.jar, foo.keystore)
- Try the terminal command now:

java -jar pepk.jar --keystore=foo --alias=foo --output=output.zip
--rsa-aes-encryption
--encryption-key-path=/path/to/your/encryption_public_key.pem

If the command is successful, you should see a file "output.zip" in that
folder, which you have to upload to the Play Store

Note: To verify that the Terminal will indeed use the new jdk version
rather than the "old" v8 one, you can do in the Terminal:

java -version

If this still returns v8, thn try to temporarily remove v8 from
/Library/Java/JavaVirtualMachines/ and put it back once the terminal
command succeeds.

Hope this helps.

Kind regards,
Panos
--
___
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: Error creating Android Standalone

2024-08-26 Thread Klaus major-k via use-livecode
Hi Panos,

> Am 26.08.2024 um 13:50 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hello Klaus,
> 
> Hmm, I do not see anything from 13:25 - could you paste it here?

Sure:

More specific infos:
I need Google to reset my upload keystore file, you may remember, it was about 
two weeks ago.
Hint: Only the OWNER of the developer account has permission to request a key 
reset!

I was able to create the new keystore and PEM file as Google suggested:
-
1.• Follow the instructions in the Android Studio Help Center to generate a 
new key. It must be different from any previous keys, be a 2048-bit RSA key, 
and have 25-year validity. Alternatively, you can use the following command 
line to generate a new key:
  • keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 
9125 -keystore keystore.jks
2.• Export the certificate for that key to PEM format:
  • keytool -export -rfc -alias upload -file upload_certificate.pem 
-keystore keystore.jks
3.• Once you have generated a PEM file please follow the steps below:
  • Go to Setup > App integrity > App Signing.
  • Request Upload key reset.
  • Give a reason why you’re requesting a key reset.
  • Enter PEM file.
  • Click Request.
--
But on the Google Play Console page for "App singning" Google will not accept 
the above mentioned (and proposed) PEM file in #3!
I need to download a "pepk.jar" file and use the terninal with this command (as 
seen 4 days ago on that page):
-
$ java -jar pepk.jar --keystore=foo.keystore --alias=foo --output=output.zip 
signing-keystore=uploadkey.keystore --signing-key-alias=upload-key-alias 
--rsa-aes - encryption --encryption-key-path=/path/to/encryption_public_key.pem

And then I get the errors below.
is the "pepk.jar" the problem and not compatible with my JAVA installation?

Strangely Matthias Rebbe saw this command on the "App singing" page YESTERDAY:
-
java -jar pepk.jar --keystore=foo.keystore --alias=foo --output=output.zip 
--include-cert --rsa-aes-encryption 
--encryption-key-path=/path/to/encryption_public_key.pem

???

Both commands do not seem to work, I am completely lost and I don't even know 
where in the commands I need to put MY data in.
OK -> --keysore=##name of my keystore file## 8-)

Please can someone knowing give me some very good advice?
Android deadline (API 34) is this saturday, sigh... :-/


> Thanks,
> Panos
> 
> On Mon, 26 Aug 2024 at 14:38, Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi Panos,
>> 
>>> Am 26.08.2024 um 13:19 schrieb panagiotis merakos via use-livecode <
>> use-livecode@lists.runrev.com>:
>>> 
>>> Hello Klaus,
>>> 
>>> Hmm, it might be the case the terminal needs a newer Java version than
>> the
>>> one LiveCode expects. LiveCode expects v8.
>>> What Java command do you want to execute in the terminal?
>> 
>> see my mail from 13:25 with more info.
>> 
>>> Kind regards,
>>> Panos
>> 
>> 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: Error creating Android Standalone

2024-08-26 Thread panagiotis merakos via use-livecode
Hello Klaus,

Hmm, I do not see anything from 13:25 - could you paste it here?

Thanks,
Panos


On Mon, 26 Aug 2024 at 14:38, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Panos,
>
> > Am 26.08.2024 um 13:19 schrieb panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hello Klaus,
> >
> > Hmm, it might be the case the terminal needs a newer Java version than
> the
> > one LiveCode expects. LiveCode expects v8.
> > What Java command do you want to execute in the terminal?
>
> see my mail from 13:25 with more info.
>
> > Kind regards,
> > Panos
>
> 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: Error creating Android Standalone

2024-08-26 Thread Klaus major-k via use-livecode
Hi Panos,

> Am 26.08.2024 um 13:19 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hello Klaus,
> 
> Hmm, it might be the case the terminal needs a newer Java version than the
> one LiveCode expects. LiveCode expects v8.
> What Java command do you want to execute in the terminal?

see my mail from 13:25 with more info.

> Kind regards,
> Panos

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: Error creating Android Standalone

2024-08-26 Thread panagiotis merakos via use-livecode
Hello Klaus,

Hmm, it might be the case the terminal needs a newer Java version than the
one LiveCode expects. LiveCode expects v8.

What Java command do you want to execute in the terminal?

Kind regards,
Panos


On Mon, 26 Aug 2024 at 14:06, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Panos,
>
> creating Anddroid runtimes now works with LC, however when
> using the macOS Terminal for a JAVA command, I still get these errors:
> ---
> Error: A JNI error has occurred, please check your installation and try
> again
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> com/google/wireless/android/vending/developer/signing/tools/extern/export/ExportEncryptedPrivateKeyTool
> has been compiled by a more recent version of the Java Runtime (class file
> version 55.0), this version of the Java Runtime only recognizes class file
> versions up to 52.0
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
> at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)
> ---
> What is still wrong?
>
>
> 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: Error creating Android Standalone

2024-08-26 Thread Klaus major-k via use-livecode
Hi Panos,

creating Anddroid runtimes now works with LC, however when 
using the macOS Terminal for a JAVA command, I still get these errors:
---
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
com/google/wireless/android/vending/developer/signing/tools/extern/export/ExportEncryptedPrivateKeyTool
 has been compiled by a more recent version of the Java Runtime (class file 
version 55.0), this version of the Java Runtime only recognizes class file 
versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)
---
What is still wrong?


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: Error creating Android Standalone

2024-08-26 Thread Klaus major-k via use-livecode
Hello Panos,

> Am 26.08.2024 um 12:43 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hello Klaus,
> 
> What is your installed version of the *build-tools*? LiveCode expects
> *only* version 31.0.0.
> You can find the installed version here - you should have a subfolder named
> "31.0.0" here:
> /Users//Library/Android/sdk/build-tools/
> If you have any newer version installed too, you have to remove it.
> 
> Kind regards,
> Panos

YES, that was it, I also had build tools 34 installed.
Thank you very much! :-)


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: Error creating Android Standalone

2024-08-26 Thread panagiotis merakos via use-livecode
Hello Klaus,

What is your installed version of the *build-tools*? LiveCode expects
*only* version 31.0.0.

You can find the installed version here - you should have a subfolder named
"31.0.0" here:

/Users//Library/Android/sdk/build-tools/

If you have any newer version installed too, you have to remove it.

Kind regards,
Panos
--
___
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: Error creating Android Standalone

2024-08-26 Thread Klaus major-k via use-livecode
Hi all,

I get the same error in the macOS Terminal when trying to execute a JAVA 
command.
Something is not (yet) installed on my machine!? Question is: what is it?

Please help, thank you!

> Am 23.08.2024 um 11:55 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi friends,
> 
> I get an error when creating an Android runtime:
> --
> There was an error while saving the standalone application could not encode 
> class bundle - error:
> Error: AJNI error has occurred, please check your installation and try again 
> Exception in thread "main" java.lang. UnsupportedClassVersionError:
> com/android/tools/r8/D8 has been compiled by a more recent version of the 
> Java Runtime (class file version 55.0), this version of the Java Runtime only 
> recognizes class file versions up to 52.0
> at java.lang.ClassLoader.defineClass 1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
> at java.security.AccessController.doPrivileged(Native Method) at 
> java.net.URLClassLoader.findClass(URLClassLoader.java:362)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
> at sun.misc.LauncherSAppClassLoader.loadClass(Launcher.java:355)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
> at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)
> -

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: How to check if a group contains a specific control ?

2024-08-25 Thread Curry Kenworthy via use-livecode

jbv:

> Is there a quick way to check if a group contains a specific control,
> something like : if there is a fld "xyz" in grp "abc" of this cd
> I tried many things but it always generates an error.

Here is an easy and elegant way - almost what you started with!
The key is 'of' versus 'in'. They are not quite the same.

Try this - tested Win/Mac, LC 9.6:

if there is a field "xyz" of group "abc" of this card then answer "xyz"
put there is a field "xyz" of group "abc" of this card & cr after t

For objects/controls, 'of' is the correct syntax.
But 'in' is mainly used for text. Not a safe substitute here!

(The Message Box may just ignore everything after 'in' -
testing only for a field "xyz". That can confuse about 'of' and 'in'.)

The Script Editor will actually error, since 'in' is unexpected.

Happy coding...

Curry Kenworthy

Radically Innovative Christian LiveCode Development
"PASSION for Elegant, Efficient Code!"
https://livecodeconsulting.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: Bowing Out

2024-08-25 Thread Curry Kenworthy via use-livecode

Graham:

> but really its goodbye and thanks for all the fish.

Much love/respect, appreciation, and an extra-special fish -

Keep in touch on/off-list.

Best wishes,

Curry Kenworthy

Radically Innovative Christian LiveCode Development
"PASSION for Elegant, Efficient Code!"
https://livecodeconsulting.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: How to check if a group contains a specific control ?

2024-08-24 Thread Dick Kriesel via use-livecode
yet another alternative:

if the long id of  ends with the long id of  then …

this catches controls whose ownership includes intervening grouping between 
your control and your group

— Dick

> On Aug 23, 2024, at 5:48 AM, Brian Milby via use-livecode 
>  wrote:
> 
> Another alternative.
> 
> If the short id of fld "xyz" is among the lines of the childcontrolids of 
> group "abc" then …
> 
> This one should work as long as there is only one field with that name on the 
> card (tried from message box).
> 
> Brian Milby
> br...@milby7.com
> 
>> On Aug 23, 2024, at 8:05 AM, Paul Dupuis via use-livecode 
>>  wrote:
>> 
>> On 8/23/2024 7:45 AM, Klaus major-k via use-livecode wrote:
>>> Hi jbv,
>>> 
> Am 23.08.2024 um 13:27 schrieb jbv via use-livecode 
> :
 
 Hi list,
 
 Is there a quick way to check if a group contains a specific control,
 something like :
 if there is a fld "xyz" in grp "abc" of this cd
 I tried many things but it always generates an error.
 So far, the only way I can think of is to maintain a custom prop
 for each group, featuring a string that is the list of all controls
 names of the group.
>>> if you don't have any other controls with the same name,
>>> you could check:
>>> -> lineoffset("xyz",the childcontrolnames of grp "abc")
>>> 
>> 
>> or, if you prefer:
>> 
>> if "xyz" is among the lines of the childcontrolnames of group "abc" then
>> 
>> NOTE: As mentioned, "xyz" would need to be a unique name for control in the 
>> group. If you have a field "xyz" and a button "xyz" (or 2 buttons or 2 or 
>> more fields with the same name, etc.) this is not accurate.
>> 
>> 
>> ___
>> 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: Bowing Out

2024-08-23 Thread Christer Pyyhtiä via use-livecode
Thank you for telling of your views.

How’s about sharing the experiences?

Now which were the great inventions you made in creating your apps with LC? 
What were the biggest obstacles? What creations what you made were getting the 
best appreciations by your customers? Were there any problems you were no able 
to overcome in making your app where you wanted it to be?

Were you able to first write specs for the job and find out it was easier / 
more difficult to code with LC?

I could continue this, but what was the most difficult getting it done with LC?

Just to add here, as in any coding problem, in my mind it sometimes took too 
many rounds to get there, making it frustrating. Yet, with LC, the coding was 
so intuitive, I nearly could just write the spec, and get it running. And now 
there is an amount of ready coded / automatically rewritable blocks with Create 
- maybe beating your own blocks.

Let me know.


Christer Pyyhtiä
christe...@gmail.com



> On 23. Aug 2024, at 22.37, Jeff Reynolds via use-livecode 
>  wrote:
> 
> Graham,
> 
> I was going to send a similar post for myself, but yours is so spot on for me 
> as well along with the fish, I’ll just say me too.
> 
> 7x6
> 
> Jeff 
> 
>> On Aug 23, 2024, at 12:02 PM, use-livecode-requ...@lists.runrev.com wrote:
>> 
>> Just a quick note to say that after many years of using LiveCode (including 
>> its predecessors) and doing some modest development - some of which was 
>> successfully sold to real users - I?ve decided that for me time?s up. This 
>> is because of seniority (as someone recently put it - I?m old!) and the 
>> feeling that at my time of life I can?t productively invest time or money in 
>> learning about Create and the whole direction of the LC technology. I?ve had 
>> fun over the years, and have benefitted hugely from the generosity and 
>> expertise of those on this list and of course from the direct support of the 
>> whole Kevin circus. I?ll miss it all.
>> 
>> For what it's worth, I have seen the Create demo and tried to understand the 
>> underlying model of app that is being aimed at. If I were still trying to 
>> contribute, I would be asking about how Create can help with apps that 
>> depend on user interaction with animations, and apps that are driven by 
>> external triggers like changing GPS coordinates, and most of all, about how 
>> far Create will assist with deployment, particularly on iOS - an issue that 
>> can dwarf the actual development effort of an app in terms of time and 
>> resources. If Create can take the user all the way from internal beta test 
>> to publication, that would be an achievement worth celebrating.
>> 
>> Anyway, it?s a great product that deserves success - so good luck to all 
>> involved.
>> 
>> I?ll lurk for a little longer, but really its goodbye and thanks for all the 
>> fish.
>> 
>> Graham
> 
> 
> ___
> 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: Bowing Out

2024-08-23 Thread Jeff Reynolds via use-livecode
Graham,

I was going to send a similar post for myself, but yours is so spot on for me 
as well along with the fish, I’ll just say me too.

7x6

Jeff 

> On Aug 23, 2024, at 12:02 PM, use-livecode-requ...@lists.runrev.com wrote:
> 
> Just a quick note to say that after many years of using LiveCode (including 
> its predecessors) and doing some modest development - some of which was 
> successfully sold to real users - I?ve decided that for me time?s up. This is 
> because of seniority (as someone recently put it - I?m old!) and the feeling 
> that at my time of life I can?t productively invest time or money in learning 
> about Create and the whole direction of the LC technology. I?ve had fun over 
> the years, and have benefitted hugely from the generosity and expertise of 
> those on this list and of course from the direct support of the whole Kevin 
> circus. I?ll miss it all.
> 
> For what it's worth, I have seen the Create demo and tried to understand the 
> underlying model of app that is being aimed at. If I were still trying to 
> contribute, I would be asking about how Create can help with apps that depend 
> on user interaction with animations, and apps that are driven by external 
> triggers like changing GPS coordinates, and most of all, about how far Create 
> will assist with deployment, particularly on iOS - an issue that can dwarf 
> the actual development effort of an app in terms of time and resources. If 
> Create can take the user all the way from internal beta test to publication, 
> that would be an achievement worth celebrating.
> 
> Anyway, it?s a great product that deserves success - so good luck to all 
> involved.
> 
> I?ll lurk for a little longer, but really its goodbye and thanks for all the 
> fish.
> 
> Graham


___
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: Bowing Out

2024-08-23 Thread Bob Sneidar via use-livecode
+42

> On Aug 23, 2024, at 4:10 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> Just a quick note to say that after many years of using LiveCode (including 
> its predecessors) and doing some modest development - some of which was 
> successfully sold to real users - I’ve decided that for me time’s up. This is 
> because of seniority (as someone recently put it - I’m old!) and the feeling 
> that at my time of life I can’t productively invest time or money in learning 
> about Create and the whole direction of the LC technology. I’ve had fun over 
> the years, and have benefitted hugely from the generosity and expertise of 
> those on this list and of course from the direct support of the whole Kevin 
> circus. I’ll miss it all.
> 
> For what it's worth, I have seen the Create demo and tried to understand the 
> underlying model of app that is being aimed at. If I were still trying to 
> contribute, I would be asking about how Create can help with apps that depend 
> on user interaction with animations, and apps that are driven by external 
> triggers like changing GPS coordinates, and most of all, about how far Create 
> will assist with deployment, particularly on iOS - an issue that can dwarf 
> the actual development effort of an app in terms of time and resources. If 
> Create can take the user all the way from internal beta test to publication, 
> that would be an achievement worth celebrating.
> 
> Anyway, it’s a great product that deserves success - so good luck to all 
> involved.
> 
> I’ll lurk for a little longer, but really its goodbye and thanks for all the 
> fish.
> 
> Graham
> ___
> 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: How to check if a group contains a specific control ?

2024-08-23 Thread Brian Milby via use-livecode
Another alternative.

If the short id of fld "xyz" is among the lines of the childcontrolids of group 
"abc" then …

This one should work as long as there is only one field with that name on the 
card (tried from message box).

Brian Milby
br...@milby7.com

> On Aug 23, 2024, at 8:05 AM, Paul Dupuis via use-livecode 
>  wrote:
> 
> On 8/23/2024 7:45 AM, Klaus major-k via use-livecode wrote:
>> Hi jbv,
>> 
 Am 23.08.2024 um 13:27 schrieb jbv via use-livecode 
 :
>>> 
>>> Hi list,
>>> 
>>> Is there a quick way to check if a group contains a specific control,
>>> something like :
>>> if there is a fld "xyz" in grp "abc" of this cd
>>> I tried many things but it always generates an error.
>>> So far, the only way I can think of is to maintain a custom prop
>>> for each group, featuring a string that is the list of all controls
>>> names of the group.
>> if you don't have any other controls with the same name,
>> you could check:
>> -> lineoffset("xyz",the childcontrolnames of grp "abc")
>> 
> 
> or, if you prefer:
> 
> if "xyz" is among the lines of the childcontrolnames of group "abc" then
> 
> NOTE: As mentioned, "xyz" would need to be a unique name for control in the 
> group. If you have a field "xyz" and a button "xyz" (or 2 buttons or 2 or 
> more fields with the same name, etc.) this is not accurate.
> 
> 
> ___
> 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: How to check if a group contains a specific control ?

2024-08-23 Thread Paul Dupuis via use-livecode

On 8/23/2024 7:45 AM, Klaus major-k via use-livecode wrote:

Hi jbv,


Am 23.08.2024 um 13:27 schrieb jbv via use-livecode 
:

Hi list,

Is there a quick way to check if a group contains a specific control,
something like :
if there is a fld "xyz" in grp "abc" of this cd
I tried many things but it always generates an error.
So far, the only way I can think of is to maintain a custom prop
for each group, featuring a string that is the list of all controls
names of the group.

if you don't have any other controls with the same name,
you could check:
-> lineoffset("xyz",the childcontrolnames of grp "abc")



or, if you prefer:

if "xyz" is among the lines of the childcontrolnames of group "abc" then

NOTE: As mentioned, "xyz" would need to be a unique name for control in 
the group. If you have a field "xyz" and a button "xyz" (or 2 buttons or 
2 or more fields with the same name, etc.) this is not accurate.



___
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: Bowing Out

2024-08-23 Thread Antti Ilola via use-livecode
+1

pe 23.8.2024 klo 14.12 Graham Samuel via use-livecode <
use-livecode@lists.runrev.com> kirjoitti:

> Just a quick note to say that after many years of using LiveCode
> (including its predecessors) and doing some modest development - some of
> which was successfully sold to real users - I’ve decided that for me time’s
> up. This is because of seniority (as someone recently put it - I’m old!)
> and the feeling that at my time of life I can’t productively invest time or
> money in learning about Create and the whole direction of the LC
> technology. I’ve had fun over the years, and have benefitted hugely from
> the generosity and expertise of those on this list and of course from the
> direct support of the whole Kevin circus. I’ll miss it all.
>
> For what it's worth, I have seen the Create demo and tried to understand
> the underlying model of app that is being aimed at. If I were still trying
> to contribute, I would be asking about how Create can help with apps that
> depend on user interaction with animations, and apps that are driven by
> external triggers like changing GPS coordinates, and most of all, about how
> far Create will assist with deployment, particularly on iOS - an issue that
> can dwarf the actual development effort of an app in terms of time and
> resources. If Create can take the user all the way from internal beta test
> to publication, that would be an achievement worth celebrating.
>
> Anyway, it’s a great product that deserves success - so good luck to all
> involved.
>
> I’ll lurk for a little longer, but really its goodbye and thanks for all
> the fish.
>
> Graham
> ___
> 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: How to check if a group contains a specific control ?

2024-08-23 Thread Klaus major-k via use-livecode
Hi jbv,

> Am 23.08.2024 um 13:27 schrieb jbv via use-livecode 
> :
> 
> Hi list,
> 
> Is there a quick way to check if a group contains a specific control,
> something like :
> if there is a fld "xyz" in grp "abc" of this cd
> I tried many things but it always generates an error.
> So far, the only way I can think of is to maintain a custom prop
> for each group, featuring a string that is the list of all controls
> names of the group.

if you don't have any other controls with the same name, 
you could check: 
-> lineoffset("xyz",the childcontrolnames of grp "abc")

> Thank you in advance.
> jbv

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: use-livecode Digest, Vol 251, Issue 19

2024-08-21 Thread Charles Szasz via use-livecode
Heather,

Please send a new password so I can access LC Create.  I know you are really 
busy. So, when you have time please me a new password.  

Also, I looked forward to receiving estimates of LC program work. 

Thanks!

Sent from my iPad

> On Aug 21, 2024, at 10:01 AM, use-livecode-requ...@lists.runrev.com wrote:
> 
> Send use-livecode mailing list submissions to
>use-livecode@lists.runrev.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.runrev.com/mailman/listinfo/use-livecode
> or, via email, send a message with subject or body 'help' to
>use-livecode-requ...@lists.runrev.com
> 
> You can reach the person managing the list at
>use-livecode-ow...@lists.runrev.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of use-livecode digest..."
> 
> 
> you can find the archives for this list at:
> 
> http://lists.runrev.com/pipermail/use-livecode/
> 
> and search them using this link:
> 
> https://www.mail-archive.com/use-livecode@lists.runrev.com/
> 
> 
> Today's Topics:
> 
>   1. LiveCode Create 1.0 dp-2 released with engine level JSON
>  (Heather Laine)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 21 Aug 2024 16:36:57 +0100
> From: Heather Laine 
> To: How to use LiveCode 
> Subject: LiveCode Create 1.0 dp-2 released with engine level JSON
> Message-ID: <7a2efc3a-2103-454e-ad64-372e089ca...@livecode.com>
> Content-Type: text/plain;charset=utf-8
> 
> Hi Folks,
> 
> We're pleased to announce a new release of LiveCode Create, dp-2. In this 
> release the major feature is new, improved, engine level JSON, available to 
> Create Cloud, Create Native and the embedded Create Classic option within 
> Create Native. To learn more about the JSON improvements, go here:
> 
> https://future.livecode.com/dp2-json/
> 
> On the engine side, this release brings:
> 
>? saving a standalone for web now works when using a Universal license in 
> Create's Classic mode
>? modifying strings in array elements is now substantially faster
>? there is a new is a sequence operator which returns true for arrays 
> which have keys 1, ..., N
>? there is a new is a numeric sequence operator which returns true for 
> arrays which have keys -M, ..., N
>? the combine command now sorts arrays which return true for is a numeric 
> sequence in (ascending) numeric order
>? there are a new family of as  operators which convert a value to a 
> given type, and throw an error if they cannot be, e.g. tVar as a number 
> converts 100
>? there are new fast and accurate json encoding and decoding functions 
> jsonEncode and jsonDecode
>? to support roundtripping values through json using the new functions, it 
> is now possible to mark an array as preferring to be a dictionary (maps to 
> JSON object) or preferring to be a sequence (maps to JSON array) using as a 
> dictionary or as a sequence operators
>? the existing JSON Library functions JsonImport and JsonExport have been 
> reimplemented using the builtin engine support and as such are substantially 
> faster
> 
> On the Create IDE side, this is just a short list of some of the bugs we have 
> addressed:
> 
>? Logging out on web no longer causes a hang
>? Empty layouts no longer generated after exiting without saving
>? Non user placed objects no longer appear in the project browser
>? The color picker editor no longer accepts incorrectly formatted colors
>? Icons on the left bar should now accurately reflect the opened state of 
> the related palette
>? Pressing enter or return key in a dialog field no longer causes a hang
> 
> Many more issues have been sorted, and we're eagerly looking forward to to 
> DP-3 which will squish many more.
> 
> For purchasers, this release is now available from your LiveCode account, 
> under the "LiveCode Create" tab. It has been pushed to the Cloud so the web 
> version is already running dp-2. Not got it yet? Go here:
> 
> https://future.livecode.com/buy
> 
> Best Regards,
> 
> Heather
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.com
> 
> 
> 
> 
> 
> 
> --
> 
> Subject: Digest Footer
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> --
> 
> End of use-livecode Digest, Vol 251, Issue 19
> *

___
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: Livecode Future - and Microsoft past

2024-08-17 Thread Curry Kenworthy via use-livecode

doc hawk:

> Somewhere in my files I have a (typed!) letter from Microsoft
> from 1989 or 1990 responding to my suggestion as a software
> developer suggesting that BASIC be attached to MS Word.

> The gist was that it was an intriguing idea,
> but they had no plans for such a thing.

I had to follow up on this; just couldn't do it sooner -

That's a wow moment, pretty epic and fun! Thanks for sharing that.
The flurry BEHIND that same typewriter would be a sight to behold. :)

(Looks like WordBasic and macro language history before VBA
varied a lot between DOS, Windows and Mac versions.)

I enjoyed all the comments and seeing many a great person pop up -
Sorry I couldn't respond to more, but many good ones lately.

I hope you are ALL doing well!

Best wishes,

Curry Kenworthy

Radically Innovative Christian LiveCode Development
"PASSION for Elegant, Efficient Code!"
https://livecodeconsulting.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: Extracting test scores from a PDF

2024-08-17 Thread Paul Dupuis via use-livecode

On 8/17/2024 12:24 PM, Charles Szasz via use-livecode wrote:

I came a web app that can extract test scores from a PDF and insert them into 
an app.  Can LC do the same thing?



I assume you mean can a programmer write an app in Livecode to extract 
test scores from a PDF and do something with them.


If the PDF has the test scores as text in the PDF (vs just a scanned 
image), then, yes, you can make a Livecode app that uses the PDF widget 
to open the PDF and retrieve the text from it and then parse that text 
for the test scores. If there is a routine pattern to the how the test 
scores appear, it will be easier to parse the text.



___
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: LC Create Cloud advanced developer questions

2024-08-17 Thread Andreas Bergendal via use-livecode
Thanks Kevin, that all sounds very good and promising. I support the 
attribution idea.

(I posted the questions in the LCC forum as well, as per Heather's suggestion, 
and Steven added your reply there. So I’m happy to continue any discussion over 
there.)

/Andreas 

> 16 aug. 2024 kl. 13:23 skrev Kevin Miller via use-livecode 
> :
> 
> Thanks for this. We had a quick chat internally and actually we're happy for 
> Create questions to be posted either here or on the forum. However please 
> post bug reports only on the forums as that is where the developers hang out.
> 
> 1. At present you can "almost" do this by sharing log in details. Doing this 
> better with multiple log-ins per account has been very much part of the road 
> map from the start. We're really excited about this aspect of things 
> actually, we can see a whole class of apps where people choose to distribute 
> them inside the IDE instead of deploying. As we start to implement this 
> properly we may begin by just being as granular as locking one layout at a 
> time. As things evolve we're looking at developing this to the point where 
> you can do better real time sharing, versioning, code reviews etc.
> 
> 2. We don't yet have a plugins system in Cloud, however it will be coming 
> soon. There is a real opportunity to make it super easy to share and import 
> components. A marketplace is one way to do this. Allowing a searchable 
> repository of shared script steps and templates (within those IDE features) 
> is another. We're also considering things like whether or not we want to 
> allow attribution (small company logo and a link) if you share a script step. 
> So if you're a consulting service you would get your website in front of 
> people while simultaneously looking useful & knowledgeable to prospects, 
> right from within the IDE.
> 
> 3. This is essentially similar to the multi-user question. If you grant 
> access to a support account to come in we would be able to do that, obviously 
> if you don't do so then we couldn't.
> 
> Kind regards, 
> 
> Kevin 
> 
> Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/ 
> LiveCode: Build Amazing Things 
> 
> 
> 
> On 16/08/2024, 10:19, "use-livecode on behalf of Andreas Bergendal via 
> use-livecode"   on behalf of 
> use-livecode@lists.runrev.com > wrote:
> 
> 
> I have some questions to LC HQ on aspects of LC Create Cloud that I believe 
> have not yet been discussed at all (unless I’ve missed something).
> 
> 
> 1) If several developers want to cooperate, is it then possible for multiple 
> users to log in to the same project in LC Create Cloud? And if not possible 
> now from the start, is it something that’s on the road map? 
> 
> 
> 2) Even if I’m a lone developer, I may want to make use of the work of 
> others, like we've done so extensively in LC Classic. How can plugin stacks 
> and helper tools made by others be implemented or accessed in my LC Create 
> Cloud project? If I can’t have more than one stack open at the same time, it 
> seems difficult to use such things.
> 
> 
> Related to that, can I have my own "script repository” where I store 
> script-only stacks or something, which all my projects can make calls to? 
> Could I even share that repository so other developers can make calls to it? 
> 
> 
> Wouldn’t it be very interesting if many general utility scripts could be made 
> available in a similar way to how e.g. Python works, where you put ”import 
> [library]” at the top of a script, and all the modules/handlers can then be 
> accessed by the script?
> 
> 
> All this can of course be done already in the sense that you can fetch any LC 
> stack that’s been made available on a server and ”start using” it. But I 
> think LC Create Cloud has the potential to offer such a feature in a more 
> secure an accessible way - to everyone! Is this something you have considered?
> 
> 
> 3) Regardless of whether "multiple users per account" functionality will be 
> there or not - will LC support staff be able to more easily provide support 
> in LC Create Cloud by accessing projects (at the user’s request) and 
> trouble-shoot or obtain bug documentation? I imagine it should facilitate 
> things in that respect.
> 
> 
> /Andreas

___
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 or polylist as datagrid form replacement?

2024-08-16 Thread Terry Judd via use-livecode
Thanks Andreas – that lesson explains how it works for Mark much more clearly 
than I could in the space of an email.

Form datagrids are great but they can be a bit slow to render when they contain 
a lot of stuff. I use them to create fairly complex asssessment feedback 
reports (PDFs) to students and I was looking for possible ways to speed up the 
generation process. I guess I’ll just stick with what works.

Regards – Terry

So, Terry is correct: Polygrid and Polylist currently have fixed/uniform row 
heights. I hope that might be enhanced one day. So if variable row height is a 
requirement, you’ll have to stick with the Datagrid for now.

This was also discussed in the Forum last year, including hints on how to 
achieve variable row heights in a Datagrid:
https://forums.livecode.com/viewtopic.php?f=8&t=37819&p=222950&hilit=datagrid#p222950

/Andreas

> 16 aug. 2024 kl. 12:02 skrev Mark Smith via use-livecode 
> :
>
> Hi Terry, I can’t answer your question but I am curious if you have any code 
> you use to dynamically resize the row height in a datagrid. I am very 
> interested in doing this.
>
> Thanks
> Mark
>
> Sent from my iPhone
>
>> On Aug 16, 2024, at 7:35 AM, Terry Judd via use-livecode 
>>  wrote:
>>
>> I’ve been using datagrid form objects for a number of years and am 
>> investigating the viability of replacing them with polygrids or polylist 
>> widgets but on first look it seems that both have fixed/uniform row heights, 
>> whereas datagrid form rows can dynamically resize their height according to 
>> their content - ie individual rows can have different heights.
>>
>> Is that right, or am I missing something?
>>
>> Terry
>> ___
>> 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 or polylist as datagrid form replacement?

2024-08-16 Thread Andreas Bergendal via use-livecode
So, Terry is correct: Polygrid and Polylist currently have fixed/uniform row 
heights. I hope that might be enhanced one day. So if variable row height is a 
requirement, you’ll have to stick with the Datagrid for now.

This was also discussed in the Forum last year, including hints on how to 
achieve variable row heights in a Datagrid: 
https://forums.livecode.com/viewtopic.php?f=8&t=37819&p=222950&hilit=datagrid#p222950

/Andreas

> 16 aug. 2024 kl. 12:02 skrev Mark Smith via use-livecode 
> :
> 
> Hi Terry, I can’t answer your question but I am curious if you have any code 
> you use to dynamically resize the row height in a datagrid. I am very 
> interested in doing this.
> 
> Thanks
> Mark
> 
> Sent from my iPhone
> 
>> On Aug 16, 2024, at 7:35 AM, Terry Judd via use-livecode 
>>  wrote:
>> 
>> I’ve been using datagrid form objects for a number of years and am 
>> investigating the viability of replacing them with polygrids or polylist 
>> widgets but on first look it seems that both have fixed/uniform row heights, 
>> whereas datagrid form rows can dynamically resize their height according to 
>> their content - ie individual rows can have different heights.
>> 
>> Is that right, or am I missing something?
>> 
>> Terry
>> ___
>> 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 or polylist as datagrid form replacement?

2024-08-16 Thread Bob Sneidar via use-livecode
I believe he is talking about form style datagrids. Form style has row 
templates that can be coded dynamically. To my knowledge, table style only have 
column templates. 

Bob S


> On Aug 16, 2024, at 3:02 AM, Mark Smith via use-livecode 
>  wrote:
> 
> Hi Terry, I can’t answer your question but I am curious if you have any code 
> you use to dynamically resize the row height in a datagrid. I am very 
> interested in doing this.
> 
> Thanks
> Mark
> 
> Sent from my iPhone
> 
>> On Aug 16, 2024, at 7:35 AM, Terry Judd via use-livecode 
>>  wrote:
>> 
>> I’ve been using datagrid form objects for a number of years and am 
>> investigating the viability of replacing them with polygrids or polylist 
>> widgets but on first look it seems that both have fixed/uniform row heights, 
>> whereas datagrid form rows can dynamically resize their height according to 
>> their content - ie individual rows can have different heights.
>> 
>> Is that right, or am I missing something?
>> 
>> Terry
>> ___
>> 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 or polylist as datagrid form replacement?

2024-08-16 Thread Bob Sneidar via use-livecode
There are a great many things you can do with a datagrid that you cannot do 
with a polygrid. From what I have been able to gather, the main advantage to 
using a polygrid is that they perform better than a datagrid. But their list of 
properties that you can get and set are what I would call minimal compared to a 
datagrid. Also, I do not think that polygrids can be used like a form style 
datagrid. 

Bob S


> On Aug 15, 2024, at 11:34 PM, Terry Judd via use-livecode 
>  wrote:
> 
> I’ve been using datagrid form objects for a number of years and am 
> investigating the viability of replacing them with polygrids or polylist 
> widgets but on first look it seems that both have fixed/uniform row heights, 
> whereas datagrid form rows can dynamically resize their height according to 
> their content - ie individual rows can have different heights.
> 
> Is that right, or am I missing something?
> 
> Terry
> ___
> 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: Issues with (64bit?) Windows MySQL driver

2024-08-16 Thread Bob Sneidar via use-livecode
I had an issue with my mySQL server some time ago that revolved around making 
multiple connections in a short period of time. I would hit the connection 
limit of the SQL server and it would stop accepting connections. My issue was 
that I didn’t realize at the time that I needed to disconnect after every 
session, because the SQL server will keep a connection alive for a period of 
time specified in the server settings. If you are already connected and you 
create a new connection it will create a new thread.

If you have MySQLWorkbench (or some other server manager) you should be able to 
see the current connections. The MySQLWorkbench will have it’s own connections 
but if you see a lot of other connections that you can’t account for, then you 
need to ensure that you are disconnecting after every session.

Bob S


On Aug 16, 2024, at 1:14 AM, Mark Waddingham via use-livecode 
 wrote:

On 2024-08-16 08:32, Ben Rubinstein via use-livecode wrote:
I have a tool (a LiveCode standalone) running on Windows, which every night 
drops and recreates a database on a remote MySQL server, (about 350MB, 50 
tables). Running for many years.
About a year ago, we started to see a problem where sometimes the nightly build 
would fail, part-way through the process. The routine involves creating and 
populating tables, then creating indexes. Depending when the problem hits, the 
initial error is either
Connection was killed
or
Lost connection to MySQL server during query
All subsequent calls to revdb_execute get the error
MySQL server has gone away
I tried splitting the build into sections, so that the code opens the 
connection to a database builds some of the tables, then closes the connection, 
and opens a new connection to add more tables. There was no evidence that this 
made the issue occur less frequently; and once it hit, subsequent attempts to 
open a connection would get the error
Can't connect to MySQL server on '' (0)
When this was happening maybe a couple of times per month (on average) it 
didn't matter too much (the system is designed to be resilient, if the data 
wasn't refreshed one day, it would be the next). I thought it might be network 
glitches.
Recently IT tightened security on the machine where the tool runs; and since 
then we get this problem nine times of out ten. They say the only change made 
was to remove the admin privileges of the user account, and have now reversed 
that change; however, this problem has remained since. Another problem that 
arrived at the same time, reported here as "a windows weirdness", seems (per 
Paul Dupuis and Mark Waddingham) to be related to UNC paths, and possibly to 
security policies.
Does anyone have a suggestion for how conditions could affect this? Is there 
any way to get more detailed information out of the rev database driver about 
what's happening?

The dbmysql is just a thin wrapper around the mysqlclient library which is 
basically just implementing a protocol over a socket.

The fact that you get 'Can't connect to MySQL on ''' after it happens 
sounds very much like there's some sort of blocking going on at the system 
level. (A bit like most servers have 'portsentry' or similar on it which blocks 
requests which look dodgy) - given the 'tigtening of security' this is quite 
possible...

I think there are some low-level network tools on windows you could use to look 
at what's happening with sockets/ports (e.g. 
https://learn.microsoft.com/en-us/sysinternals/downloads/tcpview).

I was going to suggest tweaking the timeouts/auto-reconnect parameters on your 
revOpenDatabase call - but I'm not sure its a timeout due to the 'Can't 
connect' error happening subsequently.

Warmest Regards

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ 
http://www.livecode.com/
LiveCode: Build Amazing Things

___
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: LC Create Cloud advanced developer questions

2024-08-16 Thread Kevin Miller via use-livecode
Thanks for this. We had a quick chat internally and actually we're happy for 
Create questions to be posted either here or on the forum. However please post 
bug reports only on the forums as that is where the developers hang out.

1. At present you can "almost" do this by sharing log in details. Doing this 
better with multiple log-ins per account has been very much part of the road 
map from the start. We're really excited about this aspect of things actually, 
we can see a whole class of apps where people choose to distribute them inside 
the IDE instead of deploying. As we start to implement this properly we may 
begin by just being as granular as locking one layout at a time. As things 
evolve we're looking at developing this to the point where you can do better 
real time sharing, versioning, code reviews etc.

2. We don't yet have a plugins system in Cloud, however it will be coming soon. 
There is a real opportunity to make it super easy to share and import 
components. A marketplace is one way to do this. Allowing a searchable 
repository of shared script steps and templates (within those IDE features) is 
another. We're also considering things like whether or not we want to allow 
attribution (small company logo and a link) if you share a script step. So if 
you're a consulting service you would get your website in front of people while 
simultaneously looking useful & knowledgeable to prospects, right from within 
the IDE.

3. This is essentially similar to the multi-user question. If you grant access 
to a support account to come in we would be able to do that, obviously if you 
don't do so then we couldn't.

Kind regards, 

Kevin 

Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/ 
LiveCode: Build Amazing Things 




On 16/08/2024, 10:19, "use-livecode on behalf of Andreas Bergendal via 
use-livecode" mailto:use-livecode-boun...@lists.runrev.com> on behalf of 
use-livecode@lists.runrev.com > wrote:


I have some questions to LC HQ on aspects of LC Create Cloud that I believe 
have not yet been discussed at all (unless I’ve missed something).


1) If several developers want to cooperate, is it then possible for multiple 
users to log in to the same project in LC Create Cloud? And if not possible now 
from the start, is it something that’s on the road map? 


2) Even if I’m a lone developer, I may want to make use of the work of others, 
like we've done so extensively in LC Classic. How can plugin stacks and helper 
tools made by others be implemented or accessed in my LC Create Cloud project? 
If I can’t have more than one stack open at the same time, it seems difficult 
to use such things.


Related to that, can I have my own "script repository” where I store 
script-only stacks or something, which all my projects can make calls to? Could 
I even share that repository so other developers can make calls to it? 


Wouldn’t it be very interesting if many general utility scripts could be made 
available in a similar way to how e.g. Python works, where you put ”import 
[library]” at the top of a script, and all the modules/handlers can then be 
accessed by the script?


All this can of course be done already in the sense that you can fetch any LC 
stack that’s been made available on a server and ”start using” it. But I think 
LC Create Cloud has the potential to offer such a feature in a more secure an 
accessible way - to everyone! Is this something you have considered?


3) Regardless of whether "multiple users per account" functionality will be 
there or not - will LC support staff be able to more easily provide support in 
LC Create Cloud by accessing projects (at the user’s request) and trouble-shoot 
or obtain bug documentation? I imagine it should facilitate things in that 
respect.


/Andreas
___
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 or polylist as datagrid form replacement?

2024-08-16 Thread Mark Smith via use-livecode
Hi Terry, I can’t answer your question but I am curious if you have any code 
you use to dynamically resize the row height in a datagrid. I am very 
interested in doing this.

Thanks
Mark

Sent from my iPhone

> On Aug 16, 2024, at 7:35 AM, Terry Judd via use-livecode 
>  wrote:
> 
> I’ve been using datagrid form objects for a number of years and am 
> investigating the viability of replacing them with polygrids or polylist 
> widgets but on first look it seems that both have fixed/uniform row heights, 
> whereas datagrid form rows can dynamically resize their height according to 
> their content - ie individual rows can have different heights.
> 
> Is that right, or am I missing something?
> 
> Terry
> ___
> 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: LC Create Cloud advanced developer questions

2024-08-16 Thread Heather Laine via use-livecode
Andreas,

These are great questions. I think really the best place to get answers is 
going to be the new LiveCode Create forum, here: 

https://discourse.livecode.com

Please do go here and ask them, and hopefully we can get a good discussion 
going!

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com



> On 16 Aug 2024, at 10:19, Andreas Bergendal via use-livecode 
>  wrote:
> 
> I have some questions to LC HQ on aspects of LC Create Cloud that I believe 
> have not yet been discussed at all (unless I’ve missed something).
> 
> 1) If several developers want to cooperate, is it then possible for multiple 
> users to log in to the same project in LC Create Cloud? And if not possible 
> now from the start, is it something that’s on the road map? 
> 
> 2) Even if I’m a lone developer, I may want to make use of the work of 
> others, like we've done so extensively in LC Classic. How can plugin stacks 
> and helper tools made by others be implemented or accessed in my LC Create 
> Cloud project? If I can’t have more than one stack open at the same time, it 
> seems difficult to use such things.
> 
> Related to that, can I have my own "script repository” where I store 
> script-only stacks or something, which all my projects can make calls to? 
> Could I even share that repository so other developers can make calls to it? 
> 
> Wouldn’t it be very interesting if many general utility scripts could be made 
> available in a similar way to how e.g. Python works, where you put ”import 
> [library]” at the top of a script, and all the modules/handlers can then be 
> accessed by the script?
> 
> All this can of course be done already in the sense that you can fetch any LC 
> stack that’s been made available on a server and ”start using” it. But I 
> think LC Create Cloud has the potential to offer such a feature in a more 
> secure an accessible way - to everyone! Is this something you have considered?
> 
> 3) Regardless of whether "multiple users per account" functionality will be 
> there or not - will LC support staff be able to more easily provide support 
> in LC Create Cloud by accessing projects (at the user’s request) and 
> trouble-shoot or obtain bug documentation? I imagine it should facilitate 
> things in that respect.
> 
> /Andreas
> ___
> 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: Issues with (64bit?) Windows MySQL driver

2024-08-16 Thread Mark Waddingham via use-livecode

On 2024-08-16 08:32, Ben Rubinstein via use-livecode wrote:
I have a tool (a LiveCode standalone) running on Windows, which every 
night drops and recreates a database on a remote MySQL server, (about 
350MB, 50 tables). Running for many years.


About a year ago, we started to see a problem where sometimes the 
nightly build would fail, part-way through the process. The routine 
involves creating and populating tables, then creating indexes. 
Depending when the problem hits, the initial error is either


Connection was killed
or
Lost connection to MySQL server during query

All subsequent calls to revdb_execute get the error

MySQL server has gone away

I tried splitting the build into sections, so that the code opens the 
connection to a database builds some of the tables, then closes the 
connection, and opens a new connection to add more tables. There was no 
evidence that this made the issue occur less frequently; and once it 
hit, subsequent attempts to open a connection would get the error


Can't connect to MySQL server on '' (0)


When this was happening maybe a couple of times per month (on average) 
it didn't matter too much (the system is designed to be resilient, if 
the data wasn't refreshed one day, it would be the next). I thought it 
might be network glitches.


Recently IT tightened security on the machine where the tool runs; and 
since then we get this problem nine times of out ten. They say the only 
change made was to remove the admin privileges of the user account, and 
have now reversed that change; however, this problem has remained 
since. Another problem that arrived at the same time, reported here as 
"a windows weirdness", seems (per Paul Dupuis and Mark Waddingham) to 
be related to UNC paths, and possibly to security policies.


Does anyone have a suggestion for how conditions could affect this? Is 
there any way to get more detailed information out of the rev database 
driver about what's happening?


The dbmysql is just a thin wrapper around the mysqlclient library which 
is basically just implementing a protocol over a socket.


The fact that you get 'Can't connect to MySQL on ''' after it 
happens sounds very much like there's some sort of blocking going on at 
the system level. (A bit like most servers have 'portsentry' or similar 
on it which blocks requests which look dodgy) - given the 'tigtening of 
security' this is quite possible...


I think there are some low-level network tools on windows you could use 
to look at what's happening with sockets/ports (e.g. 
https://learn.microsoft.com/en-us/sysinternals/downloads/tcpview).


I was going to suggest tweaking the timeouts/auto-reconnect parameters 
on your revOpenDatabase call - but I'm not sure its a timeout due to the 
'Can't connect' error happening subsequently.


Warmest Regards

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Build Amazing Things

___
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: Android API 34 and Android keystore

2024-08-15 Thread Klaus major-k via use-livecode
Forgot to mention that one should wait 48 hours after uploading the PEM file,
so the system has time to "get" fully. :-D

> Am 15.08.2024 um 17:40 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi all,
> 
>> Am 12.08.2024 um 15:35 schrieb Ralph DiMola via use-livecode 
>> :
>> 
>> Klaus,
>> 
>> GREAT NEWS! I stand corrected also. Please post the contact and procedure.
>> This will help all on the list. Thanks for doing the foot work to figure
>> this out.
>> 
>> Ralph DiMola
> 
> sorry for the late response...
> 
> Contact:
> On the Google Play Store HELP pages you will find a button "Contact" at the 
> bottom of the page. I just clicked that and asked my question.
> 
> Procedere, I don't think I am revelaing a secret when I quote the answer mail 
> here:
> 
>>• Follow the instructions in the Android Studio Help Center to generate a 
>> new key. It must be different from any previous keys, be a 2048-bit RSA key, 
>> and have 25-year validity. Alternatively, you can use the following command 
>> line to generate a new key:
>>• keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 
>> -validity 9125 -keystore keystore.jks
> 
>>• Export the certificate for that key to PEM format:
>>• keytool -export -rfc -alias upload -file upload_certificate.pem 
>> -keystore keystore.jks
> 
>>• Once you have generated a PEM file please follow the steps below:
>>• Go to Setup > App integrity > App Signing.
>>• Request Upload key reset.
>>• Give a reason why you’re requesting a key reset.
>>• Enter PEM file.
>>• Click Request.
> 
> 
--
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: Android API 34 and Android keystore

2024-08-15 Thread Klaus major-k via use-livecode
Hi all,

> Am 12.08.2024 um 15:35 schrieb Ralph DiMola via use-livecode 
> :
> 
> Klaus,
> 
> GREAT NEWS! I stand corrected also. Please post the contact and procedure.
> This will help all on the list. Thanks for doing the foot work to figure
> this out.
> 
> Ralph DiMola

sorry for the late response...

Contact:
On the Google Play Store HELP pages you will find a button "Contact" at the 
bottom of the page. I just clicked that and asked my question.

Procedere, I don't think I am revelaing a secret when I quote the answer mail 
here:

> • Follow the instructions in the Android Studio Help Center to generate a 
> new key. It must be different from any previous keys, be a 2048-bit RSA key, 
> and have 25-year validity. Alternatively, you can use the following command 
> line to generate a new key:
> • keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 
> -validity 9125 -keystore keystore.jks

> • Export the certificate for that key to PEM format:
> • keytool -export -rfc -alias upload -file upload_certificate.pem 
> -keystore keystore.jks 

> • Once you have generated a PEM file please follow the steps below:
> • Go to Setup > App integrity > App Signing.
> • Request Upload key reset.
> • Give a reason why you’re requesting a key reset.
> • Enter PEM file.
> • Click Request.



Hope that helps.
Will do this over the weekend...


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: Live LiveCode Create demo

2024-08-15 Thread Georges Malamoud via use-livecode
Layouts, a little bit like this, then ? (Swift for Apple) ?
https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/layouts

___
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: Problems with revSetSpeechVoice

2024-08-15 Thread Klaus major-k via use-livecode
Hi Mark,

> Am 15.08.2024 um 15:53 schrieb Mark Waddingham via use-livecode 
> :
> 
> On 2024-08-15 14:36, Klaus major-k via use-livecode wrote:
>> Hi all,
>> I am currently working with the revSpeak library (needs to be
>> crossplatform Mac and Win) and facing serious problems.
>> I have a field with all available voices, that I fill with:
>> ---
>> on mouseUp
>>   put revSpeechVoices() into tVoices
>>   sort tVoices
>>   put textdecode(tVoices,"utf8") into fld "fi_voices"
>> end mouseUp
>> ---
>> textdecode is neccessary to preserve UMLAUTS like in:
>> Sandy (Französisch (Kanada))
>> ## Sandy (French, Canada))
>> Now all the french voices do NOT work!
>> I tried:
>> --
>> revSetSpeechVoice tVoice
>> ## Where tVoice of course contains the above mentioned voice
>> --
>> I even tried:
>> --
>> put textencode(tVoice,"native") into tVoice2
>> revSetSpeechVoice tVoice2
>> --
>> No dice, always reverts back to the "default" voice on my Mac.
> 
> Did you try:
> --
> put textencode(tVoice,"utf8") into tVoice2
> revSetSpeechVoice tVoice2
> --

obviously not, but that was the missing piece, works now!
Thanks a bunch! :-)

> Warmest Regards,
> 
> Mark.

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: Problems with revSetSpeechVoice

2024-08-15 Thread Mark Waddingham via use-livecode

On 2024-08-15 14:36, Klaus major-k via use-livecode wrote:

Hi all,

I am currently working with the revSpeak library (needs to be
crossplatform Mac and Win) and facing serious problems.

I have a field with all available voices, that I fill with:
---
on mouseUp
   put revSpeechVoices() into tVoices
   sort tVoices
   put textdecode(tVoices,"utf8") into fld "fi_voices"
end mouseUp
---
textdecode is neccessary to preserve UMLAUTS like in:
Sandy (Französisch (Kanada))
## Sandy (French, Canada))

Now all the french voices do NOT work!
I tried:
--
revSetSpeechVoice tVoice
## Where tVoice of course contains the above mentioned voice
--

I even tried:
--
put textencode(tVoice,"native") into tVoice2
revSetSpeechVoice tVoice2
--
No dice, always reverts back to the "default" voice on my Mac.


Did you try:

--
put textencode(tVoice,"utf8") into tVoice2
revSetSpeechVoice tVoice2
--

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Build Amazing Things

___
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: Live LiveCode Create demo

2024-08-15 Thread Kevin Miller via use-livecode
Yes this is a great question, thanks for posting it.

We're looking to simplify the metaphors we use a little. The card/stack thing 
just doesn't seem to make as much sense as it did.

One of the main uses was to create a background group to have different records 
on each screen. That’s not really relevant in the new model where data is 
stored in the cloud data store and bound to objects.

Another major use was to place navigation controls on a screen and use a 
background group to do that. While in the current DP you do place those 
controls, we are working to create global navigation feature at project level 
which simply applies such a navigation bar without the need to drag them out 
onto each layout.

You then have "cards" as a concept meaning something entirely different in 
Material design, which is the design framework we've applied to Create.

All in all it just seems simpler to talk about a screen as a layout. Create 
multiple layouts and navigate between them. New users do appear to universally 
understand what a layout is (without the explanation that card/stack required).

All of that said, the underlying card/stack system is still there and a layout 
is really just a stack under the hood. So you can go on doing things the old 
way if you want to it will all work.

Kind regards, 

Kevin 

Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/ 
LiveCode: Build Amazing Things 




On 15/08/2024, 13:03, "use-livecode on behalf of Paul Dupuis via use-livecode" 
mailto:use-livecode-boun...@lists.runrev.com> on behalf of 
use-livecode@lists.runrev.com > wrote:



Just speaking for myself.


I use substacks for different windows (modal or nonmodal) in my 
application. A substack rarely has more than one card, which has the 
controls for that window laid out the way I want them. Also, substacks 
can just be script libraries or other sorts of libraries (icons, images, 
etc.)


So I already use substack as different layouts in native apps. If moving 
to the web, they effectively become different "pages" (or screens or 
layouts of controls)


I think I have 1 app where I still use multiple cards to store data, one 
record per card. If I have a chance to redo this, the data will be 
stored in a property or variable and the stack will have a single "card" 
or layout where the current record of data is displayed as the user 
navigates through it.


For the most part, I already think of a substack as synonymous with a 
window/screen/page layout of controls for an app.




On 8/15/2024 7:09 AM, David V Glasgow via use-livecode wrote:
> Just caught up on this and really enjoyed it. Obviously the team has been 
> working hard, and created something really special.
>
> My question is conceptual, not a technical/features based one, so I am 
> raising it here because I would be really interested in folks views.
>
> Kevin states towards the end of the video that substacks are still there and 
> still work, but LC folks are moving away from that metaphor in favour of 
> ‘layouts’. Now I had watched the whole video with my mental model being 
> ‘layouts’ correspond to a (very smart) group on a card. In light of what 
> Kevin said that must be wrong, but I can’t quite see how the Create metaphor 
> maps onto the ol’ Xtalk hierarchy of things.
>
> Cheers
>
> David G
>
>
>
> ___
> 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: Live LiveCode Create demo

2024-08-15 Thread Paul Dupuis via use-livecode

Just speaking for myself.

I use substacks for different windows (modal or nonmodal) in my 
application. A substack rarely has more than one card, which has the 
controls for that window laid out the way I want them. Also, substacks 
can just be script libraries or other sorts of libraries (icons, images, 
etc.)


So I already use substack as different layouts in native apps. If moving 
to the web, they effectively become different "pages" (or screens or 
layouts of controls)


I think I have 1 app where I still use multiple cards to store data, one 
record per card. If I have a chance to redo this, the data will be 
stored in a property or variable and the stack will have a single "card" 
or layout where the current record of data is displayed as the user 
navigates through it.


For the most part, I already think of a substack as synonymous with a 
window/screen/page layout of controls for an app.



On 8/15/2024 7:09 AM, David V Glasgow via use-livecode wrote:

Just caught up on this and really enjoyed it.  Obviously the team has been 
working hard, and created something really special.

My question is conceptual, not a technical/features based one, so I am raising 
it here because I would be really interested in folks views.

Kevin states towards the end of the video that substacks are still there and 
still work, but LC folks are moving away from that metaphor in favour of 
‘layouts’.  Now I had watched the whole video with my mental model being 
‘layouts’ correspond to a (very smart)  group on a card.   In light of what 
Kevin said that must be wrong, but I can’t quite see how the Create metaphor 
maps onto  the ol’ Xtalk hierarchy of things.

Cheers

David G



___
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: Live LiveCode Create demo - Application Payments portal

2024-08-14 Thread Bob Sneidar via use-livecode
From what I was able to watch live, it looks amazing. I especially like how 
much coding the widgets can alleviate (bug free BTW) and I can always go back 
and look at and modify the code if need be. 

When the time comes to migrate I will definitely take a look at this. 

Bob S


> On Aug 14, 2024, at 10:12 AM, Heather Laine via use-livecode 
>  wrote:
> 
> Folks, it did take us all day owing to the number of questions but we now 
> have a page up, with the recording and (I hope!) all your questions answered 
> in text as well.
> 
> https://future.livecode.com/live-demo-your-questions-answered/
> 
> Best Regards,
> 
> Heather
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.com
> 
> 
> 
>> On 13 Aug 2024, at 18:11, Stephen Barncard via use-livecode 
>>  wrote:
>> 
>> Hi gang,
>> I missed the webinar. I have been working on the other side of the clock.
>> Is it possible to see a recording?
>> 
>> sqb
>> --
>> Stephen Barncard - Sebastopol Ca. USA -
>> mixstream.org
>> 
>> 
>> On Tue, Aug 13, 2024 at 4:21 AM Curry Kenworthy via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> 
>>> I also cannot attend a Zoom meeting now -
>>> 
>>> My watch-later absentee request:
>>> 
>>> Please demo the Application Payments portal interface/process to:
>>> 
>>> - 'upload your monthly sales figures' including
>>> - 'the monthly reports from the app store/s you are shipping through.'
>>> 
>>> Best wishes,
>>> 
>>> Curry Kenworthy
>>> 
>>> Radically Innovative Christian LiveCode Development
>>> "PASSION for Elegant, Efficient Code!"
>>> https://livecodeconsulting.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
>>> 
>> ___
>> 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: Live LiveCode Create demo - Application Payments portal

2024-08-14 Thread Mark Smith via use-livecode
Brilliant, thanks Heather. 

> On 14 Aug 2024, at 6:12 PM, Heather Laine via use-livecode 
>  wrote:
> 
> Folks, it did take us all day owing to the number of questions but we now 
> have a page up, with the recording and (I hope!) all your questions answered 
> in text as well.
> 
> https://future.livecode.com/live-demo-your-questions-answered/
> 
> Best Regards,
> 
> Heather
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.com
> 
> 
> 
>> On 13 Aug 2024, at 18:11, Stephen Barncard via use-livecode 
>>  wrote:
>> 
>> Hi gang,
>> I missed the webinar. I have been working on the other side of the clock.
>> Is it possible to see a recording?
>> 
>> sqb
>> --
>> Stephen Barncard - Sebastopol Ca. USA -
>> mixstream.org
>> 
>> 
>> On Tue, Aug 13, 2024 at 4:21 AM Curry Kenworthy via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> 
>>> I also cannot attend a Zoom meeting now -
>>> 
>>> My watch-later absentee request:
>>> 
>>> Please demo the Application Payments portal interface/process to:
>>> 
>>> - 'upload your monthly sales figures' including
>>> - 'the monthly reports from the app store/s you are shipping through.'
>>> 
>>> Best wishes,
>>> 
>>> Curry Kenworthy
>>> 
>>> Radically Innovative Christian LiveCode Development
>>> "PASSION for Elegant, Efficient Code!"
>>> https://livecodeconsulting.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
>>> 
>> ___
>> 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: Live LiveCode Create demo - Application Payments portal

2024-08-14 Thread Heather Laine via use-livecode
Folks, it did take us all day owing to the number of questions but we now have 
a page up, with the recording and (I hope!) all your questions answered in text 
as well.

https://future.livecode.com/live-demo-your-questions-answered/

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com



> On 13 Aug 2024, at 18:11, Stephen Barncard via use-livecode 
>  wrote:
> 
> Hi gang,
> I missed the webinar. I have been working on the other side of the clock.
> Is it possible to see a recording?
> 
> sqb
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> 
> 
> On Tue, Aug 13, 2024 at 4:21 AM Curry Kenworthy via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> 
>> I also cannot attend a Zoom meeting now -
>> 
>> My watch-later absentee request:
>> 
>> Please demo the Application Payments portal interface/process to:
>> 
>> - 'upload your monthly sales figures' including
>> - 'the monthly reports from the app store/s you are shipping through.'
>> 
>> Best wishes,
>> 
>> Curry Kenworthy
>> 
>> Radically Innovative Christian LiveCode Development
>> "PASSION for Elegant, Efficient Code!"
>> https://livecodeconsulting.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
>> 
> ___
> 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


  1   2   3   4   5   6   7   8   9   10   >