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

2024-09-19 Thread J. Landman Gay via use-livecode
I'm so glad to see you back, Dar. While you're waiting for support, this 
FAQ might help answer some questions:


https://future.livecode.com/faq/

I think we're all struggling to decide how to handle this new direction. I 
have some of the same concerns as you regarding some of my long-term 
clients. For now I'll continue with the classic version for those people 
until it's discontinued. After that I'll work with support to see if we can 
work out something. Kevin has said they'll evaluate individual requests as 
needed.


Welcome back!
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 19, 2024 11:15:02 AM Dar Scott via use-livecode 
 wrote:


I apologize for making waves when there has been much already. Before 
bringing up more, I want to carefully study Create and the pricing. 
However, I seem to have lost my way. Can someone remind me of the root URL 
for Create or the pricing?




___
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: 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: Icon id conflicts?

2024-08-10 Thread J. Landman Gay via use-livecode
Did you try using the full path to the image when setting the icon by name 
in the message box?


What I've done in the past is adding 20 or 50 in front of the image ID 
which makes it a number in the thousands, so icon 1243 becomes 501243. That 
allows you to use the inspector, though everything created after that will 
have IDs in the 50 thousands.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 10, 2024 10:18:07 AM David Epstein via use-livecode 
 wrote:


I am moving a project I created in LC 5.5 to LC 10.0rc1.  Some buttons have 
their icon set to the id of an image found in a stack “in use.”  In some 
cases, this still works, but several buttons no longer look right in LC10, 
I assume because the icon number exists somewhere else in LC10.  How can I 
go about finding and imposing an id number for my image that will not 
encounter this conflict?


Alternatively, the dictionary says I can use an image name as a button’s 
icon, but the LC property inspector doesn’t let me enter non-numbers as an 
icon, and setting the icon to an image name from the message box has no 
effect (the image named is in a stack “in use”).


David Epstein
___
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

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

I stand corrected, thanks.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 9, 2024 4:29:57 PM Ralph DiMola via use-livecode 
 wrote:



Klaus,

Once you lose the keystore you don't have the key pair used to generate the 
keystore entry. Scott is correct, you have to re-publish with all the 
headaches Scott enumerated.

Sorry man...

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 scott--- via use-livecode

Sent: Friday, August 09, 2024 3:56 PM
To: How to use LiveCode
Cc: sc...@elementarysoftware.com
Subject: Re: Android API 34 and Android keystore

As for which SDK variant to install… I don’t know but hope you will report 
back before I encounter this question :- )


As for the second question about the lost keystore… a few years ago I 
encountered a similar problem (I apparently overwrote my keystore with a 
different one and, by the time I needed to submit an update to GooglePlay, 
I had lots of  back-ups of the wrong keystore!) After reading up on things 
I came to the conclusion that there was no solution and that without the 
original keystore the app could no longer be updated in GooglePlay. The 
only way forward I could see was to “unpublish” the existing app and create 
a new app entry (with a different internal name but using the same 
storefront name.) This meant that the existing users couldn’t “update” 
their app without downloading the new app (searchable under the original 
name.) I can’t recall how I handled the user-data that the original app 
generated but I suspect that it was lost and needed to be recreated. (With 
this app it would have been mildly annoying but not unbearable. I can 
imagine use-cases where moving the data might be a big issue.)  This was a 
commercial app where the clients were known to me so it was possible to 
notify them and they could get the word out to their employees.


This was a number of years ago so perhaps things have changed since then. I 
hope that you find a better solution, Klaus.


--
Scott Morrow

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

On Aug 9, 2024, at 2:10 AM, Klaus major-k via use-livecode 
 wrote:


Hi all,

two questions:
1. In my "Android Studio" there are three options for SDK Tools for API 
level 34:

34
34-ext8
34-ext12

What should I install? 34 or all of them?

2. I need to update my Android freeware app to above mentioned API.
I had uploaded the first version to Google Play with a self signed
key, made with Android Studio, Google was content.

As far as I understood this, I need to use this key for every upload of 
that app.

And Google then takes care of (final) signing etc.

However I lost that keystore file during a hd crash a couple of months ago.
What should/can I do?

Any advice much appreciated, thank you!


Best

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


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

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













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

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


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

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





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


Re: Android API 34 and Android keystore

2024-08-09 Thread J. Landman Gay via use-livecode
I'm not sure about the SDK version but it probably won't hurt to install 
them all and let LC choose the one that's compatible. For the signing key, 
you can recreate it if you have the info and password you used for the 
original. I keep that info in my password vault just in case. If you don't 
have that info, then I'm not sure what to do. Google support could advise you.


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



Hi all,

two questions:
1. In my "Android Studio" there are three options for SDK Tools for API 
level 34:

34
34-ext8
34-ext12

What should I install? 34 or all of them?

2. I need to update my Android freeware app to above mentioned API.
I had uploaded the first version to Google Play with a self signed key,
made with Android Studio, Google was content.

As far as I understood this, I need to use this key for every upload of 
that app.

And Google then takes care of (final) signing etc.

However I lost that keystore file during a hd crash a couple of months ago.
What should/can I do?

Any advice much appreciated, thank you!


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: Individual licensing questions

2024-08-02 Thread J. Landman Gay via use-livecode
I don't think so. These apps are bespoke apps (a lovely word not seen often 
in the US.) This from the FAQ:


"I create apps for other companies and sell services to those companies as 
a consultancy service to create them"
"You need one license for each developer of the app. The company you 
developed the software for needs an Internal app license for each user if 
the app is used internally."


On the other hand, a single retired user is not a company. When the time 
comes I will contact LC support. We have 3 years to decide.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 2, 2024 11:15:59 AM Håkan Liljegren via use-livecode 
 wrote:


Hmm, wouldn’t this count in the other tier as you sell your app, thus you 
should pay 5% of $75? $3.75


:-Håkan

26 juli 2024 kl. 19:08 skrev J. Landman Gay via use-livecode 
:


I hope this is generic enough.

I have several clients who use apps I created just for them, 20 years ago 
or more. Frequently these are converted HyperCard stacks like address books 
or recipe files. The apps are personal and no one else uses them. Every 2 
or 3 years they contact me because the app stops working, usually due to an 
incompatible OS update. I recompile the app, and sometimes make a few 
requested tweaks. Since a compile takes only a few minutes, and because I 
know these people personally, I charge almost nothing for these services. 
My last invoice for a rebuild and a minor change was $75.


I do not want to tell them that they will need to spend hundreds of dollars 
more for a one time minor update. They will not want a subscription because 
it's years between changes. And because they are not companies and many are 
now retired, paying hundreds of dollars to maintain an address book is not 
feasible. I am very sensitive to their budget requirements.


I'd like to propose a floor under which no royalty or subscription is 
required. A minimum charge of, say, $500 would yield $25 to LC at the 5% 
rate. A charge of $1000 would yield $50.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 26, 2024 6:04:30 AM Kevin Miller via use-livecode 
 wrote:


Folks, I'm happy to go on discussing the licensing model in general on here 
as needed, for example edge cases or things that aren’t clear in the model, 
as it helps us to hone it. But at this point if you have individual 
questions about the costs for you under the new model, please email them to 
support and we can give you an accurate quote and talk you through your 
options. Otherwise we are going to be going over the same territory here on 
the list for some time to come! We’ll build out the information pages some 
more worked examples next week too. Thanks.




Kind regards,



Kevin



Kevin Miller ~ ke...@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


___
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: Date and time format question

2024-07-30 Thread J. Landman Gay via use-livecode

 Similar to Bob's but includes the delimiters:

-- create UTC timestamp: -- format: "2013-07-20T00:00:00Z"
 put the seconds into tTime
 convert tTime to dateitems
 subtract (char 1 to -3 of last word of the internet date) from item 4 of 
tTime

 convert tTime to dateitems
 set the numberformat to "00"
 put item 1 of tTime &"-"& (item 2 of tTime)+0 &"-"& (item 3 of tTime)+0 & 
"T" & (item 4 of tTime)+0 &":"& \

   (item 5 of tTime)+0 &":"& (item 6 of tTime)+0 & "Z" into tTimestamp
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 29, 2024 4:11:37 PM Paul Dupuis via use-livecode 
 wrote:



Follow up question/request:

put the internet date into tTimestamp -- stores something like Mon, 29
Jul 2024 16:49:52 -0400, where the -0400 is the time zone offset

Anyone have some already written code to convert this to a time in GMT
(i.e where the time zone offset is +, i.e. Mon, 29 Jul 2024 20:49:52
+)?

It is adding the offset to the hours and minutes, but you have to handle
carry over, potentially adding or subtracting a day.

If the best approach converting to seconds and the doing the math and
converting back? (I think this is the answer)



___
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: Individual licensing questions

2024-07-26 Thread J. Landman Gay via use-livecode

I hope this is generic enough.

I have several clients who use apps I created just for them, 20 years ago 
or more. Frequently these are converted HyperCard stacks like address books 
or recipe files. The apps are personal and no one else uses them. Every 2 
or 3 years they contact me because the app stops working, usually due to an 
incompatible OS update. I recompile the app, and sometimes make a few 
requested tweaks. Since a compile takes only a few minutes, and because I 
know these people personally, I charge almost nothing for these services. 
My last invoice for a rebuild and a minor change was $75.


I do not want to tell them that they will need to spend hundreds of dollars 
more for a one time minor update. They will not want a subscription because 
it's years between changes. And because they are not companies and many are 
now retired, paying hundreds of dollars to maintain an address book is not 
feasible. I am very sensitive to their budget requirements.


I'd like to propose a floor under which no royalty or subscription is 
required. A minimum charge of, say, $500 would yield $25 to LC at the 5% 
rate. A charge of $1000 would yield $50.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 26, 2024 6:04:30 AM Kevin Miller via use-livecode 
 wrote:


Folks, I'm happy to go on discussing the licensing model in general on here 
as needed, for example edge cases or things that aren’t clear in the model, 
as it helps us to hone it. But at this point if you have individual 
questions about the costs for you under the new model, please email them to 
support and we can give you an accurate quote and talk you through your 
options. Otherwise we are going to be going over the same territory here on 
the list for some time to come! We’ll build out the information pages some 
more worked examples next week too. Thanks.




Kind regards,



Kevin



Kevin Miller ~ ke...@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: Supress Standalone Builder Warnings

2024-05-03 Thread J. Landman Gay via use-livecode
I get it now. The way I work around this is to close all stacks and remove 
from memory (or just relaunch LC,) turn off messages in the toolbar, and 
open the splash stack. That prevents the other stacks from opening. Build 
the standalone and you shouldn't have any trouble, except for remembering 
to do the dance.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 3, 2024 5:14:49 PM Bob Sneidar via use-livecode 
 wrote:


I think I have solved (but not resolved) the mystery. My main stack has a 
lot of behaviors, which of course are enumerated in the stackFiles.


When the standalone is created, the builder closes the copy of the main 
stack but it apparently leaves all the COPIES of the behavior stacks in 
memory. When I open the original Mainstack, duplicate stacks are still 
open. There seems to be no way to delete (close) the copies, because there 
is no variable it seems that contains the names of all the behavior stacks 
left in memory by the standalone builder. They do not appear in the 
openStacks or the stacksInUse. They are not the same stacks as the 
stackFiles of the original mainstack.


What really needs to happen, and I have said this before, the standalone 
builder needs to keep track of all the files it puts in memory, and then 
close them each time a bild is made for each platform.


This is a bug and I will report it as such.

Bob S


On May 3, 2024, at 1:58 PM, Bob Sneidar via use-livecode 
 wrote:


Okay I think I traced the issue down to the fact that I “start using” a LOT 
of stacks, 64 to be exact, and I think that includes all the behaviors as 
well as the libraries. When I quit (or Livecode deletes) the mainStack, it 
does NOT delete all the stacksInUse.


I think my solution will be to close all the Stack Files of the main stack 
upon closing the Main Stack.


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: Supress Standalone Builder Warnings

2024-05-03 Thread J. Landman Gay via use-livecode

In that case, I'll have to try it next time.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 3, 2024 1:13:03 PM Curry Kenworthy via use-livecode 
 wrote:



Code in use 4 years, no issues; restores LC's own original SB technique!





___
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: Supress Standalone Builder Warnings

2024-05-03 Thread J. Landman Gay via use-livecode
I think the problem is in the splash stack, which is where the blocking 
handlers should go. When LC builds a standalone, it clones the one in the 
IDE and creates the standalone from that. Then it reopens the original 
which now triggers all the handlers in the original. You don't really need 
to worry about the other stacks, just the one that triggers the opening of 
the working stack(s). When the SB finishes, it will reopen the splash and 
the blocks will prevent any other stacks from loading into memory.  That 
may mean you need to use the message box to trigger the handler that opens 
the others right after the SB finishes.


The problem may be that LC doesn't close its own copy properly before 
reopening the original. I'd submit a bug report and include your stack(s) 
so they can take a look. Ideally there would be an option or property that 
would let us decide whether messages should be locked or not. It would be 
nice if the engine could store variable values, create the standalone with 
messages locked, and then restore the values after the build.


I'm not sure Curry's suggestion will work, since the SB manages 
lockmessages on its own. I've tried scripting a lock messages and it was 
ignored.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 3, 2024 11:41:24 AM Bob Sneidar via use-livecode 
 wrote:



Hi Curry.

I use a Splash Stack which then opens what I call the mainStack. Should I 
put this in the closeStack of the splash stack or the main stack?


Bob S


On May 3, 2024, at 8:38 AM, Curry Kenworthy via use-livecode 
 wrote:


Simplest way – In card 1 of main stack to build:

on closestack
 --- curryk 2020 no-purge LC build:
 if the environment is "development" then
lock messages
--- and only if add'l main stack issues:
try
   # delete stack "XYZ"
end try
 end if
end closestack

___
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: Supress Standalone Builder Warnings

2024-05-03 Thread J. Landman Gay via use-livecode
I think the pre* handlers would need it too but try without and see how it 
goes. It depends on where they are in the message hierarchy.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 3, 2024 10:29:13 AM Bob Sneidar via use-livecode 
 wrote:



Hi Jacque.

I did attempt to deploy this solution a while back, but for whatever reason 
it failed to work, but I’m sure I missed something. I’m curious, should 
this also be applied to (pre) openCard / closeCard handlers as well?


Thanks this is the simplest explanation I have seen.

Bob S


On May 2, 2024, at 5:40 PM, J. Landman Gay via use-livecode 
 wrote:


It's this:
<https://forums.livecode.com/viewtopic.php?f=8&t=34933&sid=3c32a0e28cf01b21391bbfae080efcd8&start=15#p198477>

The engine used to lock messages when building a standalone but that was 
changed 4 years ago. Personally I think it causes more problems than it 
solves, but the solution is to add (multiple) handlers to your stack to 
avoid the dialog. Most of my stacks work okay without the additions, but if 
you have certain handlers in the message hierarchy you get the dialog. The 
code you need to add is in the link above.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode 
 wrote:



Hi all.

I have about had it with the Standalone asking me if I want to save, purge 
or cancel for stacks that are already open. I ONLY ever have one version of 
any stack that is open, unless the Standalone Builder is leaving stack IN 
the Standalone in memory, which would be breathtakingly bad programming, 
and I do not think they are doing that.


What I would like to do is edit the library that is popping up that dialog, 
and setting it to where it always cancels (doesn’t change anything). I know 
I will have to update the library each time a new release came out but it’s 
worth it just to avoid the hassle of quitting and relaunching every time a 
different standalone need to be built.


I tried editing the script of revSaveAsStandalone.livecode in the MacOS 
bundle, but the word “purge” does not occur in the library. Any idea what 
library is actually popping up that dialog?


BTW the standalone building IS much faster with 9.6.12 (rc1)

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


___
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: Supress Standalone Builder Warnings

2024-05-02 Thread J. Landman Gay via use-livecode

It's this:


The engine used to lock messages when building a standalone but that was 
changed 4 years ago. Personally I think it causes more problems than it 
solves, but the solution is to add (multiple) handlers to your stack to 
avoid the dialog. Most of my stacks work okay without the additions, but if 
you have certain handlers in the message hierarchy you get the dialog. The 
code you need to add is in the link above.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2024 6:58:45 PM Bob Sneidar via use-livecode 
 wrote:



Hi all.

I have about had it with the Standalone asking me if I want to save, purge 
or cancel for stacks that are already open. I ONLY ever have one version of 
any stack that is open, unless the Standalone Builder is leaving stack IN 
the Standalone in memory, which would be breathtakingly bad programming, 
and I do not think they are doing that.


What I would like to do is edit the library that is popping up that dialog, 
and setting it to where it always cancels (doesn’t change anything). I know 
I will have to update the library each time a new release came out but it’s 
worth it just to avoid the hassle of quitting and relaunching every time a 
different standalone need to be built.


I tried editing the script of revSaveAsStandalone.livecode in the MacOS 
bundle, but the word “purge” does not occur in the library. Any idea what 
library is actually popping up that dialog?


BTW the standalone building IS much faster with 9.6.12 (rc1)

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: Android 13 and higher and share files problems

2024-04-18 Thread J. Landman Gay via use-livecode
There is a similar bug report in the QCC, you could add your comments to 
it. https://quality.livecode.com/show_bug.cgi?id=23526


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 18, 2024 10:29:26 AM Ludovic THEBAULT via use-livecode 
 wrote:


Le 17 avr. 2024 à 10:18, panagiotis merakos via use-livecode 
 a écrit :


Hello Ludovic,

Which file explorer app do you use?



Hello Panos,

I use the phone's file manager. And even when connected to Windows, 
Explorer doesn't show the folder.


I've created another application using a text file that needs to be 
imported or retrieved, and it's the same problem. I tested on an emulator 
(Pixel XL Api 33), same thing, the folder doesn't appear either on the 
internal storage or on the SD card.


On the application file on the playstore, the permissions displayed seem to 
be correct:


Location
approximate location (network-based)
precise location (GPS and network-based)

Photos/Media/Files
read the contents of your USB storage
modify or delete the contents of your USB storage

Storage
read the contents of your USB storage
modify or delete the contents of your USB storage

Other
full network access
control vibration

Do I need to open a bug entry ?

Ludovic

___
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: sideloading updates to mobile

2024-03-02 Thread J. Landman Gay via use-livecode
Thanks for checking, now I don't have to change anything. Android also has 
both a sandboxed documents folder and a public one.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 2, 2024 11:55:52 AM Mike Kerner via use-livecode 
 wrote:



looks like specialfolderpath("documents") is sandboxed, after all.
apparently there is another Documents folder, that lc isn't accessing, that
is not.

On Fri, Mar 1, 2024 at 6:39 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


Let me know if you find out. I'm still running in the before times.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 1, 2024 12:25:21 PM Mike Kerner via use-livecode
 wrote:

> the latest pieces that i found on the topic said that files can access
the
> documents folder (but not library), and that it is available by other
> means, without jailbreaking.
> thus, i need to screw around with this, some more.
> if it's unavailable, then great, no need for library.
> in The Before Times, documents was isolated, but i thought that changed.
>
> On Fri, Mar 1, 2024 at 1:10 PM J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> A quick test would be to see if Files can access the private documents
of
>> any installed app. I could try it if I didn't have to steal my husband's
>> phone, which is tricky business.
>>
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On March 1, 2024 11:40:09 AM Mike Kerner via use-livecode
>>  wrote:
>>
>> > i'm going to have to mess with this, some more. i didn't think
documents
>> is
>> > sandboxed.
>> >
>> >
>> > On Fri, Mar 1, 2024 at 11:49 AM Bob Sneidar via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> >
>> >> They should stop calling it a Sandbox then. It’s the entire beach!
LOL!
>> >>
>> >> Bob S
>> >>
>> >>
>> >> On Mar 1, 2024, at 8:45 AM, J. Landman Gay via use-livecode <
>> >> use-livecode@lists.runrev.com> wrote:
>> >>
>> >> Right. In spite of Android's "external documents" option, which I
>> needed,
>> >> it's still in the sandbox.
>> >>
>> >> --
>> >> Jacqueline Landman Gay | jac...@hyperactivesw.com> >> jac...@hyperactivesw.com>
>> >> HyperActive Software | http://www.hyperactivesw.com<
>> >> http://www.hyperactivesw.com/>
>> >> On March 1, 2024 10:42:04 AM Bob Sneidar via use-livecode <
>> >> use-livecode@lists.runrev.com> wrote:
>> >>
>> >>
>> >>
>> >> ___
>> >> use-livecode mailing list
>> >> use-livecode@lists.runrev.com
>> >> Please visit this url to subscribe, unsubscribe and manage your
>> >> subscription preferences:
>> >> http://lists.runrev.com/mailman/listinfo/use-livecode
>> >>
>> >
>> >
>> > --
>> > On the first day, God created the heavens and the Earth
>> > On the second day, God created the oceans.
>> > On the third day, God put the animals on hold for a few hours,
>> >   and did a little diving.
>> > And God said, "This is good."
>> > ___
>> > use-livecode mailing list
>> > use-livecode@lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailm

Re: sideloading updates to mobile

2024-03-01 Thread J. Landman Gay via use-livecode

Let me know if you find out. I'm still running in the before times.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 1, 2024 12:25:21 PM Mike Kerner via use-livecode 
 wrote:



the latest pieces that i found on the topic said that files can access the
documents folder (but not library), and that it is available by other
means, without jailbreaking.
thus, i need to screw around with this, some more.
if it's unavailable, then great, no need for library.
in The Before Times, documents was isolated, but i thought that changed.

On Fri, Mar 1, 2024 at 1:10 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


A quick test would be to see if Files can access the private documents of
any installed app. I could try it if I didn't have to steal my husband's
phone, which is tricky business.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 1, 2024 11:40:09 AM Mike Kerner via use-livecode
 wrote:

> i'm going to have to mess with this, some more. i didn't think documents
is
> sandboxed.
>
>
> On Fri, Mar 1, 2024 at 11:49 AM Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> They should stop calling it a Sandbox then. It’s the entire beach! LOL!
>>
>> Bob S
>>
>>
>> On Mar 1, 2024, at 8:45 AM, J. Landman Gay via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> Right. In spite of Android's "external documents" option, which I
needed,
>> it's still in the sandbox.
>>
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com> jac...@hyperactivesw.com>
>> HyperActive Software | http://www.hyperactivesw.com<
>> http://www.hyperactivesw.com/>
>> On March 1, 2024 10:42:04 AM Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




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




--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
  and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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





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


Re: sideloading updates to mobile

2024-03-01 Thread J. Landman Gay via use-livecode
A quick test would be to see if Files can access the private documents of 
any installed app. I could try it if I didn't have to steal my husband's 
phone, which is tricky business.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 1, 2024 11:40:09 AM Mike Kerner via use-livecode 
 wrote:



i'm going to have to mess with this, some more. i didn't think documents is
sandboxed.


On Fri, Mar 1, 2024 at 11:49 AM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:


They should stop calling it a Sandbox then. It’s the entire beach! LOL!

Bob S


On Mar 1, 2024, at 8:45 AM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

Right. In spite of Android's "external documents" option, which I needed,
it's still in the sandbox.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com<
http://www.hyperactivesw.com/>
On March 1, 2024 10:42:04 AM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:



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




--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
  and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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





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


Re: sideloading updates to mobile

2024-03-01 Thread J. Landman Gay via use-livecode

But it's a private beach. No trespassing. Guards. Barbed wire.

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



They should stop calling it a Sandbox then. It’s the entire beach! LOL!

Bob S


On Mar 1, 2024, at 8:45 AM, J. Landman Gay via use-livecode 
 wrote:


Right. In spite of Android's "external documents" option, which I needed, 
it's still in the sandbox.


--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com>
HyperActive Software | 
http://www.hyperactivesw.com<http://www.hyperactivesw.com/>
On March 1, 2024 10:42:04 AM Bob Sneidar via use-livecode 
 wrote:




___
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: sideloading updates to mobile

2024-03-01 Thread J. Landman Gay via use-livecode
Right. In spite of Android's "external documents" option, which I needed, 
it's still in the sandbox.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 1, 2024 10:42:04 AM Bob Sneidar via use-livecode 
 wrote:



Hell that means EVERYTHING is sandboxed! I need to go buy a pail and shovel!

Bob S


On Mar 1, 2024, at 8:31 AM, J. Landman Gay via use-livecode 
 wrote:


Both library and documents are sandboxed, I think all the listed folders 
are. I mostly use documents so that I have the same file paths on both iOS 
and Android since I generally need to build for both. But either one will work.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 1, 2024 10:08:15 AM Bob Sneidar via use-livecode 
 wrote:



Isn’t the Library sandboxed?

Bob S


On Feb 29, 2024, at 6:35 PM, Mike Kerner via use-livecode 
 wrote:


any reason to store in documents instead of in library?
it seems like there might be less of a chance of the user misusing the
Files app to break the app.

On Thu, Feb 29, 2024 at 5:32 PM Mike Kerner 
mailto:mikeker...@roadrunner.com>>

wrote:

ah. that's a better way of handling this. i was going to have the app
check the documents folder for updates, before loading a stack, but if i
keep the source stacks, there, it will work better.

On Thu, Feb 29, 2024 at 3:10 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

You can't add or change anything inside the app bundle so downloaded
files
have to go in specialFolderPath("documents"). Copy the originals from the
resources folder to the documents folder on first launch so you always
have
a known file path location. Any file in documents will be overwritten
with
the new download if the file name is the same.


___
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: sideloading updates to mobile

2024-03-01 Thread J. Landman Gay via use-livecode
Both library and documents are sandboxed, I think all the listed folders 
are. I mostly use documents so that I have the same file paths on both iOS 
and Android since I generally need to build for both. But either one will work.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 1, 2024 10:08:15 AM Bob Sneidar via use-livecode 
 wrote:



Isn’t the Library sandboxed?

Bob S


On Feb 29, 2024, at 6:35 PM, Mike Kerner via use-livecode 
 wrote:


any reason to store in documents instead of in library?
it seems like there might be less of a chance of the user misusing the
Files app to break the app.

On Thu, Feb 29, 2024 at 5:32 PM Mike Kerner 
mailto:mikeker...@roadrunner.com>>

wrote:

ah. that's a better way of handling this. i was going to have the app
check the documents folder for updates, before loading a stack, but if i
keep the source stacks, there, it will work better.

On Thu, Feb 29, 2024 at 3:10 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

You can't add or change anything inside the app bundle so downloaded
files
have to go in specialFolderPath("documents"). Copy the originals from the
resources folder to the documents folder on first launch so you always
have
a known file path location. Any file in documents will be overwritten
with
the new download if the file name is the same.


___
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: sideloading updates to mobile

2024-02-29 Thread J. Landman Gay via use-livecode
You can't add or change anything inside the app bundle so downloaded files 
have to go in specialFolderPath("documents"). Copy the originals from the 
resources folder to the documents folder on first launch so you always have 
a known file path location. Any file in documents will be overwritten with 
the new download if the file name is the same.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 29, 2024 7:31:28 AM Mike Kerner via use-livecode 
 wrote:



i haven't tried deploying to a device, yet, so bear with me:
when you load the updated stack/behavior/etc., are you saving it into the
app bundle, or elsewhere? on locked/single-app devices, persistence is the
thing (but i would imagine that it works the same on single-app devices as
it does for normal ones).

On Wed, Feb 28, 2024 at 10:12 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


"Revert this stack". That just means "reload from disk". Or you can
specify
a different stack.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 28, 2024 8:12:57 PM Mike Kerner via use-livecode
 wrote:

> so, how do we force LC to reload the stack?
> i can force the script to reload, and replace it, but if i want to reload
> the stack, do i have to close it, replace it, and then open it?
>
> On Wed, Feb 21, 2024 at 8:28 PM Mike Kerner 
> wrote:
>
>> thanks, jlg. that's kind-of what i was thinking.
>>
>>
>> On Wed, Feb 21, 2024 at 4:58 PM J. Landman Gay via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>> I've done this for several mobile apps. As long as the updates only
>>> reside
>>> in the app's sandboxed container, even the App Store doesn't care.
>>>
>>> Basically, I put a short text file on the server listing the update
>>> version(s) of the file(s), one per line if they are all different.
Every
>>> stack in the app suite has a custom property named cVersion. If
necessary
>>> you can also add the download URL to the same line. On launch, the app
>>> downloads and parses the text to see if the server version is different
>>> from the installed one. If so, it uses "put URL  into URL
>>> >> path>" to download and save the the updates to the mobile documents
>>> folder,
>>> overwriting the old ones.
>>>
>>> It's pretty simple, if I understand what you need correctly. I also
store
>>> other info in the the text file occasionally, such as a text string
>>> describing the updates so I can show an answer dialog if I want the
user
>>> to
>>> agree or decline the update (which will reappear on the next launch if
>>> they
>>> decline.)
>>>
>>> Sample text file is usually something like this:
>>>
>>>Stack 1  https://www.domain.com/updates/stack1.livecode
>>>Stack 2  https://www.domain.com/updates/stack2.livecode
>>>..
>>>This update provides new functionality and bug fixes.
>>>
>>> If you don't want to scan each stack for its cVersion, you can keep a
>>> text
>>> file in the mobile documents folder that lists the current versions so
>>> you
>>> can easily compare that to the one on the server. After updating the
>>> stacks, update the stored text file as well.
>>>
>>> If updates are mandatory, just skip the comparisons entirely and
>>> force-download the updates. If only some of the stacks should be
updated,
>>> omit the ones that don't need to be updated from the server file.
>>>
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>> On February 21, 2024 12:53:25 PM Mike Kerner via use-livecode
>>>  wrote:
>>>
>>> > right - no updating the engine + runtime in this scenario, just the
>>> > stacks + scripts, and perhaps plugins.
>>> > we are going to continue to only privately distribute to our
corporate
>>> > clients, so the app store won't be part of the equation. that does
not
>>> mean
>>> > that apple won't object, though (but, i believe the rules for
privately
>>> > distributed apps are much more lenient than for app store apps - at
>>> least,
>>> > they have been for us, up until now)
>>> >
>>> > On Wed, Feb 21, 2024 at 12:53 PM Klaus major-k via use-livecode <
>>> > use-livecode@lists.runrev.com>

Re: sideloading updates to mobile

2024-02-28 Thread J. Landman Gay via use-livecode
"Revert this stack". That just means "reload from disk". Or you can specify 
a different stack.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 28, 2024 8:12:57 PM Mike Kerner via use-livecode 
 wrote:



so, how do we force LC to reload the stack?
i can force the script to reload, and replace it, but if i want to reload
the stack, do i have to close it, replace it, and then open it?

On Wed, Feb 21, 2024 at 8:28 PM Mike Kerner 
wrote:


thanks, jlg. that's kind-of what i was thinking.


On Wed, Feb 21, 2024 at 4:58 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:


I've done this for several mobile apps. As long as the updates only
reside
in the app's sandboxed container, even the App Store doesn't care.

Basically, I put a short text file on the server listing the update
version(s) of the file(s), one per line if they are all different.  Every
stack in the app suite has a custom property named cVersion. If necessary
you can also add the download URL to the same line. On launch, the app
downloads and parses the text to see if the server version is different
from the installed one. If so, it uses "put URL  into URL
" to download and save the the updates to the mobile documents
folder,
overwriting the old ones.

It's pretty simple, if I understand what you need correctly. I also store
other info in the the text file occasionally, such as a text string
describing the updates so I can show an answer dialog if I want the user
to
agree or decline the update (which will reappear on the next launch if
they
decline.)

Sample text file is usually something like this:

   Stack 1  https://www.domain.com/updates/stack1.livecode
   Stack 2  https://www.domain.com/updates/stack2.livecode
   ..
   This update provides new functionality and bug fixes.

If you don't want to scan each stack for its cVersion, you can keep a
text
file in the mobile documents folder that lists the current versions so
you
can easily compare that to the one on the server. After updating the
stacks, update the stored text file as well.

If updates are mandatory, just skip the comparisons entirely and
force-download the updates. If only some of the stacks should be updated,
omit the ones that don't need to be updated from the server file.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 21, 2024 12:53:25 PM Mike Kerner via use-livecode
 wrote:

> right - no updating the engine + runtime in this scenario, just the
> stacks + scripts, and perhaps plugins.
> we are going to continue to only privately distribute to our corporate
> clients, so the app store won't be part of the equation. that does not
mean
> that apple won't object, though (but, i believe the rules for privately
> distributed apps are much more lenient than for app store apps - at
least,
> they have been for us, up until now)
>
> On Wed, Feb 21, 2024 at 12:53 PM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hi Mike,
>>
>> > Am 21.02.2024 um 18:47 schrieb Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >
>> > sorry that i was not clear. we've been using private deploys since
around
>> > 2010, using airlaunch to generate the bundle, and then uploading to a
>> > private url. that's not what i meant.
>> > i'm talking about updating/patching an existing app, in place. the
>> devices
>> > are in single-app mode, so we would either have to pay for mdm and
then
>> use
>> > that service to push app updates, OR, if we didn't use mdm, we could
have
>> > the app pull the update and apply it.
>> > i can kind-of guess how to make it work, but i'm sure there are a
couple
>> of
>> > tricks that i don't want to have to figure out, if someone else has
>> already
>> > figured it out.
>>
>> you could use the "splashscreen" approach to update one or more stacks,
>> but that will
>> of course only work if you do not want to update the actual
engine/runtime.
>>
>> However I'm not sure if Apple will allow this, no problem on Android
>> however.
>>
>>
>> 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/mail

Re: disabled buttons still receive events, they just process them, later?

2024-02-21 Thread J. Landman Gay via use-livecode
Exactly 37 years. I remember because I started learning HC when my son was 
born in order to take my mind off diapers. If I remember, we can commiserate .

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 21, 2024 8:14:19 PM Mike Kerner via use-livecode 
 wrote:



pfft
there is zero chance of that
it's been, what 37 years?
man, i'm so old.

On Wed, Feb 21, 2024 at 8:35 PM Stephen Barncard via use-livecode <
use-livecode@lists.runrev.com> wrote:


"there's still stuff to
learn."

. and remember .
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org


On Wed, Feb 21, 2024 at 5:24 PM Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> thanks, jacque & mark
> it's amazing that even after...a really long time...there's still stuff
to
> learn.
>
> On Wed, Feb 21, 2024 at 5:16 PM Mark Waddingham via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > It’s because of the wait - ‘blocking’ waits (those which aren’t ‘with
> > messages’) queue any (low level) events so they are handled at the next
> > wait (in this case the global one the engine does implicitly when there
> are
> > no handlers executing).
> >
> > Flushing events after the wait as Jacque suggests will ensure they
aren’t
> > there to handle.
> >
> > Warmest Regards.
> >
> > Mark.
> >
> > Sent from my iPhone
> >
> > > On 21 Feb 2024, at 21:59, Mike Kerner via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > i did.
> > > i have both a button, and a power button.
> > > script:
> > >
> > > *local* count
> > >
> > > *on* mouseUp
> > >
> > > *if* the disabled of me *then* *put* cr & "disabled" after msg
> > >
> > > *add* 1 to count
> > >
> > > *set* the enabled of me to false
> > >
> > > *put* count
> > >
> > > *wait* 2 second
> > >
> > > *set* the enabled of me to true
> > >
> > > *end* mouseUp
> > >
> > >> On Wed, Feb 21, 2024 at 4:47 PM Craig Newman via use-livecode <
> > >> use-livecode@lists.runrev.com> wrote:
> > >>
> > >> Mike.
> > >>
> > >> In a new stack I placed a button with this:
> > >>
> > >> on mouseUp
> > >>  beep 2
> > >> end mouseUp
> > >>
> > >> If I click on the button I hear two clicks. I disabled the button
and
> > >> clicked on it. I enabled the button. No clicks. I did this all by
> hand.
> > Did
> > >> you?
> > >>
> > >> Craig
> > >>
> > >>> On Feb 21, 2024, at 4:07 PM, Mike Kerner via use-livecode <
> > >> use-livecode@lists.runrev.com> wrote:
> > >>>
> > >>> alright, i'm a little surprised to notice this:
> > >>> i have a button. i disabled the button.
> > >>> then i clicked on the button
> > >>> then i re-enabled the button
> > >>> the click, from the period while the button was disabled, is
received
> > and
> > >>> processed by the button.
> > >>> that seems problematic, to me. how would one cause clicks to be
> > >> discarded,
> > >>> permanently? hide the button? overlay it with a transparent control
> > that
> > >>> will absorb and ignore the clicks?
> > >>>
> > >>> --
> > >>> On the first day, God created the heavens and the Earth
> > >>> On the second day, God created the oceans.
> > >>> On the third day, God put the animals on hold for a few hours,
> > >>>  and did a little diving.
> > >>> And God said, "This is good."
> > >>> ___
> > >>> use-livecode mailing list
> > >>> use-livecode@lists.runrev.com
> > >>> Please visit this url to subscribe, unsubscribe and manage your
> > >> subscription preferences:
> > >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> > >>
> > >>
> > >> ___
> > >> use-livecode mailing list
> > >> use-livecode@lists.runrev.com
> > >> Please visit this url to subscribe, unsubscribe and manage your
> > >> subscription preferences:
> > >> http://lists.runrev.com/mailman/listinfo/use-livecode
> > >>
> > >
> > >
> > > --
> > > On the first day, God created the heavens and the Earth
> > > On the second day, God created the oceans.
> > > On the third day, God put the animals on hold for a few hours,
> > >   and did a little diving.
> > > And God said, "This is good."
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
> ___

Re: disabled buttons still receive events, they just process them, later?

2024-02-21 Thread J. Landman Gay via use-livecode
That seems a little odd, I haven't noticed that. But one way to block the 
messages is to use flushEvents() in the button script:


flushEvents("mouseDown")
flushEvents("mouseUp")

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 21, 2024 3:09:44 PM Mike Kerner via use-livecode 
 wrote:



alright, i'm a little surprised to notice this:
i have a button. i disabled the button.
then i clicked on the button
then i re-enabled the button
the click, from the period while the button was disabled, is received and
processed by the button.
that seems problematic, to me. how would one cause clicks to be discarded,
permanently? hide the button? overlay it with a transparent control that
will absorb and ignore the clicks?

--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
  and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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





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


Re: sideloading updates to mobile

2024-02-21 Thread J. Landman Gay via use-livecode
I've done this for several mobile apps. As long as the updates only reside 
in the app's sandboxed container, even the App Store doesn't care.


Basically, I put a short text file on the server listing the update 
version(s) of the file(s), one per line if they are all different.  Every 
stack in the app suite has a custom property named cVersion. If necessary 
you can also add the download URL to the same line. On launch, the app 
downloads and parses the text to see if the server version is different 
from the installed one. If so, it uses "put URL  into URL path>" to download and save the the updates to the mobile documents folder, 
overwriting the old ones.


It's pretty simple, if I understand what you need correctly. I also store 
other info in the the text file occasionally, such as a text string 
describing the updates so I can show an answer dialog if I want the user to 
agree or decline the update (which will reappear on the next launch if they 
decline.)


Sample text file is usually something like this:

  Stack 1  https://www.domain.com/updates/stack1.livecode
  Stack 2  https://www.domain.com/updates/stack2.livecode
  ..
  This update provides new functionality and bug fixes.

If you don't want to scan each stack for its cVersion, you can keep a text 
file in the mobile documents folder that lists the current versions so you 
can easily compare that to the one on the server. After updating the 
stacks, update the stored text file as well.


If updates are mandatory, just skip the comparisons entirely and 
force-download the updates. If only some of the stacks should be updated, 
omit the ones that don't need to be updated from the server file.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On February 21, 2024 12:53:25 PM Mike Kerner via use-livecode 
 wrote:



right - no updating the engine + runtime in this scenario, just the
stacks + scripts, and perhaps plugins.
we are going to continue to only privately distribute to our corporate
clients, so the app store won't be part of the equation. that does not mean
that apple won't object, though (but, i believe the rules for privately
distributed apps are much more lenient than for app store apps - at least,
they have been for us, up until now)

On Wed, Feb 21, 2024 at 12:53 PM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:


Hi Mike,

> Am 21.02.2024 um 18:47 schrieb Mike Kerner via use-livecode <
use-livecode@lists.runrev.com>:
>
> sorry that i was not clear. we've been using private deploys since around
> 2010, using airlaunch to generate the bundle, and then uploading to a
> private url. that's not what i meant.
> i'm talking about updating/patching an existing app, in place. the
devices
> are in single-app mode, so we would either have to pay for mdm and then
use
> that service to push app updates, OR, if we didn't use mdm, we could have
> the app pull the update and apply it.
> i can kind-of guess how to make it work, but i'm sure there are a couple
of
> tricks that i don't want to have to figure out, if someone else has
already
> figured it out.

you could use the "splashscreen" approach to update one or more stacks,
but that will
of course only work if you do not want to update the actual engine/runtime.

However I'm not sure if Apple will allow this, no problem on Android
however.


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




--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
  and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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





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


Re: LockLoc and grab

2024-01-23 Thread J. Landman Gay via use-livecode
I can reproduce this in both LC 10 and 9.6.9 but I can't explain it. It's unclear if this is a 
feature or a bug.


On 1/23/24 11:32 AM, David Epstein via use-livecode wrote:

Let me try to clarify the problem I stated.

I am not trying to remove the button, I am trying to use the “grab” command to 
let a user move the button around the window by dragging it.

If I use a script to “set the loc” of a button to somewhere outside that 
group’s rectangle
- the group will resize if its lockLoc property is false (thus keeping 
the relocated button visible);
- but the button will disappear if the group’s lockLoc property is true.

But when I use the “grab” command to relocate the button outside the group’s 
current rectangle the group does not resize even if its lockLoc property is 
false.




A group with lockLoc set to false does not resize itself when an object in it 
is moved by a ?grab? command.  Is this a bug?  Is there a simple workaround?

Recipe using 10.0.0 dp6 on an intel Mac:

Create a button with this script:
on mouseDown; grab me; end mouseDown.
Group the button.  Confirm that the group?s lockLoc property is false.  Then 
with the browse tool, drag the button past the edge of the group.  The button 
disappears.



--
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: We lost an Angle

2024-01-11 Thread J. Landman Gay via use-livecode
I'm so very sorry to hear that, Ralph. It's such a hard thing. My thoughts 
are with you, always.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On January 10, 2024 7:53:52 PM Ralph DiMola via use-livecode 
 wrote:



Many of you knew Margaret from the conferences. We lost her today. She spent
her life as a nurse in the oncology department. She gave her love and
empathy to all her patients. She was so full of life and gave it a gallant
try, but was not to be. We just celebrated our 40th anniversary in December.

You all were so kind and welcoming to her. I thank you for that.



Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

___
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: Application disappears unexpectedly (goes into background)

2024-01-02 Thread J. Landman Gay via use-livecode
Nothing else comes to mind, except maybe a bug that was around a couple of 
years ago. I can't remember exactly which app was involved, but if you had 
a certain one installed there was a similar issue. I guess if you boot into 
safe mode and see if the problem goes away, you may have the culprit app 
installed. Wish I could remember which one it was.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On January 1, 2024 4:52:34 AM Alan Stenhouse  wrote:


HI Jacqueline, thanks and sorry for the delay in responding... xmas etc!

Yes, there are no hide (nor set visible to false) of windows though there 
is of some controls. But not related to any relevant scripts.


Any other ideas? :-)

cheers
Alan

On 23 Dec 2023, at 3:30 am, jac...@hyperactivesw.com 
<mailto:jac...@hyperactivesw.com> viA use-livecode-requ...@lists.runrev.com 
wrote:


From: "J. Landman Gay" 

Have you done a global search for the word "hide" in the scripts?






___
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: Application disappears unexpectedly (goes into background)

2023-12-21 Thread J. Landman Gay via use-livecode

Have you done a global search for the word "hide" in the scripts?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 21, 2023 7:55:47 PM Alan Stenhouse via use-livecode 
 wrote:


I've got a MacOS LC standalone that opens a stackfile external to the 
application. Whenever I click inside one of the stack windows which doesn't 
have current focus, all the stack windows disappear and reappear only when 
I switch to another application and back again. Activating a stack window 
by clicking on the window title bar works normally (i.e. does not disappear).


Has anyone else seen this at all? Any suggestions for tracking possible causes?

MacOS Ventura
Laptop M1
LC 10 dp... and LC9.11


Thanks a lot for any pointers!

cheers
Alan
___
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: Which is faster...

2023-12-15 Thread J. Landman Gay via use-livecode
I asked this back in the early MetaCard days and received a one word 
answer: "variables". It's nice to know the reason behind it, and that it 
hasn't changed.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 15, 2023 9:01:34 AM Mark Waddingham via use-livecode 
 wrote:


Fetching a value directly from a variable will always be faster than any
other method - as it essentially reduces to fetching or storing a value
from a (integer indexed) table.




___
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: Get rid of the remote debugger

2023-12-11 Thread J. Landman Gay via use-livecode
If you have a reproducible script it would be something LC probably should 
know about in a bug report.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 11, 2023 10:43:27 AM Bob Sneidar via use-livecode 
 wrote:


Ahah! I removed the folder from the application package extensions folder 
and I no longer get the error! Also, my code is not throwing ANY kind of 
error, so this is definitely something wrong with the remote debugger or 
something else that thinks a remote debugger error has occurred when it hasn’t.


Bob S



On Dec 11, 2023, at 8:36 AM, Bob Sneidar  wrote:

That is not where the remote debugger lives on MacOS. It is in the 
Application package. I can try to remove it from there and see what happens.


Bob S


On Dec 8, 2023, at 4:14 PM, matthias rebbe via use-livecode 
 wrote:


Hm, did you already try to delete the folder   
Extensions/com.livecode.library.remotedebugger in the Livecode Extensions 
folder?


Am 09.12.2023 um 00:42 schrieb Bob Sneidar via use-livecode 
:


I occasionally get the dreaded error in remote debugger stack is password 
protected issue. I don’t WANT the remote debugger. I do not NEED the remote 
debugger. How can I rid myself of this incredibly annoying pest?


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




___
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: Get rid of the remote debugger

2023-12-10 Thread J. Landman Gay via use-livecode
Oh! Sorry, I thought you were testing on mobile. I don't think you should 
be getting errors from the remote debugger when you're in the IDE...very 
strange.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 10, 2023 6:27:33 PM Bob Sneidar via use-livecode 
 wrote:


The problem is that I am not testing a mobile app. I am simply launching a 
stack in the IDE. The remote debugger should not even be in the message 
path. It’s clear there is a problem with my code, but because the Debugger 
gets in the way I can’t tell where.





___
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: Get rid of the remote debugger

2023-12-10 Thread J. Landman Gay via use-livecode
You can just turn it off when testing mobile and restore it when back in 
the IDE.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 10, 2023 4:02:01 PM Bob Sneidar via use-livecode 
 wrote:


I will try the suggestions, however I use the IDE debugger extensively so 
that is not an option.


Sent from my iPhone

On Dec 9, 2023, at 05:35, Paul Dupuis via use-livecode 
 wrote:


For what it's worth, I sometime get these errors. I develop on Windows 11 
(x64) using LC 9.6.11 and do not develop for mobile or web, so no remote 
debugging. I do not want to get rid of (remove) or turn off script 
debugging. I use the script debugger all the time.


There is some recipe, that I have not figured out yet, where this error 
occurs, when you are just doing what I'd consider "normal" debugging. I 
just have not had time to pin it down. (To busy filing PDF Widget bugs and 
enhancements to get it to parity with the XPDF external).


Paul Dupuis
Researchware


On 12/8/2023 10:01 PM, J. Landman Gay via use-livecode wrote:
Piggy backing... Did you try turning off script debugging from the 
development menu?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 8, 2023 6:16:57 PM matthias rebbe via use-livecode 
 wrote:


Hm, did you already try to delete the folder   
Extensions/com.livecode.library.remotedebugger in the Livecode Extensions 
folder?


Am 09.12.2023 um 00:42 schrieb Bob Sneidar via use-livecode 
:


I occasionally get the dreaded error in remote debugger stack is password 
protected issue. I don’t WANT the remote debugger. I do not NEED the remote 
debugger. How can I rid myself of this incredibly annoying pest?


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





___
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: Get rid of the remote debugger

2023-12-08 Thread J. Landman Gay via use-livecode
Piggy backing... Did you try turning off script debugging from the 
development menu?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On December 8, 2023 6:16:57 PM matthias rebbe via use-livecode 
 wrote:


Hm, did you already try to delete the folder   
Extensions/com.livecode.library.remotedebugger in the Livecode Extensions 
folder?


Am 09.12.2023 um 00:42 schrieb Bob Sneidar via use-livecode 
:


I occasionally get the dreaded error in remote debugger stack is password 
protected issue. I don’t WANT the remote debugger. I do not NEED the remote 
debugger. How can I rid myself of this incredibly annoying pest?


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





___
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: [[ ANN ]] New Enhancements Bundle v1.0.33 available

2023-11-15 Thread J. Landman Gay via use-livecode
I got the "duplicate stack" error twice too, and hit the Purge button for 
those. It was after that I got the repeated error about the utilities 
library. I'll try installation again making sure I relaunch LC in between.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 15, 2023 6:42:55 PM Bob Sneidar via use-livecode 
 wrote:


Okay I found it. Thanks for the help. I did have to run it a couple times 
because there were dependencies that needed to be installed first which I 
assume were not active until the restart of LC. Running the installer a 
second time did the trick.


I wonder if there shouldn’t be two buttons, one for the dependent library, 
and another for the actual widgets? Check for the dependent library and 
version first, if not there show the first button, hide the second, 
otherwise hide the first button and show the second.


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: [[ ANN ]] New Enhancements Bundle v1.0.33 available

2023-11-15 Thread J. Landman Gay via use-livecode

On 11/15/23 8:34 AM, panagiotis merakos via use-livecode wrote:

Hello all,

Just to let you know that there is an update of the enhancements bundle
available in your account area.

Latest update 1.0.33: 15 November 2023


Most of it won't install, I keep getting a message to install the widgetBundleUtils before 
continuing. (There's no way to cancel out of the installation so I need to hit "OK" multiple 
times.)


I do have this in the My LiveCode folder:
My LiveCode/Extensions/com.livecode.library.widgetbundleutils.1.1.1

It might matter that this folder is not in the usual default location, it's in a Dropbox so I 
can share it with my other Mac. Where does it need to be?


--
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: Possible enhancement request

2023-11-02 Thread J. Landman Gay via use-livecode

+...

I can never keep all those variations straight.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 2, 2023 10:21:29 AM Klaus major-k via use-livecode 
 wrote:



Hi friends,

before I post an enhancment request to the "Qualtiy Center", I wanted to 
hear your opinions about this.


Wouldn't it be great if ALL widgets would receive and handle at least a 
mouseup (and mousedown) meassage?

I have always wondered why that is not the case.

This way scripting would be a lot easier for us and we do not have to 
remember the many different messages
the widgets have. Yes, they can be seen in the script editor on the left 
side, nevertheless... :-)


Examples:
PolyGrid -> cellclick
PolyList -> itemclick
Segmentedcontrol -> hilitechanged
Switch Button -> hilitechanged
Radial Slider -> valueChanged
Navigation Bar -> hilitechanged
Line Graph -> receives NO message at all?

Maybe I forgot one or two things here, but I think you get the picture.
Thank you for your opinions.


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: Oddity in 'currentCard' function?

2023-10-26 Thread J. Landman Gay via use-livecode

On 10/26/23 2:26 PM, J. Landman Gay via use-livecode wrote:




It can be read if you supply syntax that requests a legal value; i.e.:

   the name of the currentCard of stack X
   the loc of the currentCard of stack X
   the backColor of the currentCard of stack X


Oops. That's wrong. It errors. This:

  put the loc of cd the currentcard of stack X
  etc...

--
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: Oddity in 'currentCard' function?

2023-10-26 Thread J. Landman Gay via use-livecode

On 10/26/23 11:17 AM, Mark Wieder via use-livecode wrote:

So basically to stay out of trouble "currentcard" should be thought of as a 
write-only property?


It can be read if you supply syntax that requests a legal value; i.e.:

  the name of the currentCard of stack X
  the loc of the currentCard of stack X
  the backColor of the currentCard of stack X

Cards themselves have no intrinsic value (what would they return?) but their properties do. 
Similarly, what would expect to see if you:


   answer stack X

--
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: some mobilecontrolprops do not work on Android?

2023-10-26 Thread J. Landman Gay via use-livecode
The backgroundColor and alpha settings might be a dictionary error. The opaque setting says it 
is available only for iOS.


I think the appearance of mobile players is set directly by the OS now, so the color and 
transparency may not be available on Android.


On 10/26/23 9:56 AM, Klaus major-k via use-livecode wrote:

Hi friends,

I (now successfully :) create a player for MP3 playback,
however some properties do not seem to work on Android,
although the Dictionary states otherwise!?
--
  mobilecontrolCreate "player", "mplayer"
  mobileControlSet "mplayer", "visible", TRUE
  mobileControlSet "mplayer", "rect", (the rect of grc "player")

## Does nothing:
  mobileControlSet "mplayer", "backgroundcolor", "213,143,116"

  mobileControlSet "mplayer", "showController", TRUE

  mobileControlSet "mplayer", "filename", tURL
  
## Whatever I set here, on Android I always get a black rect with

## the player controls inside of it.
  mobileControlSet "mplayer", "opaque", FALSE

## Whatever value I enter here, nothing will change the apprearance
  mobileControlSet "mplayer", "alpha", 127
--
Before I report this, is this a dictionary bug or what?
Or is it just me again? :-D


Best

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

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: Oddity in 'currentCard' function?

2023-10-24 Thread J. Landman Gay via use-livecode
The behavior is consistent with all cards or controls that don't have a name. The "name" is the 
ID in that case. The best way around it is to:


  put the long id of  into tID

That way you can refer to tID without worrying whether there's a literal name 
or not. So:

  put the long ID of the currentCard into tID
  set the myProperty of tID to tValue


On 10/24/23 12:00 PM, Paul Dupuis via use-livecode wrote:

I think I found a oddity in the "currentCard" property.

The documentation states that the currentCard property return the short name of the current 
card of a stack:


for example: put the currentCard of stack "Untitled 1" into tCardName

You can then execute code such as: set the myProperty of cd tCardName of stack "Untitled 1" to 
tValue


However, if the card does not have a name set, then current card returns "card id ", 
example: card id 1002 and the above 2 lines of code return a runtime error of 'can't find card'


put the currentCard of stack "Untitled 1" into tCardName
set the myProperty of cd tCardName of stack "Untitled 1" to tValue

WORKS for cards with a name
FAILS for cards without a name (where currentCard returns 'card id Trying to execute: set the myProperty of cd tCardName of stack "Untitled 1" to tValue WHEN 
tCardName contain 'card id 1002' produces a run time error


But trying to execute: set the myProperty of cd id 1002 of stack "Untitled 1" 
to tValue works.

Oddly, set the myProperty of cd tCardName of stack "Untitled 1" to tValue FAILS if tCardName 
contains "id 10001" (and yes that card with that ID exists)


Oddly again, set the myProperty of the currentCard of stack "Untitled 1" to tValue DOES WORK 
whether they have a name or not


But again, breaking that example above (set the myProperty of the currentCard of stack 
"Untitled 1" to tValue) into 2 lines:

put the currentCard of stack "Untitled 1" into tCardName
set the myProperty of cd tCardName of stack "Untitled 1" to tValue
FAILS if the card has no name.

Something just seems off here?

___
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


--
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: ANDROID player won't play MP3 from server but locally?

2023-10-23 Thread J. Landman Gay via use-livecode

On 10/22/23 7:34 AM, Klaus major-k via use-livecode wrote:
I'm having problems to play a MP3 (5 MB) from my server. And yes, I waited up to a minute 
before I closed the app. Works fine when I play it locally.



Below is the script I use for mobile players. It's old so things may be different now, but if I 
remember right I had to check playerPropertyAvailable for the duration to be sure the player 
had enough content to start playing.



on createMobileAudioPlayer pURL, pPlayerName
  -- pURL = remote video or audio file
  -- pPlayerName = name of player to create; if empty uses LC-assigned ID
  if sPlayerID is in mobileControls() then mobileControlDelete sPlayerID -- init
  if pPlayerName = "" then
mobileControlCreate "player"
put the result into sPlayerId
  else
mobileControlCreate "player",pPlayerName
put pPlayerName into sPlayerID
  end if
  mobileControlSet sPlayerId, "rect", getPlayerRect() -- can use a literal rect 
instead
  mobileControlSet sPlayerId, "showController", true
  mobileControlSet sPlayerId, "filename", pURL
  mobileControlSet sPlayerId, "visible", true
  if pURL begins with "http" then
mobileBusyIndicatorStart "square", "Loading..." -- add loading indicator until duration is 
available

  end if
end createMobileAudioPlayer

on playerPropertyAvailable pProperty -- msg sent when enough content is loaded
  if pProperty is "duration" then
mobileBusyIndicatorStop -- Remove the "Loading..." indicator and start 
playing
mobileControlDo sPlayerId, "play"
  end if
end playerPropertyAvailable

on setMobileAudioPlayer pPlayerName,pState -- control the state of the mobile 
player
  -- pState = "pause", "play", or "stop"
  if pPlayerName is not among the lines of mobileControls() then exit 
setMobileAudioPlayer
  mobileControlDo pPlayerName, pState
  if pState = "stop" then
mobileBusyIndicatorStop -- in case it's still showing
mobileControlSet pPlayerName, "visible", false
mobileControlDelete pPlayerName
  end if
end setMobileAudioPlayer

on playerFinished -- sent on mobile when audio is done
  setMobileAudioPlayer "stop"
end playerFinished

--
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: Media Keys - volume / play/pause/next...

2023-10-20 Thread J. Landman Gay via use-livecode
If rawKeyDown/Up doesn't catch them then I assume the OS isn't sending the 
keycodes to apps.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 20, 2023 5:42:05 PM David Bovill via use-livecode 
 wrote:



Surprisingly difficult. There are a couple of apps that let you customize
play/pause interactions from the keyboard - but they dont work when sent
from other devices such as earbuds. Livecode does not seem to read these
events either

On Fri, 20 Oct 2023 at 16:08, David Bovill  wrote:


Is there a way to trap for these keyboard events.

Volume and Media Keys: In the HID standard, volume and media control keys
often have specific usage IDs. For example:


   - 0xE9 is for volume up.
   - 0xEA is for volume down.
   - 0xE2 is for mute.
   - 0xCD is for play/pauseetc



___
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: OS X document icon missing

2023-10-19 Thread J. Landman Gay via use-livecode

On 10/19/23 3:29 AM, Mark Waddingham via use-livecode wrote:

The extension shouldn't have an initial `.` - I suspect that is the problem :)


That was it. I had to "Get Info" on the file before Finder noticed, but then the icon showed 
up. I didn't even know the dot was there; I knew it shouldn't be.


--
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: OS X document icon missing

2023-10-19 Thread J. Landman Gay via use-livecode
OMG. I didn't even see that! It's my eyes, they're terrible, and getting 
worse as years go by. Thanks for the proofreading. Those little dots are 
the worst.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 19, 2023 3:31:18 AM Mark Waddingham via use-livecode 
 wrote:



On 2023-10-18 20:54, J. Landman Gay via use-livecode wrote:

On 10/18/23 10:35 AM, Paul Dupuis via use-livecode wrote:

If you have identified the document extension in the Standalone
setting for macOS and set an ics file of icons (or the appropriate
sizes required by Apple) than documents created by that app should
display the icon.


No go. Here is the relevant part of the plist:

CFBundleDocumentTypes


CFBundleTypeExtensions

.rbox



The extension shouldn't have an initial `.` - I suspect that is the
problem :)

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: OS X document icon missing

2023-10-18 Thread J. Landman Gay via use-livecode
My app is not in the "Open With..." list. I used "Other" to open the stack with my app. It 
worked but the document icon still did not show up in Finder.


My client says he double-clicks the Recipes stack to open LC (it's the only stack he has.) Once 
I assigned my standalone in Get Info it does work and Finder suggests it (and only it) when I 
choose "Open with...", but the document icon is still missing. Blech.


What I learned today: If your stack has a custom extension, LC will open it and you can do some 
basic things like navigation, but nothing else. Keyboard shortcuts don't work and the message 
box does not see the stack at all. Even if I do something non-stack-related ("put the 
fontnames") there is no response. The message box is totally broken. Double-clicking a control 
does not open the property inspector. Right-clicking with the Edit tool does not show a menu. 
When I changed the extension back to ".livecode" and restarted LC all works normally. Tested in 
9.6.9 and LC 9.6.10.


Double blech.

On 10/18/23 3:59 PM, Paul Dupuis via use-livecode wrote:
Yes, that look right. The file extension is .rbox and the file type is 'rbox' for 'Recipe Box 
Files'


I wonder since it only READS .rbox files and does not create them, if you need to context-click 
(CTRL-CLICK) on a .rbox file and select "Open With.." to see if your app (an reader of .rbox 
files) is in the list and open one to get macOS to associate viewing .rbox files with your App, 
since it does not actually create .rbox files?



On 10/18/2023 3:54 PM, J. Landman Gay via use-livecode wrote:

On 10/18/23 10:35 AM, Paul Dupuis via use-livecode wrote:
If you have identified the document extension in the Standalone setting for macOS and set an 
ics file of icons (or the appropriate sizes required by Apple) than documents created by 
that app should display the icon.


No go. Here is the relevant part of the plist:

CFBundleDocumentTypes

    
    CFBundleTypeExtensions
    
.rbox
    
    CFBundleTypeIconFile
    StandaloneDoc.icns
    CFBundleTypeName
Recipe Box Files
    CFBundleTypeOSTypes
    
rbox
    
    CFBundleTypeRole
    Editor
    



The app does not create new files, it just opens the existing stack, originally a LC file. I 
tried a "save as..." but that didn't work either. Is there a way to set the signature on an 
existing file? I did try and the stack wouldn't open, presumably it's corrupted.





___
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


--
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: OS X document icon missing

2023-10-18 Thread J. Landman Gay via use-livecode

On 10/18/23 10:35 AM, Paul Dupuis via use-livecode wrote:
If you have identified the document extension in the Standalone setting for macOS and set an 
ics file of icons (or the appropriate sizes required by Apple) than documents created by that 
app should display the icon.


No go. Here is the relevant part of the plist:

CFBundleDocumentTypes


CFBundleTypeExtensions

.rbox

CFBundleTypeIconFile
StandaloneDoc.icns
CFBundleTypeName
Recipe Box Files
CFBundleTypeOSTypes

rbox

CFBundleTypeRole
Editor




The app does not create new files, it just opens the existing stack, originally a LC file. I 
tried a "save as..." but that didn't work either. Is there a way to set the signature on an 
existing file? I did try and the stack wouldn't open, presumably it's corrupted.


--
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: OS X document icon missing

2023-10-18 Thread J. Landman Gay via use-livecode
You may have identified the problem. The original HC stack was ported to  
LC and the client used the free OSS version of LC to access it. Sonoma, of 
course, broke that. This is the recipe stack that I posted here, with 
permission, 2 years ago. He's not a developer and didn't want to pay a 
subscription for the single stack he uses daily. He's been collecting 
recipes for 30 years.


So I made him a quick splash app that would let him access the stack. Since 
the original was created and opened with LC I think changing the extension 
isn't working. I've been looking up ways to clear the icon cache. I'll try 
a few things.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 18, 2023 10:37:56 AM Paul Dupuis via use-livecode 
 wrote:





I don't think this is related to the problem (above) you have. If you
have identified the document extension in the Standalone setting for
macOS and set an ics file of icons (or the appropriate sizes required by
Apple) than documents created by that app should display the icon. I'd
double check that the Docunmet extension and Document Type (if you're
using Types) in the setting match what the file is actually using. I've
had an extra character (sometime a space which is hard to see) in the
past that took me a bit to figure it out.

Unrelated, if you ever need more than one document type, below is some
code I run 'on standaloneSaved' to modify the plist to add additional
document types and icon sets to my macOS app.

put tMac64BuildFolder&tAppName&".app/Contents/Info.plist" into
tSrcFile -- overwrite original
--
if there is a file tSrcFile then
  put revXMLCreateTreeFromFile(tSrcFile,true,true,false) into tTreeID
  if tTreeID begins with "xmlerr" then
answer error "Error reading XML plist file for updating
document types during build."&tTreeID&""
  else
-- list of document types ,,
put "HyperRESEARCH Study,StandaloneDoc.icns,hs2,HRs2"&cr into
tDocTypes
put "HyperRESEARCH Tools,StandaloneTool.icns,rwtl,RWTL"&cr
after tDocTypes
put "HyperRESEARCH Study Package,StandalonePackage.icns,hsz,HSZ
"&cr after tDocTypes
put "HyperRESEARCH Study
Package,StandalonePackage.icns,hs4z,HS4Z" after tDocTypes
-- XML template
put
""&cr&"CFBundleTypeExtensions"&cr&""&cr&"[[tExtension]]"&cr&""&cr
into tXMLTemplate
put
"CFBundleTypeIconFile"&cr&"[[tIconFile]]"&cr&"CFBundleTypeName"&cr
after tXMLTemplate
put
"[[tDocName]]"&cr&"CFBundleTypeOSTypes"&cr&""&cr&"[[tTypeCode]]"&cr
after tXMLTemplate
put
""&cr&"CFBundleTypeRole"&cr&"Editor"&cr&""&cr
after tXMLTemplate
-- add document types under parent  at end
repeat for each line tDocType in tDocTypes
  put item 1 of tDocType into tDocName
  put item 2 of tDocType into tIconFile
  put item 3 of tDocType into tExtension
  put item 4 of tDocType into tTypeCode
  put merge(tXMLTemplate) into tNodeContents
  revXMLAppend tTreeID, "/plist/dict/array",tNodeContents
end repeat
-- output updated plist
get empty -- clear 'it' for any possible error from revXMLText
that places the error in 'it'
put revXMLText(tTreeID,,true) into tXMLText
if it is not empty then
  answer error "Error writing updated XML plist
file."&it&""
end if
put uniDecode(uniEncode(tXMLText),"UTF8") into URL
("file:"&tSrcFile)
  end if
end if


___
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


OS X document icon missing

2023-10-17 Thread J. Landman Gay via use-livecode
How do I force Finder to show a custom document icon? I've created .icns files for both the app 
and its documents. I entered a custom extension in standalone settings. In a built standalone 
the app icon appears normally but an associated stack document has only a generic blank icon.


I used Get Info to set the document stacks to always open with my app (and it does) but the 
icon still does not appear. The plist does contain the correct icon info and both .icns files 
are present in the app's Contents/Resources/ folder.


It looks like a Finder problem but relaunching Finder didn't fix it. Ideas?

LC 9.6.10.
--
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: Another macOS Codesigning/Notarization issue

2023-10-16 Thread J. Landman Gay via use-livecode
The uninformative error dialog is what I got when the app was corrupted but 
I doubt that's the problem for yours. But if code signing is the issue you 
usually get a different dialog with a reason.


Have you tried Matthias' helper tool? Once I fixed my app it worked 
perfectly. You can download it from the link at the top of the lesson page, 
the one for Xcode 13+. t does use notarytool.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 15, 2023 4:01:05 PM Paul Dupuis via use-livecode 
 wrote:



Help,

I am trying to switch Notarization tools for the Apple November
deadline. I was using macOS Mojave with Xcode 10.2.1 and not (to use the
new mandated Notary tool) have to move to Sonoma with Xcode 15.0.0.

I have signed, notarized, and stapled (all responses returned were what
the lessons at Livecode.com by Matthias said they should be) a Livecode
9.6.10 Standalone using my Mojave system (the old tool) and it works on
Sonoma and Mojave

I have signed, notarized, and stapled (all responses were as the lesson
said they should be) a Livecode 9.6.10 Standalone using my Sonoma system
(the new tool) and I get  an error trying to run it on Sonoma. It runs
under Mojave (although the first time the cursor spins a lot and it
takes a while to start)

The error is an extraordinary helpful dialog with a smiling macOS icon
that say 'The application "" can't be opened." and an OK button.

I though for a bit that it was that I was still building for Intel and
the Sonoma is a M1 macBook Air, so I changed the Standalone settings and
redid everything (again all seemed okay) and the GetInfo says Universal
(where it said Intel before) but I get the same message.

AGAIN, the old Notarization procedure produces an notarized (and
stapled) app (that is actually just Intel) that runs without error on
Sonoma on M1 MacBook Air and Mojave on Intel Powerbook, but the new one,
from the lessons for Xcode 13+ produced the error above and my app will
not run.

Security is set to allow App Store and Identified Developers.

Unless I figure this out, I will not be able to make new version of our
macOS app after November 1. Has anyone else experienced this? Has any
one see this message?



___
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: Deployment: a plea/opportunity

2023-10-14 Thread J. Landman Gay via use-livecode
The certificate is locked to a particular machine. You can either export it 
from Keychain or create a new one. To create the certificate, the Mac must 
submit a signing request, which I assume identifies the machine.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 13, 2023 11:54:39 PM Mark Smith via use-livecode 
 wrote:


Re: The problem was getting my Apple code signing certificates AND related 
certificates on to the MacBook air from the Apple Developer site, something 
I don't think Livecode can really help with.


Paul, just so I understand this problem better. Is there a reason why you 
can’t just download your certificates from the Apple Developer site to your 
MacBook Air? Do they specifically restrict downloading to only certain devices?


Mark

Sent from my iPhone

On Oct 13, 2023, at 9:02 PM, Paul Dupuis via use-livecode 
 wrote:


I'd love to see versions of Livecode stacks that assist with code signing 
and notarization for as many platforms as possible (I am aware of stacks 
for Windows and macOS) built into Livecode.


That said, for my two major problems (1 on macOS and 1 on Windows), I don't 
think there is anything Livecode could have done to help (other than 
lessons/documentation).


On Windows my current certificate - a .pfx format code signing cert - is 
expiring in November, so I renewed it. However, as of June 1 2023, the 
Windows code signing industry moved to requiring all code signing 
certificates to be issued on an encrypted USB token and you must use 
specialized software (that 3rd party can not hook into to prevent malware) 
to access those tokens to code sign.


On macOS, I needed to update code signing and NOTARIZATION to accommodate 
that Apple is switching to a new notary tool that only rns on new versions 
of macOS (I was using Mojave and atool) so I HAD (forced by Apple) for 
update to using the macBook Air I have that happened to have Sonoma on it 
and than meant Xcode 15 command line tools for the new Notary tool. atool 
stops being accepted by Apple some time in November so my old notarization 
steps will stop working. The change in notary tool was easy with Matthias's 
lessons and documentation on livecode.com. The problem was getting my Apple 
code signing certificates AND related certificates on to the MacBook air 
from the Apple Developer site, something I don't think Livecode can really 
help with.


Yes, others have had still other issues some of which improvements in 
Livecode might help address, but for the two I ran into that I turned to 
the list for help for, they were ultimately nothing that I think Livecode 
could help with.


Just my 2 cents on my 2 issues.



On 10/13/2023 1:46 PM, Richard Gaskin via use-livecode wrote:
We see it here in this list. We see it in the forums. We see it wherever 
app deployment is discussed:


OS requirements for packaging/stapling/signing apps are onerous.

At the edge of, and sometimes exceeding, being prohibitively so.

There's no point in making a standalone if you can't ship it.

If pro devs with decades of experience struggle with this, newcomers will 
run screaming.


SIMPLIFYING DEPLOYMENT IS THE NUMBER ONE PRIORITY.

Pardon the all-caps. I rarely use them. But this is important.

Simplifying deployment is more important than "AI".
Simplifying deployment is more important than "nocode".

It is the single biggest pain point.

And so it is the single biggest opportunity.

Fulfill the promise of "Everyone can code": focus on simplifying deployment.

Step 1: Acquire Matthias' great tool.

Step 2: Enhance it for current requirements across platforms.

Step 3: Look for every opportunity to further simplify the process, and 
take it, at least one more simplification with each new build.


This is important. It really is.

--

And no, web export will not magically save things.  Even when that becomes 
truly production-ready, it's only for web apps.  Not everything needs to be 
a web app.


There are a hundred ways to make web apps.

There are few ways to make cross-platform native apps.

And almost none that rival what LC can do on the desktop.

Play into strengths.  Make native deployment the best it can be.

When that's done, only then resume work on more peripheral features.




___
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 subscript

Re: Deployment: a plea/opportunity

2023-10-13 Thread J. Landman Gay via use-livecode

On 10/13/23 12:46 PM, Richard Gaskin via use-livecode wrote:

If pro devs with decades of experience struggle with this, newcomers will run 
screaming.


I agree. But as a "pro" dev I'm embarrassed to admit that the problem I was having was of my 
own doing. Matthias' Helper tool is invaluable and I couldn't understand why it always worked 
before but didn't now. He took a look and found the problem. Actually, I had two problems, none 
of which LC could have solved.


Problem 1: I was using a certificate for the wrong app. I wish I'd known what "no identity 
found" meant. I could have fixed it.


Problem 2: (Stupid, stupid, stupid) I uploaded my app to Google Drive for download and forgot 
to zip it. Matthias found that it was corrupted when he tried to help (bless you, Matthias.) I 
have known forever that uncompressed files don't travel well but we had customers running 
Sonoma who were flooding the tech queue, and in the rush to get the thing out I forgot. And 
since I could run the original build on my own Mac, I couldn't figure out why no one else could 
open it.


That said, it would be great if LC could create an .ipa for iOS and provide 
notarization/stapling services for Mac apps. It's a start. But honestly, that would only be of 
marginal help. The certificates, profiles, keystores, etc. can only be created by the 
developer, and that's mostly where the headaches begin.


I used to be an enthusiastic Apple advocate but now I'm not so sure. Once you've seen the 
developer side your perceptions change. Google is only marginally easier these days too. I 
understand the security reasons for all the hassle, but that doesn't help when you're in the 
middle of it.


--
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: Android: Myapp stopped

2023-10-13 Thread J. Landman Gay via use-livecode
Yes, it seems like the bug was fixed in later versions. There are some 
workarounds in the stackoverflow link using terminal but I didn't 
understand them.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 13, 2023 10:51:26 AM Klaus major-k via use-livecode 
 wrote:



Hi Jacque,

Am 13.10.2023 um 17:41 schrieb J. Landman Gay via use-livecode 
:


I looked it up. It's a Samsung bug:
<https://stackoverflow.com/questions/37413667/run-as-could-not-set-capabilities-operation-not-permitted/47004505#47004505>
If you Google "Could not set capabilities: Operation not permitted " you'll 
see lots of results.


thank you for this valuable info!
Too bad...

So it means the Samsung tablets with earlier versions of Android/API have 
this problem?
Our drummer and me also have Samsung tablets, but with Android 8.x resp 
Android 11.



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 13, 2023 3:49:32 AM Klaus major-k via use-livecode 
 wrote:



Hi Jacque,

Am 12.10.2023 um 22:37 schrieb J. Landman Gay via use-livecode 
:


What minimum Android version is set in Standalone Settings? Does it include 
Android 6?


it is set to 5, so yes, it should include version 6.


On 10/12/23 8:35 AM, Klaus major-k via use-livecode wrote:

Hi friends,
I am trying to install my app on the tablets of my bandmembers
and succeeded on all but one!?
Info:
Samsung Galaxy Tab S
Android 6.0.1, API 23
After installation from LC (Test) I tap on the icon and get the alert:
-> Leadsheeter stopped (angehalten)
immediately, no more info.
I already emptied cache and data and whatnot and even restarted
the device a couple of times, no dice!?
The only info I could get after starting Android Studio was in the
"Device File Explorer" panel for the device which reads:

data -> app -> com.major-k.de.leadsheeter-1
run-as: Could not set capabilities: Operation not permitted



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: Android: Myapp stopped

2023-10-13 Thread J. Landman Gay via use-livecode

I looked it up. It's a Samsung bug:
<https://stackoverflow.com/questions/37413667/run-as-could-not-set-capabilities-operation-not-permitted/47004505#47004505>

If you Google "Could not set capabilities: Operation not permitted " you'll 
see lots of results.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 13, 2023 3:49:32 AM Klaus major-k via use-livecode 
 wrote:



Hi Jacque,

Am 12.10.2023 um 22:37 schrieb J. Landman Gay via use-livecode 
:


What minimum Android version is set in Standalone Settings? Does it include 
Android 6?


it is set to 5, so yes, it should include version 6.


On 10/12/23 8:35 AM, Klaus major-k via use-livecode wrote:

Hi friends,
I am trying to install my app on the tablets of my bandmembers
and succeeded on all but one!?
Info:
Samsung Galaxy Tab S
Android 6.0.1, API 23
After installation from LC (Test) I tap on the icon and get the alert:
-> Leadsheeter stopped (angehalten)
immediately, no more info.
I already emptied cache and data and whatnot and even restarted
the device a couple of times, no dice!?
The only info I could get after starting Android Studio was in the
"Device File Explorer" panel for the device which reads:

data -> app -> com.major-k.de.leadsheeter-1
run-as: Could not set capabilities: Operation not permitted

API too old? Anything else I can check in Android Studio?
Any hints very welcome!
Thanks a lot in advance.
Best


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: Android: Myapp stopped

2023-10-12 Thread J. Landman Gay via use-livecode

What minimum Android version is set in Standalone Settings? Does it include 
Android 6?

On 10/12/23 8:35 AM, Klaus major-k via use-livecode wrote:

Hi friends,

I am trying to install my app on the tablets of my bandmembers
and succeeded on all but one!?

Info:
Samsung Galaxy Tab S
Android 6.0.1, API 23

After installation from LC (Test) I tap on the icon and get the alert:
-> Leadsheeter stopped (angehalten)
immediately, no more info.

I already emptied cache and data and whatnot and even restarted
the device a couple of times, no dice!?

The only info I could get after starting Android Studio was in the
"Device File Explorer" panel for the device which reads:

data -> app -> com.major-k.de.leadsheeter-1
run-as: Could not set capabilities: Operation not permitted

API too old? Anything else I can check in Android Studio?

Any hints very welcome!

Thanks a lot in advance.


Best

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



--
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: No progress updates on LC 10. Am i the only one who is concerned?

2023-10-11 Thread J. Landman Gay via use-livecode

On 10/11/23 10:28 AM, William Prothero via use-livecode wrote:
However, the development process would need an interface that works in a well documented, 
straightforward way


Right. I tried LC Create for a few days but without documentation I didn't get very far. I 
couldn't figure out what syntax to use on all the new widgets and after some hours I gave up.


Every new control should have at least a list of messages/functions it uses. Without that, 
about all you can to is play with layouts for now. That's not an insignificant thing, but it is 
limiting.


--
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: AW: Another (macOS) Code signing guidance question...

2023-10-11 Thread J. Landman Gay via use-livecode

On 10/10/23 7:23 PM, panagiotis merakos via use-livecode wrote:
Just downloading the certificate from your account in the apple dev website, and using it in a 
different machine from the one it was created will not work (you get identity not found),


I wish the error message would be more informative. If I'd known the error was related to the 
certificate I'd have saved myself a lot of time. Thanks for this.


--
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: AW: Another (macOS) Code signing guidance question...

2023-10-10 Thread J. Landman Gay via use-livecode

On 10/10/23 4:16 PM, Paul Dupuis via use-livecode wrote:
The hardest part was getting the correct Certificates into the Keychain on the macBook Air. 
When code signing I kept getting an "identity not found" (or something like that) that meant I 
didn't have the "right" certificate or the certificate installed where it was needed.


Thanks for this. That was the error I was getting too. Apparently both of us have identity 
crises (ref: Doc Hawk. The smartalec.)


Guess I need to dig around in Keychain.

--
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: Can't codesign Mac app

2023-10-10 Thread J. Landman Gay via use-livecode

On 10/10/23 2:19 AM, matthias rebbe via use-livecode wrote:

Hello Jacque,

didn't you get the reason back why the app is rejected when you run 'spctl --assess 
--raw --verbose ' ?


No, all I got was what I posted. It was very short.


I am not sure why your app i rejected. If you want to, i could test your app 
with spctl here on Sonoma.


I think I'll take you up on that, I'll send you the app in email. Thank you so 
much!


Did you by any chance add additonal data to the standalone after it was built? >
Or are you using any additional code which might be not in the right place in 
the bundle?
There is an archive topic about this here
https://developer.apple.com/forums/thread/114943


No, I just used the app the way LC built it. After the first few failures I looked at the app 
contents and it seemed to be okay. That's when I noticed the dylib file.



I am really sorry that i am of no real help.


You are always a huge help! I'll send you an email.

--
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: Can't codesign Mac app

2023-10-10 Thread J. Landman Gay via use-livecode

On 10/10/23 1:07 AM, panagiotis merakos via use-livecode wrote:
Have you included any entitlements when codesigning the app? I suggest including all of these: 
https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps There 
is an option to do that in the settings (iirc) in Matthias' notarization tool.


I hadn't, but we just tried it and it still failed with all entitlements 
enabled.

--
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: Another (macOS) Code signing guidance question...

2023-10-10 Thread J. Landman Gay via use-livecode
I got that far at least. I couldn't notarize on Monterey but my client on 
Sonoma had no problem using mrSignNotarizeHelper on Sonoma with Xcode 15. 
My issues happened after that. So I think you're safe using the tool on Sonoma.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 10, 2023 10:45:37 AM Paul Dupuis via use-livecode 
 wrote:



I am looking at https://developer.apple.com/support/xcode

To meet Apple's Nov 1 deadline of switch from the old Notarization tool
(which I current use on Mojave) to the new one, I need to get set up on
macOS 14 Sonoma.

To me, from the Apple page, it look like I need xcode 15 (deployment
targets of macOS 10.13-14) BUT I am concerned that the Livecode lesson
by Matthias and his mrSignNotarizeHelper tool recommend Xcode 13 or 14
(I don't see Xcode 15 mentioned). I may have (or probably did) miss
something!

The Apple Developer page suggest that Xcode 14.3.1 has a minim OS
requirement of macOS Ventura 13 which suggest it can run on macOS 14 Sonoma?

I only have a single macBook Air with Sonoma available to get sup up for
the new notarization method. I really don't want to try to downgrade the
macOS (I don't even know how to do that).



___
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: Can't codesign Mac app

2023-10-09 Thread J. Landman Gay via use-livecode

Thank you, I'll try that. Meanwhile, I ran this on a supposedly 
notarized/signed app:

  spctl --assess --raw --verbose 

which was rejected. Does his mean anything to anyone:


"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>



assessment:authority

assessment:authority:flags
0

assessment:remote

assessment:verdict





On 10/9/23 8:10 PM, Timothy Bleiler via use-livecode wrote:

I think this is the most recent lesson listing the terminal commands for using 
NotaryTool instead of altool.
These worked when I was using the last version of Ventura and Xcode 14.3.1.  I 
haven’t tried Sonoma.


Code signing and notarizing your LC standalone for distribution outside the Mac 
Appstore with Xcode 13 and up | How To - Step-By-Step Guides To Tasks In LiveCode | 
LiveCode 
Lessons
lessons.livecode.com
[X]


--
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: Can't codesign Mac app

2023-10-09 Thread J. Landman Gay via use-livecode

On 10/9/23 7:33 PM, Mark Clark wrote:
Is Gatekeeper an issue? Using dynamic libs? If your end user/tester could open console and send 
you the errors it might help point you in the right direction.




Successfully notarized app rejecte… | Apple Developer Forums 


developer.apple.com 
favicon.ico 




I think that may be the problem, we're fairly convinced right now that Gatekeeper is the issue. 
There is a single dylib in the app: revsecurity.dylib. I'm not sure what to do about it though.


I'll try to see what console says. But do we need revsecurity? Can I omit it somehow and see 
how that goes?


--
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: Can't codesign Mac app

2023-10-09 Thread J. Landman Gay via use-livecode

On 10/9/23 5:13 PM, J. Landman Gay via use-livecode wrote:

On 10/9/23 4:46 PM, J. Landman Gay via use-livecode wrote:
I'm using Matthias' mrSignNotarizeHelper V3.1 with xCode 13.2.1 on Mac OS 12.6.9 (Monterey) 
but get a script error. The same thing happens in both LC 9.6.9 and 9.6.10 dp 6.


So then I tried notarizationHelper V4 but keep getting "no identity found" errors. I've tried 
all the suggestions in the lesson. This is pretty critical for me right now, does anyone know 
what's wrong? It was last signed successfully in May of this year.


I need to codesign today...



Addendum: there were breakpoints in the script, which I thought at first were errors, in 
version 3.1. I removed them, and while it did not break into the debugger any more I am still 
getting "no identity found."


I have tried with and without a space after "Developer ID Application:". All the other fields 
in settings are as they were before when it worked. All certificates and the app password are 
correct, valid, and available in KeyChain Access.




Thanks to both Timothy and Paul for suggestions. My client was able to sign/notarize on her 
machine using Matthias' tool. She's on Sonoma. We see the notarization and stapling logs and 
the result was successful. But the app will not open on the three Macs we tested it on (though 
it does open on my Montery machine; it fails on Ventura and Sonoma.) I built with both LC 
9.6.10 and LC 10 dp 6 and while both appeared to be notarized (on her machine) a terminal 
command says it isn't:


   spctl -a -t exec -vvv /Path/To/Notarised.app:: rejected

We are at a loss. @Mattias: do we need an updated mrSignNotarizeHelper? Or is 
something else wrong?

Our next step is to try running the correct terminal commands manually. Does anyone know where 
I can find those? I think I read that the lesson needs revision?




--
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: Can't codesign Mac app

2023-10-09 Thread J. Landman Gay via use-livecode

On 10/9/23 4:46 PM, J. Landman Gay via use-livecode wrote:
I'm using Matthias' mrSignNotarizeHelper V3.1 with xCode 13.2.1 on Mac OS 12.6.9 (Monterey) but 
get a script error. The same thing happens in both LC 9.6.9 and 9.6.10 dp 6.


So then I tried notarizationHelper V4 but keep getting "no identity found" errors. I've tried 
all the suggestions in the lesson. This is pretty critical for me right now, does anyone know 
what's wrong? It was last signed successfully in May of this year.


I need to codesign today...



Addendum: there were breakpoints in the script, which I thought at first were errors, in 
version 3.1. I removed them, and while it did not break into the debugger any more I am still 
getting "no identity found."


I have tried with and without a space after "Developer ID Application:". All the other fields 
in settings are as they were before when it worked. All certificates and the app password are 
correct, valid, and available in KeyChain Access.


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


Can't codesign Mac app

2023-10-09 Thread J. Landman Gay via use-livecode
I'm using Matthias' mrSignNotarizeHelper V3.1 with xCode 13.2.1 on Mac OS 12.6.9 (Monterey) but 
get a script error. The same thing happens in both LC 9.6.9 and 9.6.10 dp 6.


So then I tried notarizationHelper V4 but keep getting "no identity found" errors. I've tried 
all the suggestions in the lesson. This is pretty critical for me right now, does anyone know 
what's wrong? It was last signed successfully in May of this year.


I need to codesign today...

--
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: Forum Software LC?

2023-09-26 Thread J. Landman Gay via use-livecode
One more and then I will stop hijacking this thread. BTW these are jokes 
told in Russia by Russians.


"In Russia we have freedom of speech. In America they have freedom *after* 
speech."


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 25, 2023 10:15:50 AM Bob Sneidar via use-livecode 
 wrote:



Hah hah. Yes, but with Capitalism, we get to vote for our exploiters. :-)

Bob S


On Sep 24, 2023, at 4:03 PM, J. Landman Gay via use-livecode 
 wrote:


The Russians also have another:

Q: What is the difference between capitalism and communism?
A: Capitalism is one man exploiting another. Communism is exactly the opposite.

:)
--
Jacqueline Landman Gay | jac...@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





___
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: Forum Software LC?

2023-09-24 Thread J. Landman Gay via use-livecode

The Russians also have another:

Q: What is the difference between capitalism and communism?
A: Capitalism is one man exploiting another. Communism is exactly the opposite.

:)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 24, 2023 5:13:10 PM Bob Sneidar via use-livecode 
 wrote:



The Russians had a great saying: There’s no such thing as a free lunch.

Sent from my iPhone

On Sep 22, 2023, at 17:09, doc hawk via use-livecode 
 wrote:


Bob blipped,

Well, if I go to my bartender and ask for a free beer, I might get one,


When I bought my last bicycle helmet (they’re single use, and the old one
had a massive dent at the hairline.  I’d never been to a trauma unit before
. . .), there was a little sign on the counter that read, “ring bell for
beer.”  Amused, I rang the bell.

And the salesman turned around, pulled a beer from a small refrigerator,
and handed it to me!

with that, I'll grab some popcorn and enjoy the license wars . . .
___
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: Your scripts as a flowchart

2023-09-16 Thread J. Landman Gay via use-livecode
That happened to me too with a very long script. To keep everything in view 
there's a lot of white space. Keep scrolling. This happens only if you have 
set it to use unlimited sizing.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 16, 2023 11:15:00 AM Geoff Canyon via use-livecode 
 wrote:



Does it not handle script-only stack behaviors? I get a blank display for
Navigator (which has no code other than SoS behaviors).

gc

On Fri, Sep 15, 2023 at 10:32 AM Andreas Bergendal via use-livecode <
use-livecode@lists.runrev.com> wrote:


Hi all!

Those frequenting the forums may have seen this already, but I thought I'd
share it here too now:

If you want to see a graphic map of the inter-relations of all the
handlers in the scripts of your LiveCode projects, my tool
ScriptDependencies now features an extremely cool flowchart output (using
the Mermaid javascript lib).

Here’s an example of how a script flowchart can look:
https://wheninspace.com/browseranimation/WIS_ScriptDependencies_example.png

A few easy steps to test it on your own scripts:

1) Download ScriptDependencies here:
https://github.com/wheninspace/WIS_ScriptDepedencies/releases/latest

2) Open the stack, click the top left cog wheel and add at least one stack
(that has at least some handlers calling other handlers) to a project.
3) Close the project pane and click "Start mapping and analysis”.
4) Click ”Create flowchart”. Boom! :)

On Mac, the browser widget can display the flowchart in-stack, enabling
some interactivity (click a node to highlight the arrows to and from it).
On Windows and Linux, where the browser widget has, er... room for
improvement…, the flowchart is instead displayed in an external browser
window (minus interactivity).

My intention with ScriptDependencies is to provide a code analysis and
live documentation tool (of some kind) for LiveCode projects. I need it
myself for some big LC projects, and thought it might be useful also for
other LC devs.

The tool has been thoroughly tested by LC veterans like bn (Bernd), jacque
(Jacqueline) and mwieder (Mike), who have all provided invaluable feedback
and improvement suggestions, bringing the tool up to quite a professional
level.

I hope you’ll find use for it - or at least enjoy seeing your scripts
presented as a bouquet of flowers, a piece of art! :)

Any feedback is very welcome!

/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





___
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: Clipboard Copy Troubles?

2023-09-15 Thread J. Landman Gay via use-livecode
Yes, often. LC loses most of the editing shortcuts. It got fixed some 
versions ago and then lost them again.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 15, 2023 2:04:44 PM Tom Glod via use-livecode 
 wrote:



Heyall,

Just wondering if anyone else has experienced issues where livecode stops
being able to copy to the clipboard when using copy command from the menu
or CTRL C or right click copy
Specifically from within the script editor or a variable window.
A LC restart seems to solve this temporarily.
I've noticed this recently more than usual.  On both mac and windows 11.

Does this ring a bell to anyone?

Thanks,

Tom
___
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 ANR (App not responding | Jacque was right :-)

2023-09-14 Thread J. Landman Gay via use-livecode

He's not crashing, it's a hang. I can't remember if logcat shows those.

My guess is that it's a memory problem since he's running a very old 
version of Android with not much RAM, and restarting the app may force 
retained apps to release RAM. But a log can't hurt at any rate.


Klaus, remove all unnecessary widgets from your home screen(s). Also go 
through all the apps in settings and disable or delete any you don't use. 
Android will not allow you to do that for required apps so if the buttons 
are enabled then it's safe. Most devices come with a lot of bloatware that 
runs in the background and uses memory. Widgets are especially bad at that.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 14, 2023 12:21:15 PM Ralph DiMola via use-livecode 
 wrote:



Get a logcat after a crash and see if Panos can glean anything useful from
it. It helped me once identifying and getting a crash fix implemented.





___
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: Shutdown on Android

2023-09-02 Thread J. Landman Gay via use-livecode
In my experience the app remains running when the recent apps are 
displayed, but if you continue by choosing another app then I think you 
should get either the shutdowns message or the suspend one. It's worth a try.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 2, 2023 10:27:13 AM Dan Friedman  wrote:


Jacqueline,

Thank you for the reply.  I don’t think suspend and resume are going to 
help… If the app is playing music (in the foreground or the background) and 
the user brings up the list of running apps and swipes up to remove it, how 
can I trap that the app is being closed and stop playing music?


-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


Re: Shutdown on Android

2023-09-01 Thread J. Landman Gay via use-livecode

On 8/31/23 5:36 PM, Dan Friedman via use-livecode wrote:

Does the shutdown message (or shutdownRequest message) work on Android?   I am 
playing a song using androidStartAudioPlayingInBackground.   However, if the 
app is closed (swiping up to exit it), then the audio continues to play.  So, I 
added an androidStopAudioPlayingInBackground command in the shutdown message to 
stop playing the audio.  But doesn’t seem to work – audio continues to play.

Any thoughts?


Mark Smith reminded me that the suspend and resume messages are now supported on mobile 
platforms. That might do it.


My old brain forgot about that.

--
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: Pasting text and images together?

2023-09-01 Thread J. Landman Gay via use-livecode

On 9/1/23 5:02 PM, Paul Dupuis via use-livecode wrote:
If the App copying the mixed content places it on the clipboard as text and an image vs some 
mixed type, you may be able to do this


Your have the on pasteKey message to trap CONTROL/COMMAND-V and if you have a "Paste" menu 
item, you control the script for that.


Note that LC traps the pastekey message, so you need to suspend the IDE to test 
it.

--
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: Sort bug

2023-08-31 Thread J. Landman Gay via use-livecode
Actually, the syntax is correct. It uses a custom sort function. The function call includes the 
"each" which means it passes the correct parameter to the custom function, which then acts on 
it and sends the result back to the calling handler for sorting. It's a nice way to customize 
the built-in sort. You can do some pretty extravagant things with it.



On 8/31/23 10:25 AM, Bob Sneidar via use-livecode wrote:

To be more clear, the argument to “by” needs to be a chunk statement, not a 
value, followed by “of each”. Your function *might* work if you returned the 
chunk expression instead of the actual value the chunk resolves to.

But why? I am not sure what the myVal() function accomplishes. Does the chunk 
expression change on the fly? Even so, pStr needs to be a list of numbers 
because you are adding them together, so it won’t return a chunk expression.

Your method as it stands would resolve to “sort lines tVariable by 3” when it 
needs to resolve to something like “sort lines of tVariable by item 3 of each”.

Further it looks like you are sorting by multiple items. You cannot do that in 
one statement. Instead run multiple sorts, by the last element first, down to 
the first element.

Bob S



On Aug 31, 2023, at 8:06 AM, Bob Sneidar via use-livecode 
 wrote:

I think you have to append “of each”. Sort lines of tVar by item 3 of each

Bob S



On Aug 30, 2023, at 9:11 PM, Neville Smythe via use-livecode 
 wrote:

There is a bug in sorting a container using a function, as in

sort lines tVariable by myVal(each)

where the function is for example

function myVal pStr
   return item 1 of pStr + item 2 of pStr
end myval

If the function myVal encounters a run-time error (in the example if one of the 
items is not a number) the sort command fails silently: the script exits at 
that code line and the user is unaware that the sort (and the rest of the 
handler) were not executed.

If you sort directly with

sort lines tVariable by (item 1 of pStr + item 2 of pStr)

the handler will throw an error dialog, as expected.

QC has confirmed this is a bug ( bug 24321 
 ) that evidently has been 
around for a long time.

Neville Smythe



___
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


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


Microsoft app store

2023-08-25 Thread J. Landman Gay via use-livecode
Has anyone submitted a Windows app to the Microsoft store? I have a lead 
and if it pans out I'd like to know if there's a resource available here. 
Nothing is set yet but I'm thinking ahead.


--
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: Group corners

2023-08-22 Thread J. Landman Gay via use-livecode
It's probably about time to submit a bug report. The behavior we see isn't expected. 
<https://quality.livecode.com>



On 8/22/23 12:12 PM, Dar Scott via use-livecode wrote:

Arg. There is a pixel missing in the upper left corner even when the border 
width is 1. — Dar


On Aug 22, 2023, at 7:05 AM, Dar Scott via use-livecode 
 wrote:

Yeah, the order of things seem to make a difference. It is sometimes hard to do 
deltas. My lazy programming style is to rebuild GUI features based on the 
current state whenever there is a change, and then look closer if that gets 
slow.


On Aug 21, 2023, at 7:44 PM, J. Landman Gay via use-livecode 
 wrote:

Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 3d. 
It's a plain gray border with the label appropriately placed. Three pixels 
works about the same.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode 
 wrote:


Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that.

Bob S



On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode 
 wrote:

On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote:

For now, I’m using a temporary solution: I am setting the border width to 1. 
That might become a long-term workaround.


I can reproduce your results. Weird thing: if I leave showName and showBorder 
on, and set the borderWidth to 4, and then turn on 3D I get a nice clean 
gray-ish border without any splits or lines.

Tested in LC 9.6.10 RC 1.


--
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: Group corners

2023-08-21 Thread J. Landman Gay via use-livecode
Right, but the weird thing is that with a 4-pixel border and 3d, it isn't 
3d. It's a plain gray border with the label appropriately placed. Three 
pixels works about the same.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 21, 2023 5:38:26 PM Bob Sneidar via use-livecode 
 wrote:



Oh right! You can’t have 3D with a 1 pixel border, can you?? I missed that.

Bob S


On Aug 21, 2023, at 3:07 PM, J. Landman Gay via use-livecode 
 wrote:


On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote:
For now, I’m using a temporary solution: I am setting the border width to 
1. That might become a long-term workaround.


I can reproduce your results. Weird thing: if I leave showName and 
showBorder on, and set the borderWidth to 4, and then turn on 3D I get a 
nice clean gray-ish border without any splits or lines.


Tested in LC 9.6.10 RC 1.

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


___
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: Group corners

2023-08-21 Thread J. Landman Gay via use-livecode

On 8/21/23 11:50 AM, Dar Scott via use-livecode wrote:

For now, I’m using a temporary solution: I am setting the border width to 1. 
That might become a long-term workaround.


I can reproduce your results. Weird thing: if I leave showName and showBorder on, and set the 
borderWidth to 4, and then turn on 3D I get a nice clean gray-ish border without any splits or 
lines.


Tested in LC 9.6.10 RC 1.

--
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: How to search this list

2023-08-19 Thread J. Landman Gay via use-livecode

I'm not sure why the Google search doesn't work, but I generally use this:


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 19, 2023 1:34:16 PM FRED MOYER via use-livecode 
 wrote:


It’s been a long time since I’ve used this list. I’m puzzled -- it says I 
can search the archives for this list at
	http://www.google.com/advanced_search?q=site:lists.runrev.com 



If I search for something that I know is there (like “CharIndex” which was 
in some recent posts) it doesn’t find anything.


In particular, I’m looking for information about keysdown — again no hits 
in that google search site.


Thanks for your help.

Fred Moyer





___
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: Regex negative lookahead not working in LC?

2023-08-19 Thread J. Landman Gay via use-livecode

Nope.
https://quality.livecode.com/show_bug.cgi?id=21534
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 19, 2023 10:39:52 AM Andreas Bergendal via use-livecode 
 wrote:


Why? Doesn't negative lookahead work in LC? (v9.6.9 stable.)





___
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: Group corners

2023-08-19 Thread J. Landman Gay via use-livecode

Weird how? The corners should be right angles. Do you see something different?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 18, 2023 3:47:34 PM Dar Scott via use-livecode 
 wrote:


If I turn off 3D for a group, the corners of the rectangle are weird. 
Advice? — Dar

___
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: Sorting Arrays

2023-08-12 Thread J. Landman Gay via use-livecode

I used a short, one-dimensional numbered array:

put the weekdayNames into tDataA
split tDataA by cr
simpleSortNumberedArray tDataA, "descending,text"

But as Alex explained, one dimension wasn't enough.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 11, 2023 7:09:50 PM Bob Sneidar via use-livecode 
 wrote:



Send me what you have. Thanks.

Sent from my iPhone

On Aug 11, 2023, at 17:02, Alex Tweedly via use-livecode 
 wrote:


?

On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote:
On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote:
[ ... code from earlier posting ...]


I couldn't get this to work until I altered it, but I was using a very 
simple array. What type of array data did you use? I think I'm missing 
something.


I just did this:

  put the weekdayNames into tDataA
  split tDataA by cr
  simpleSortNumberedArray tDataA, "descending,text"

What you're missing is that this (simpleSortNumberedArray) is only intended 
for "numbered array"s (which LC is calling "sequences" in some places); 
i.e. an array where the (top-level) keys are all consecutive integers, from 
1  n


Also, the pSortkeys should be a number of comma-separated items, each of 
which consists of a key by which you want to sort the array followed 
optionally by an order and type.


So you might do something like :


on mouseup
   local tCounter, tDataA

   repeat for each line L in the weekdayNames
  add 1 to tCounter
  put L into tDataA[tCounter]["dayname"]
  put the number of chars in L into tDataA[tCounter]["charcount"]
   end repeat

   -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W)
   simpleSortNumberedArray tDataA, "dayname"
   repeat with I = 1 to 7
  put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg
   end repeat

   put "-" &CR after msg

   -- sorts descending numeric by number of characters in name
   --  NB within each char count value, they remain in alphabetical order of 
name
   simpleSortNumberedArray tDataA, "charcount numeric descending"
   repeat with I = 1 to 7
  put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg
   end repeat
end mouseup

and get as output


6 Friday
6 Monday
8 Saturday
6 Sunday
8 Thursday
7 Tuesday
9 Wednesday
-
9 Wednesday
8 Saturday
8 Thursday
7 Tuesday
6 Friday
6 Monday
6 Sunday


So - it would be worth adding a check that the array passed in is indeed a 
sequence, at the start of simpleSortNumberedArray:


if NOT (pArrayDataA is an array AND \
   item 2 of extents(pArrayDataA) is the number of elements in 
pArrayDataA) then \
 return pArrayData

I'm now going to add this to my personal library, but I'll rename it to

seqSortMultipleKeys

Alex.



___
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: Sorting Arrays

2023-08-12 Thread J. Landman Gay via use-livecode

Got it, thanks. The array was numbered but I didn't have enough dimensions.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 11, 2023 7:03:33 PM Alex Tweedly via use-livecode 
 wrote:



On 11/08/2023 23:00, J. Landman Gay via use-livecode wrote:

On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote:
[ ... code from earlier posting ...]



I couldn't get this to work until I altered it, but I was using a very
simple array. What type of array data did you use? I think I'm missing
something.

I just did this:

  put the weekdayNames into tDataA
  split tDataA by cr
  simpleSortNumberedArray tDataA, "descending,text"


What you're missing is that this (simpleSortNumberedArray) is only
intended for "numbered array"s (which LC is calling "sequences" in some
places); i.e. an array where the (top-level) keys are all consecutive
integers, from 1  n

Also, the pSortkeys should be a number of comma-separated items, each of
which consists of a key by which you want to sort the array followed
optionally by an order and type.

So you might do something like :


on mouseup
   local tCounter, tDataA

   repeat for each line L in the weekdayNames
  add 1 to tCounter
  put L into tDataA[tCounter]["dayname"]
  put the number of chars in L into tDataA[tCounter]["charcount"]
   end repeat

   -- sorts ascending by name (i.e. F, M, Sa, Su, Th, Tu, W)
   simpleSortNumberedArray tDataA, "dayname"
   repeat with I = 1 to 7
  put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg
   end repeat

   put "-" &CR after msg

   -- sorts descending numeric by number of characters in name
   --  NB within each char count value, they remain in alphabetical
order of name
   simpleSortNumberedArray tDataA, "charcount numeric descending"
   repeat with I = 1 to 7
  put tDataA[I]["charcount"] && tDataA[I]["dayname"] & CR after msg
   end repeat
end mouseup

and get as output


6 Friday
6 Monday
8 Saturday
6 Sunday
8 Thursday
7 Tuesday
9 Wednesday
-
9 Wednesday
8 Saturday
8 Thursday
7 Tuesday
6 Friday
6 Monday
6 Sunday


So - it would be worth adding a check that the array passed in is indeed
a sequence, at the start of simpleSortNumberedArray:

if NOT (pArrayDataA is an array AND \
   item 2 of extents(pArrayDataA) is the number of elements in
pArrayDataA) then \
 return pArrayData

I'm now going to add this to my personal library, but I'll rename it to

seqSortMultipleKeys

Alex.



___
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: Sorting Arrays

2023-08-11 Thread J. Landman Gay via use-livecode

On 8/10/23 2:29 PM, Alex Tweedly via use-livecode wrote:
Combining my "traditional" way as above, and your example, I came up with a  simpler way to do 
the same thing:



on simpleSortNumberedArray @pArrayDataA, pSortKeys
   local tKeys, tSeq, tOneSortKey, tSortCommand
   put seqAsLines(pArrayDataA) into tKeys
   repeat with I = the number of items in pSortKeys down to 1
  put item I of pSortKeys into tOneSortKey
  put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \
    "by pArrayData[each][" && word 1 of tOneSortKey && "]" into 
tSortCommand
  do tSortCommand
   end repeat
   rebuildSeq pArrayDataA, tKeys
end simpleSortNumberedArray

function seqAsLines pSeq
   local tRes
   repeat with i = 1 to the number of elements in pSeq
  put i & CR after tRes
   end repeat
   return tRes
end seqAsLines

command rebuildSeq @pSeq, pList
   local tResQ, tCount
   repeat for each line L in pList
  add 1 to tCount
  put pSeq[L] into tResQ[tCount]
   end repeat
   put tResQ into pSeq
end rebuildSeq 


I couldn't get this to work until I altered it, but I was using a very simple array. What type 
of array data did you use? I think I'm missing something.


I just did this:

  put the weekdayNames into tDataA
  split tDataA by cr
  simpleSortNumberedArray tDataA, "descending,text"

For that array, this worked:

on simpleSortNumberedArray pArrayDataA, pSortKeys
  local tKeys, tSeq, tOneSortKey, tSortCommand
  put seqAsLines(pArrayDataA) into tKeys
  repeat with I = the number of items in pSortKeys down to 1
put item I of pSortKeys into tOneSortKey
--put "sort lines of tKeys" && word 2 to -1 of tOneSortKey && \
--  "by pArrayDataA[each][" && word 1 of tOneSortKey && "]" into 
tSortCommand
put "sort lines of tKeys" && tOneSortKey into tSortCommand
do tSortCommand
  end repeat
  rebuildSeq pArrayDataA, tKeys
end simpleSortNumberedArray

function seqAsLines pSeq
  local tRes
  --  repeat with i = 1 to the number of elements in pSeq
  repeat for each element e in pSeq
put e & CR after tRes
  end repeat
  return tRes
end seqAsLines

command rebuildSeq @pSeq, pList
  local tResQ, tCount
  repeat for each line L in pList
add 1 to tCount
--put pSeq[L] into tResQ[tCount]
put L into tResQ[tCount]
  end repeat
  put tResQ into pSeq
end rebuildSeq

--
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: Android black screen again...

2023-08-11 Thread J. Landman Gay via use-livecode

On 8/11/23 3:12 AM, Klaus major-k via use-livecode wrote:

The problem is that this is not reproducable, it happens out of a sudden if it 
happens.
Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so 
I can
at least quit the app.


That's called an ANR ("Application Not Responding"). Something in the app is causing a hang. If 
you wait long enough, Android should put up a dialog asking if you want to wait or close the 
app. If you choose to wait, sometimes it comes back. However, the wait can be 10-20 seconds or 
more so people often just quit before the dialog appears.


The problem here is figuring out what causes it. Is it always the same PDF file? Or maybe it 
happens after opening a certain number of files, or the length of a file, or the cumulative 
length of several files, or...? If it isn't reproducible, it's very difficult to find the cause.


If it happens to you at home some day, see if waiting 15 seconds or more puts up that dialog. 
That would confirm it's an ANR.


--
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: Android black screen again...

2023-08-10 Thread J. Landman Gay via use-livecode
I looked up the Samsung Tab A and it says it runs Android 9, upgradable to 
11. There are multiple RAM options. Is this the one you have? 



I'm just guessing, but memory may be too low to allow the browser widget 
to work, since it does work after a reboot and the problem only happens 
occasionally. But Android 5 is almost 10 years old and I'd be surprised if 
that is what your tablet is running. Have you checked for an update? You 
have much more control of memory usage with a newer OS.


In any case, you can keep memory usage lower if you delete or disable all 
apps and processes you don't need. You can do that in Settings/Apps. 
Samsung installs a lot of bloatware and if you don't use those things, turn 
them off or remove them. You can't always uninstall these but you can 
disable some of them. Also uninstall any extra apps you don't use. I have a 
newer Samsung tablet and I disabled or deleted almost half the software it 
shipped with. Many of these run in the background and use memory. Launcher 
widgets also run constantly so remove the ones you don't need from your 
launch screens.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 10, 2023 5:03:24 AM Klaus major-k via use-livecode 
 wrote:



Hi friends,

maybe you remember my problem, that my app
turns into a black screen occacionally.

This has happened again about four or five times since
I reported it here.

This never happens at home, only when I am at a band
rehearsal, but never at a gig (fingers crossed).

Restarting the dveice definitively cures this, thank you Panos,
but sometimes, especially at a gig, I do not have the time to
do so. :-/

So any further hints highly appreciated!

macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet.
I'm mainly using the PDF widget if that matters...


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: Light Windows programs takes 40 s to load

2023-08-08 Thread J. Landman Gay via use-livecode
Removing the print driver or spooler works on the current machine but it 
will affect any other user who runs the app. We have a steady stream of 
support tickets from Windows users and a boilerplate response prepared.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 8, 2023 11:09:41 AM panagiotis m via use-livecode 
 wrote:



Hello all,

We recently fixed a bug (affecting mainly Windows 11) where the LC
installer, the LC IDE and Windows standalones were crashing on startup. It
turned out this was caused if some generic printer drivers were installed
in the device, and installing the official printer drivers from the
vendor's website prevented the crash. We had reports for Brother printers,
Epson and HP if I remember correctly.

The fix we added did fix the crash, but in some cases caused a delay on
startup, if the device still had the "generic" printer driver installed.

That's why I asked to quit the printer spooler and try again - if it works
with the printer spooler not running, it means that this device has a
"generic" printer driver installed, so Dar could just install the official
driver from the vendor's website and have the issue fixed.

Kind regards,
Panos



On Tue, 8 Aug 2023 at 18:36, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:


Pardon me if you know this already. Apps that are capable of printing will
attempt to connect to the default printer upon launch. Panos is trying to
isolate an issue where if the default printer is unresponsive, your app
will wait until the process times out before proceeding. In Windows the
Print Spooler service is the broker for all print processes. Stopping this
service will prevent the long timeout.

If using Windows, pop the Windows menu then start typing the word,
“Service”. Once you see “Services” open it, then find the Print Spooler
service (the list is Hot Typable but you have to select one of the services
first, otherwise just scroll down) the slick the Stop Service button.

BTW I would not use the task manager for this. I do not see either of
those names in my tasks. I think the Print Spooler task is actually named
Spoolsv.

Bob S


On Aug 8, 2023, at 7:26 AM, Dar Scott via use-livecode <
use-livecode@lists.runrev.com> wrote:

Sure, Panos! Uh, what’s its name?

___
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: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread J. Landman Gay via use-livecode
Signing happens after the app is built and is a manual process, so yours 
isn't signed /notarized yet. But unsigned apps run on the development 
machine anyway, so I'd say you built the app successfully.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 8, 2023 10:47:34 AM Bob Sneidar via use-livecode 
 wrote:


I have, but I don’t do any signing or notarizing. If that happens 
transparently, then it’s working for me.


Bob S


On Aug 8, 2023, at 6:59 AM, Dar Scott via use-livecode 
 wrote:


Thanks, Jacque!

That gives me a clue. I will try to get more info on this.

However, that note shows how to delete the offending resource using the 
xattr tool, but I have no app to point it to. LiveCode did not build anything.


I’m willing to try some magic values in Standalone Application Settings.
I’m using LiveCode 9.6.9, but I’m willing to upgrade.
I’m on macOS Ventura.

Has anyone successfully built a Mac application recently?

Dar

On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode 
 wrote:


This might help:
<https://developer.apple.com/library/archive/qa/qa1940/_index.html>
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 7, 2023 12:49:03 PM Dar Scott via use-livecode 
 wrote:



I’m having trouble building an application for Mac Intel.

The first time LiveCode crashed.

Subsequent times, I get this error:
There was an error while saving the standalone application
Adding ad-hoc signature failed with error:
/…/myProgram.app:
Replacing existing signature
/…/myProgram.app:
Resource for, Finder information, or similar detritus not
Allowed

I tried fiddling with the PLIST settings without success.
___
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





___
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: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread J. Landman Gay via use-livecode
I built a Mac standalone about 3 weeks ago without issue using an RC 
version of 9.6.9. I'm still on Monterey though. Do you have any inclusions 
selected or files in the Copy Files pane of the standalone settings? If so, 
try building without them and see what happens.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 8, 2023 9:01:54 AM Dar Scott via use-livecode 
 wrote:



Thanks, Jacque!

That gives me a clue. I will try to get more info on this.

However, that note shows how to delete the offending resource using the 
xattr tool, but I have no app to point it to. LiveCode did not build anything.


I’m willing to try some magic values in Standalone Application Settings.
I’m using LiveCode 9.6.9, but I’m willing to upgrade.
I’m on macOS Ventura.

Has anyone successfully built a Mac application recently?

Dar

On Aug 7, 2023, at 3:43 PM, J. Landman Gay via use-livecode 
 wrote:


This might help:
<https://developer.apple.com/library/archive/qa/qa1940/_index.html>
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 7, 2023 12:49:03 PM Dar Scott via use-livecode 
 wrote:



I’m having trouble building an application for Mac Intel.

The first time LiveCode crashed.

Subsequent times, I get this error:
There was an error while saving the standalone application
Adding ad-hoc signature failed with error:
/…/myProgram.app:
Replacing existing signature
/…/myProgram.app:
Resource for, Finder information, or similar detritus not
Allowed

I tried fiddling with the PLIST settings without success.
___
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: Unable to build for Mac: adding ad-hoc signature failed

2023-08-07 Thread J. Landman Gay via use-livecode

This might help:

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 7, 2023 12:49:03 PM Dar Scott via use-livecode 
 wrote:



I’m having trouble building an application for Mac Intel.

The first time LiveCode crashed.

Subsequent times, I get this error:
There was an error while saving the standalone application
Adding ad-hoc signature failed with error:
/…/myProgram.app:
Replacing existing signature
/…/myProgram.app:
Resource for, Finder information, or similar detritus not
Allowed

I tried fiddling with the PLIST settings without success.
___
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: tsNetGet() on android

2023-08-07 Thread J. Landman Gay via use-livecode

Cool. So, someone helped someone who helped me who helped you. Your turn.

:)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 6, 2023 11:37:26 PM scott--- via use-livecode 
 wrote:


@Jacque:  Nailed it!  Works as expected now. (Forehead slap was gentle but 
firm)




___
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: tsNetGet() on android

2023-08-06 Thread J. Landman Gay via use-livecode
It might be due to a insidious trick that caught me out. It also caught the 
person who helped me, who said he only knew about it because it got him too.


I assume you already have the right inclusions, but you may have missed the 
permissions checkbox in the Android pane of standalone settings. There's an 
Internet permission in there. Surprise!


If that isn't the problem then...um...?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 6, 2023 8:06:36 PM scott--- via use-livecode 
 wrote:


I’m having difficulty using a LiveCode-created android app to read a  (4.7 
KB) UTF-8 encoded text file off my server. Desktop and iOS versions of the 
app have no trouble. This is LC 9.6.9 (tsNet version 1.4.9 Business 
Edition) I don’t actually think this is a tsNet issue since I had 
previously been using “load URL” syntax and that failed on android as well. 
 The URL I am attempting to read is:


constant 
kSolutionsURL="https://elementarysoftware.com/wordlish/wordle_solutions_list.txt";


(I have tried variations using  http:// ,  www.  and also,  not using a 
constant)


The call to tsNet is formatted:

put tsNetGet("1", kSolutionsURL, tHeaders, "tsNetTransferComplete") into 
tResult


The (curl?) error I am getting from tsNet is:

tsneterr: (6) Could not resolve host: elementarysoftware.com 



This seems like such a simple thing, so I’m hoping for an idea from the 
collective. (After which I will slap my forehead and say, “Duh!”)


--
Scott Morrow

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








___
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: Managing windows in the IDE on Mac

2023-07-31 Thread J. Landman Gay via use-livecode

Hey Dar! So nice to see you here again.

The backdrop problem is a known bug on Ventura. Sometimes you can click 
where the window ought to be and it comes to the front, but basically 
windowing is broken. The only fix I know of for now is to not use a backdrop.




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 31, 2023 7:50:52 PM Dar Scott via use-livecode 
 wrote:



It has been a while. Hi, all. I’m getting back into LiveCode.

I’m using 9.6.9 on Mac Ventura.

I’m having a lot of trouble with the windows in the IDE. The backdrop 
doesn’t always work. The stack I’m working on keeps disappearing. I can 
check Float above everything, but that is not what I need and it can become 
a problem when I want to look at something else. The Project Browser stays 
behind everything and then disappears when I click on it.


Dar




Dar Scott



+1.505.433.1024  | darzLAB.com  | 
darsc...@darzlab.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


Re: Anyone with a new code sign certificate on eToken or in cloud would like to test my signtool.exe wrapper?

2023-07-30 Thread J. Landman Gay via use-livecode
Yes, prices have gone way up. You now need a physical USB stick with an 
encrypted certificate for Windows. I understand there is a cloud option too 
but we weren't offered that.


If you go for the USB solution, give yourself some time. We ordered from 
Sectigo and while they claim you will get the device in 2 or 3 days, they 
didn't send it for 5 weeks, which required numerous support interactions to 
determine why the order was lost in the bureaucracy. If that happens to 
you, get on phone, the chat bot people are evasive and will tell you it's 
processing and you will receive it in "2 or 3 days."  Demand to talk to a 
supervisor.


My client can be very persuasive when she's pissed off. :)

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 30, 2023 1:45:06 AM Tom Glod via use-livecode 
 wrote:



Hmm, I'm going to look into this Matthias,  I had not heard of etoken Certs.
I wonder if this is the reason for the recent doubling of the price of
signing certificates.

On Thu, Jul 27, 2023 at 10:49 AM matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:


Hi,
is there anyone in the list who has already one of those new code signing
certificates on an eToken or in the cloud and would like to test my new
wrapper for signtool.exe?

Especially those who are not very familiar with Windows might find this
wrapper helpful.

I've tested it with my cloud base certificate, but had no chance to get it
tested from one with an eToken certificate.

So if there is interest, then please let me know.

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: Reorder fields

2023-07-28 Thread J. Landman Gay via use-livecode
You can toggle what gets selected with the "Select Grouped" icon in the top 
toolbar.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 28, 2023 10:53:08 AM Mark Smith via use-livecode 
 wrote:


Well, this might explain it. The original designer had grouped the labels 
and the fields into groups (so label A and field A into grp A, etc). I was 
trying to change the order of the fields, (oddly, when you select the label 
or the field on the form it does not select a group, so I never realised 
the grouping existed). Using the project browser to select each group the 
order was 8, 14, 11. I used Pauls trick to move grp 11 above 14 and that 
satisfied the reorder. But, I also tried and successfully used the Layer 
field in the Inspector to change the group ordering (in this case to 8, 14, 
15) and achieved the same effect. It was a bit more complicated because I 
had to use the PB to select the grp and then open the inspector for that 
group to change the layer.


Très compliqué, non!



On 28 Jul 2023, at 4:17 pm, Craig Newman via use-livecode 
 wrote:


Why does, as Paul suggests, changing the layer order in the Project Browser 
work, whereas changing the layer order explicitly does not? We know that 
layers cannot be assigned to a particular object class (like fields) but 
include all controls at once. Is it possible that the layer order of the 
fields only was not properly grokked?


Craig

On Jul 28, 2023, at 10:19 AM, Mark Smith via use-livecode 
 wrote:


Thanks Paul. That is one of those super helpful tips that is hard to 
discover on your own. 1 day we need an easily searchable wiki for all this 
acquired wisdom (but for now I have tucked it away for future reference). 
Thanks for replying.


Mark


On 28 Jul 2023, at 3:00 pm, Paul Dupuis via use-livecode 
 wrote:


You can change the layer (order) in the Project Browser in the IDE by just 
dragging the objects up or down the list of objects on the card.



On 7/28/2023 6:19 AM, Mark Smith via use-livecode wrote:
How do you reorder fields? I have a form (prebuilt) with 3 fields (a,b,c) 
in positions 9, 15, 12 (as indicated by the Layer field in the Position 
tab). Tabbing cause these fields to be visited in the order a, c, b whereas 
I would prefer a, b, c. I have tried all manner of editing the Layer field 
to make them be in that order with no success, I’ve variously tried new 
orders: 9,10,11 or 14,15,16 or even 20,21,22 but nothing seems to affect 
their order. It always returns to 9, 15, 12. Lock size and position is not 
checked. I’ve even tried doing this with the Number field in the Advanced 
tab, also without success. Ok, I did find a solution but while it was easy 
for me, it might not be as easy on a more complicated form. I deleted all 3 
fields. Recreated field A (which was given the starting position of 11) 
then copy pasted two more times creating fields 12 and 13. So this 
satisfies my reorder interest, but seems to me a rather cumbersome and 
unnecessary procedure (if for no other reason than deleting fields also 
deletes all of the “custom” settings on the fields which doubles or triples 
the amount of effort involved). Maybe I am missing something more obvious?


Thanks


___
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



___
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: Reorder fields

2023-07-28 Thread J. Landman Gay via use-livecode
Layering works in the property inspector for me. The clue is that any layer 
you set moves everything above that layer one position higher. So if I want 
field b to layer lower than field c, I would set b's layer to what is 
currently c's layer. That would push c to one layer higher than b.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 28, 2023 10:20:23 AM Craig Newman via use-livecode 
 wrote:


Why does, as Paul suggests, changing the layer order in the Project Browser 
work, whereas changing the layer order explicitly does not? We know that 
layers cannot be assigned to a particular object class (like fields) but 
include all controls at once. Is it possible that the layer order of the 
fields only was not properly grokked?


Craig

On Jul 28, 2023, at 10:19 AM, Mark Smith via use-livecode 
 wrote:


Thanks Paul. That is one of those super helpful tips that is hard to 
discover on your own. 1 day we need an easily searchable wiki for all this 
acquired wisdom (but for now I have tucked it away for future reference). 
Thanks for replying.


Mark


On 28 Jul 2023, at 3:00 pm, Paul Dupuis via use-livecode 
 wrote:


You can change the layer (order) in the Project Browser in the IDE by just 
dragging the objects up or down the list of objects on the card.



On 7/28/2023 6:19 AM, Mark Smith via use-livecode wrote:
How do you reorder fields? I have a form (prebuilt) with 3 fields (a,b,c) 
in positions 9, 15, 12 (as indicated by the Layer field in the Position 
tab). Tabbing cause these fields to be visited in the order a, c, b whereas 
I would prefer a, b, c. I have tried all manner of editing the Layer field 
to make them be in that order with no success, I’ve variously tried new 
orders: 9,10,11 or 14,15,16 or even 20,21,22 but nothing seems to affect 
their order. It always returns to 9, 15, 12. Lock size and position is not 
checked. I’ve even tried doing this with the Number field in the Advanced 
tab, also without success. Ok, I did find a solution but while it was easy 
for me, it might not be as easy on a more complicated form. I deleted all 3 
fields. Recreated field A (which was given the starting position of 11) 
then copy pasted two more times creating fields 12 and 13. So this 
satisfies my reorder interest, but seems to me a rather cumbersome and 
unnecessary procedure (if for no other reason than deleting fields also 
deletes all of the “custom” settings on the fields which doubles or triples 
the amount of effort involved). Maybe I am missing something more obvious?


Thanks


___
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





___
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: No progress updates on LC 10. Am i the only one who is concerned?

2023-07-24 Thread J. Landman Gay via use-livecode

On 7/24/23 10:56 AM, Mike Kerner via use-livecode wrote:

the things that bug me are:
* at renewal, i added the html5 license, but that project isn't anywhere


Did you select the correct license on renewal? I had the same problem but it turns out there's 
a tiny little arrow when the installer appears, and you can page through your licenses. I felt 
stupid when Heather noted it.


Choose "Relicense" from the Help menu and see if you have that arrow. If not, 
contact support.

--
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: permanency of an unsigned Android app on the phone?

2023-07-20 Thread J. Landman Gay via use-livecode
On July 20, 2023 7:48:13 PM Richard Gaskin via use-livecode 
 wrote:



J. Landman Gay jacque wrote:

Depending on the Android version the user

may need to bypass

a scary warning, accept some permissions, and turn on

the ability

to download from unknown sources in system settings


...and after the app is installed then immediatel turn sideloading back off.

It's powerful.  And the bad guys know it.  Don't run with it turned on.


One nice thing about Android 13 (and I think 12?) is that it allows you to 
permit downloads by app, rather than toggling a global property. That way 
you don't need to turn on unknown sources in system settings. Of course, 
you can still get yourself in trouble if you give permissions to your 
browser and then binge download everything you see.


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


  1   2   3   4   5   6   7   8   9   10   >