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


Re: OT - a new release of WinSignHelper for macOS

2023-07-20 Thread J. Landman Gay via use-livecode
Very useful info, thank you. Especially the part about using the token on 
different machines. I was duped into believing everything I read on the 
internet. :)


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 20, 2023 4:20:59 PM matthias rebbe via use-livecode 
 wrote:


Am 20.07.2023 um 17:21 schrieb J. Landman Gay via use-livecode 
:


Thanks Matthias. I've been reading about it and I think the cert is stored 
on the machine but it is tied to that computer and not exportable.




If you get a new computer you need to buy a new certificate.
I don't think that is true. The new type of certificate has to be stored on 
a secure device. That's what the eToken is for. The private key is also 
stored on the eToken and the certificate and the private key cannot be 
exported. You should be able to use that token on multiple computers. You 
just have to install the eToken driver to an other computer and attach the 
eToken to it.


This is what Trustzone is saying about it:
"The token-based type of Standard Code Signing certificates can also be 
used on multiple computers. The same goes for token-based EV certificates. 
But no token-based certificate can ever be used simultaneously on two 
computers since the SafeNet token can only be plugged into one computer at 
a time."


As i never had such eToken, i do not know, if the certificate and the 
private key can be accessed as files through Finder. And what extension do 
they have. I've read the osslsigncode can use also certificates and key 
files with .cem extension.
So if the eToken contains such files, WinSignHelper could be slightly 
adjusted to work with the eToken. But that's just an assumption.


Matthias


So I don't think I'll experiment, and we'll just do the whole thing on the 
Windows box.


The sad part is that if we'd renewed just a couple of weeks earlier we'd 
have been within the cutoff date and could have purchased the old type of 
certificate.


Same here. I was about 5 days to late otherwise i could have ordered the 
olde type.



If anyone else has used the new token hardware I'd be grateful for any tips 
or suggestions. This is all new to me.


I am using a cloud based OV certificate from Certum. I just need to install 
the Software SimplySign Desktop. The software "integrates" the certificate 
into Windows' certificate storage (or what ever this is called) after i 
logged in using that SimplySign Desktop software.

Microsoft's signtool can then directly access the certificate.



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode 
 wrote:



To be honest, i do not know.
I am currently using a cloud code signing certificate which i can only use 
on Windows.
I've chosen the cloud version because of the price, but later i noticed 
that it seems that those cloud certificates cannot be used on macOS.

Or maybe they can, but i do not know how, especially with ossl signcode
WinSignHelper uses ossl signcode and currently that tool needs a path to a 
certificate


Do you know where the certificate is stored with the eToken solution? Is it 
stored also on the eToken or anywhere else on the Mac?
If you have the certificate as a physical file it maybe could be possible 
to select that file in the WinSignHelper prefs.


But as  i alread wrote, i really don't know exactly.

I am currently thinking of purchasing a 2nd certificate as eToken solution, 
but there is not yet a decision made, if i should spent money for this, as 
i have a working cloud certificate which expires in 3 years.


Regards,
Matthias

Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode 
:


@Matthias: does the upgraded WinSignHelper work with the new hardware 
eTokens? Those are required now.


If so, do the instructions change on how to use your tool?


On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote:

i've upgraded my free tool WinSignHelper.
For those who do not know what WinSignHelper is...
It's a GUI for osslsigncode. Osslsigncode is command line tool that can do 
the Authenticode signing and timestamping. With it you can code sign 
Windows applications  using an appropriate code signing certificate.
You just drag a folder with your Windows application into WinSignHelper and 
it signs all components of your standalone (.exe and .dll).
WinSignHelper Help section gives enough information about how to install 
osslsigncode.

So if anyone is interested in testing
The version is  notarized and is an universal build for X86 and Arm
Zip
https://dl.qck.nu/?dl=WinSignHelper_universal.zip
DMG
https://dl.qck.nu/?dl=WinSignHelper_universal.dmg
Hope this is of help for one or the other.



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___

Re: OT - a new release of WinSignHelper for macOS

2023-07-20 Thread J. Landman Gay via use-livecode
Thanks Matthias. I've been reading about it and I think the cert is stored 
on the machine but it is tied to that computer and not exportable. If you 
get a new computer you need to buy a new certificate. So I don't think I'll 
experiment, and we'll just do the whole thing on the Windows box.


The sad part is that if we'd renewed just a couple of weeks earlier we'd 
have been within the cutoff date and could have purchased the old type of 
certificate.


If anyone else has used the new token hardware I'd be grateful for any tips 
or suggestions. This is all new to me.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 19, 2023 4:20:23 PM matthias rebbe via use-livecode 
 wrote:



To be honest, i do not know.
I am currently using a cloud code signing certificate which i can only use 
on Windows.
I've chosen the cloud version because of the price, but later i noticed 
that it seems that those cloud certificates cannot be used on macOS.

Or maybe they can, but i do not know how, especially with ossl signcode
WinSignHelper uses ossl signcode and currently that tool needs a path to a 
certificate


Do you know where the certificate is stored with the eToken solution? Is it 
stored also on the eToken or anywhere else on the Mac?
If you have the certificate as a physical file it maybe could be possible 
to select that file in the WinSignHelper prefs.


But as  i alread wrote, i really don't know exactly.

I am currently thinking of purchasing a 2nd certificate as eToken solution, 
but there is not yet a decision made, if i should spent money for this, as 
i have a working cloud certificate which expires in 3 years.


Regards,
Matthias

Am 19.07.2023 um 22:53 schrieb J. Landman Gay via use-livecode 
:


@Matthias: does the upgraded WinSignHelper work with the new hardware 
eTokens? Those are required now.


If so, do the instructions change on how to use your tool?


On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote:

i've upgraded my free tool WinSignHelper.
For those who do not know what WinSignHelper is...
It's a GUI for osslsigncode. Osslsigncode is command line tool that can do 
the Authenticode signing and timestamping. With it you can code sign 
Windows applications  using an appropriate code signing certificate.
You just drag a folder with your Windows application into WinSignHelper and 
it signs all components of your standalone (.exe and .dll).
WinSignHelper Help section gives enough information about how to install 
osslsigncode.

So if anyone is interested in testing
The version is  notarized and is an universal build for X86 and Arm
Zip
https://dl.qck.nu/?dl=WinSignHelper_universal.zip
DMG
https://dl.qck.nu/?dl=WinSignHelper_universal.dmg
Hope this is of help for one or the other.



--
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: OT - a new release of WinSignHelper for macOS

2023-07-19 Thread J. Landman Gay via use-livecode
@Matthias: does the upgraded WinSignHelper work with the new hardware eTokens? Those are 
required now.


If so, do the instructions change on how to use your tool?


On 12/23/22 10:44 AM, matthias rebbe via use-livecode wrote:

i've upgraded my free tool WinSignHelper.

For those who do not know what WinSignHelper is...
It's a GUI for osslsigncode. Osslsigncode is command line tool that can do the 
Authenticode signing and timestamping. With it you can code sign Windows 
applications  using an appropriate code signing certificate.

You just drag a folder with your Windows application into WinSignHelper and it 
signs all components of your standalone (.exe and .dll).
WinSignHelper Help section gives enough information about how to install 
osslsigncode.

So if anyone is interested in testing

The version is  notarized and is an universal build for X86 and Arm

Zip
https://dl.qck.nu/?dl=WinSignHelper_universal.zip

DMG
https://dl.qck.nu/?dl=WinSignHelper_universal.dmg


Hope this is of help for one or the other.



--
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 and USB footswitch

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

On 7/18/23 2:30 PM, Klaus major-k via use-livecode wrote:

thank you, will install and try Solid Explorer!


I'm very impressed with it, it can do so many things. You can link to any cloud storage and 
access files as though they were local on the device. It can unzip files, create collections of 
favorite folders, play audio files, and display text and images.


Like Finder, you can drag files from one place to another to either copy or move them. It can 
access your computer or another device on the network via FTP. It gets frequent updates. 
There's too much to list here, but it's been my file manager for years and the first app I 
install on a new device.


Disclaimer: I'm not involved with it at all, I just like it a lot. This kind of file management 
is what I miss most about iOS.


--
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 and USB footswitch

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

On 7/17/23 5:02 AM, Klaus major-k via use-livecode wrote:

Since PDFs are not accessible via "mobilepickmedia" are there ANY other ways to 
add
some PDFs later without having to download them from some URL?


I tried several things but I couldn't get any of them to work. You can write to and read from 
the mobile documents folder, but if you put a file in there manually it isn't seen by the app. 
I use a very good file manager on Android called Solid Explorer and it does see a file I copy 
to documents, but my mobile app doesn't list it or confirm anything is there.


If you want to try, download a good file manager; Google or Samsung's default Files app won't 
work. Then go to the app's document folder, which is located here:


  /Android/data/com.your.appID/

You may have to give the file manager permissions to open those folders, they're locked down in 
recent versions of Android. Solid Explorer will ask you to allow it.


We really need LC to give us access to the public documents folder. I think that's the only way 
to do what you (and I) want.


--
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: Search for an app in Google Play Store

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

On 7/17/23 3:10 AM, Klaus major-k via use-livecode wrote:

Maybe I do not understand it correctly?

Hi Klaus,

Thanks for contacting Google Play Developer Support.

Google Play app search works across title, developer name, and app descriptions.
Your title should be unique and accessible, avoid common terms, and reinforce
what your app is about.

Using common or generic words like "Puzzle" or "Sports" can often increase the
total number of potential search results, thus making your app more difficult 
to find.
Using the search phrase Sehen-Hören-Merken forces our search engine to 
autocorrect
the search term and return results as if the search term were "Sehen - Hören - 
Merken" (in quotes).


Interesting. The app that couldn't be found for me had an "@" sign in the name. So I agree that 
symbols or punctuation like hyphens may be the problem.


Since their algorithm converts the search term, you could try putting the Google version in the 
description somewhere. You could put it way at the bottom of the description, just for reference.


I very occasionally see titles like this:
Sehen-Hören-Merken (Sehen - Hören - Merken)

I wondered why but now I think I know.

--
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: Apple Notarization changes...

2023-07-17 Thread J. Landman Gay via use-livecode
@Paul : Matthias' helper stack is a great gift to the community. I think 
the LC team even uses it. You'll never have to use Terminal or Xcode again.


You can download the stack from the lesson he linked to, then scroll down 
to section 9 to see the setup.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 17, 2023 11:50:50 AM matthias rebbe via use-livecode 
 wrote:




2) Has Livecode (or anyone else) updated lessons. documentation, help apps, 
etc, for using this new notarytool? If so, can anyone point me to it?

see here
https://lessons.livecode.com/m/4071/l/1653720-code-signing-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore-with-xcode-13-and-up



November 1 is still a ways off, but I find Apple Notarization so 
incomprehensible that once I get a set of steps to work, I document them 
and follow them verbatim and the thought of trying to figure out what this 
change means is daunting!




___
use-livecode mailing list
use-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: Solved: Writing to Mac Application Support folder

2023-07-15 Thread J. Landman Gay via use-livecode
Good approach. I assume if there is no file in Preferences, you write defaults directly to the 
container.


I got curious and looked at where LC stores its files. They do not have a container. It's 
mostly in Application Support, in a folder "RunRev" (there's also an older one there named 
"Runtime Revolution".) Some of the files were updated recently so it apparently still works. 
Now I wonder if there's another way to do this stuff.


I'd like some definitive info about this. @Panos? @Mark?

On 7/15/23 12:24 AM, scott--- via use-livecode wrote:

Thanks again, Jacque.

My solution for migrating preference files from the Preferences folder to the 
Container turned out to be quite simple but for some reason I spent a bunch of 
time pondering other more complicated methods. In the end I changed an existing 
function which returns a path to the preferences file and had it first look to 
see if a Container exists. If it doesn’t then it creates the Container but 
still returns the path to the original Preferences folder. (This works in my 
use case because the app's first call to this function will always be to “read” 
the preference file)  Now that the Container exists, all future calls to the 
function will return the Container path… and the original data, having been 
already loaded into the app, is ready to write to (and read from) the new 
Container location.




--
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: What is your best practice for setting a script in a script?

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

On 7/15/23 12:51 PM, Tweedly via use-livecode wrote:

Maybe keep the script in a custom property ?


That's what I usually do. If the variables or references may change, I use placeholders and the 
merge command to replace things before setting the script on the control.


If it's a very short script I sometimes use this method:

set the script of tObj to "on mouseUp;doSomething;end mouseUp"

--
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: Solved: Writing to Mac Application Support folder

2023-07-14 Thread J. Landman Gay via use-livecode
What I found out is that the app container has permission automatically. 
That's the only place though. All other file access has to be initiated by 
the user.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 14, 2023 6:18:45 PM Bob Sneidar via use-livecode 
 wrote:


I don’t think there is any way past this. Ultimately the permissions to 
write to any path must be authorized by the current user agent. If they 
accept, well and good. If not, there cannot be any way around it.


Sent from my iPhone

On Jul 14, 2023, at 16:07, J. Landman Gay via use-livecode 
 wrote:


On 7/14/23 4:10 PM, scott--- via use-livecode wrote:
If the file (say a preference.txt file) already exists in the Preferences 
or App Support folder, are we able to continue writing to it?  In other 
words, is this an issue with the creation of the file or also of writing in 
general?
How are you handling this? Are you attempting to write to the Preferences 
or App Support folder first… and are you moving existing files to the 
“Container” folder?


That's a very good question and I'm afraid I don't know the answer. It's 
worrying though, because a couple of my older products need to write to 
Preferences. Here's what I do know.


The issue only came up recently. My tester with the problem is on Ventura 
but I suspect it's a little older than that.


In the past I always wrote files to Preferences without issues. For my 
current project there was already a prefs file there and it worked. But it 
also worked if I put it directly in App Support, and also worked if I made 
a container. In fact, it worked anywhere because it's my machine. Not so 
for others.


For the tester, I originally tried to create and write the file in 
Preferences as usual. It didn't work and no file was created. Another 
tester, also on Ventura, had the Mac ask for permissions, he gave it, and 
it worked. Everything else I subsequently tried also worked for him.


Next, I changed the app to write directly to Application Support. Same 
problem, no file was created, the Mac didn't ask for permission. So I 
changed it again to create a folder in Application Support with the name of 
the app and put the prefs file in there. Same failure. Finally, I created 
the container folder in ~/Library/Conainers and bingo, success.


The tester who gave permissions and had no trouble at any point, including 
reading and writing to the container.


Since I can't test on my own machine, I'm waiting for someone who has my 
older products to tell me there's a problem. Or I'll lean on my husband to 
try it. Husbands are good for things like 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

___
use-livecode mailing list
use-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: Solved: Writing to Mac Application Support folder

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

On 7/14/23 4:10 PM, scott--- via use-livecode wrote:

If the file (say a preference.txt file) already exists in the Preferences or 
App Support folder, are we able to continue writing to it?  In other words, is 
this an issue with the creation of the file or also of writing in general?

How are you handling this? Are you attempting to write to the Preferences or 
App Support folder first… and are you moving existing files to the “Container” 
folder?


That's a very good question and I'm afraid I don't know the answer. It's worrying though, 
because a couple of my older products need to write to Preferences. Here's what I do know.


The issue only came up recently. My tester with the problem is on Ventura but I suspect it's a 
little older than that.


In the past I always wrote files to Preferences without issues. For my current project there 
was already a prefs file there and it worked. But it also worked if I put it directly in App 
Support, and also worked if I made a container. In fact, it worked anywhere because it's my 
machine. Not so for others.


For the tester, I originally tried to create and write the file in Preferences as usual. It 
didn't work and no file was created. Another tester, also on Ventura, had the Mac ask for 
permissions, he gave it, and it worked. Everything else I subsequently tried also worked for him.


Next, I changed the app to write directly to Application Support. Same problem, no file was 
created, the Mac didn't ask for permission. So I changed it again to create a folder in 
Application Support with the name of the app and put the prefs file in there. Same failure. 
Finally, I created the container folder in ~/Library/Conainers and bingo, success.


The tester who gave permissions and had no trouble at any point, including reading and writing 
to the container.


Since I can't test on my own machine, I'm waiting for someone who has my older products to tell 
me there's a problem. Or I'll lean on my husband to try it. Husbands are good for things like 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: Field highlited

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

On 7/14/23 11:14 AM, Mark Smith via use-livecode wrote:

BTW, is there a way of determining the default highlight colour?


The dictionary says: "By default, the global hiliteColor property is set to the system 
highlight color."


I'd guess yours is blue. That's pretty standard on Mac.

--
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: Search for an app in Google Play Store

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

On 7/14/23 7:16 AM, Klaus major-k via use-livecode wrote:

I am looking for a support email at GOOGLE Dev.
My problem is the search engine of Google Play Store.
Just like the subject says. ;-)


Oh right, I'm supposed to read the subject title. Oops. This is the closest 
thing I could find:


They don't make it easy.

--
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: Convert date

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

On 7/13/23 3:19 AM, Neville Smythe via use-livecode wrote:

I seem to have hallucinated that the built-in convert handler recognised the 
ISO date and dateTime formats (-MM-DD, -MM-DD hh:mm:ss+-hh.ss, etc) but 
I must have written my own conversion routines in a former life.

But one would have to ask… Why doesn’t it? After all, the original ISO 8601 
standard was adopted 1988!


I've been collecting handlers for this for some years. I have four now. I didn't note where the 
first two came from, but here's what I have:


on formatTime
  put the long time into tTime
  convert tTime to dateItems
  split tTime by ","
  return format("%02d:%02d:%02d",tTime[4],tTime[5],tTime[6])
end formatTime


function sqlDate pDate
  convert pDate to dateitems
  set the numberformat to "00"
  return merge("[[item 1 of pDate]]-[[item 2 of pDate + 0]]-[[item 3 of pDate + 
0]]")
end sqlDate



-- Mark Waddingham, sql date and time:

function convertDateTimeToISO pDateTime
  local tTimeZone
  convert pDateTime to internet date
  put the last word of pDateTime into tTimeZOne
  convert pDateTime to dateitems
  return format("%04d-%02d-%02d %02d:%02d:%02d%s", \
item 1 of pDateTime, item 2 of pDateTime, item 3 of pDateTime, \
item 4 of pDateTime, item 5 of pDateTime, item 6 of pDateTime, 
tTimeZone)
end convertDateTimeToISO


-- Klaus Major, using seconds:
function smpt_lite tSecs
   return format("%02d:%02d:%02d", tSecs div 3600, (tSecs mod 3600) div 60,
tSecs mod 60)
end smpt_lite

--
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: Field highlited

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

On 7/13/23 2:58 PM, J. Landman Gay via use-livecode wrote:

On 7/13/23 1:18 PM, Mark Smith via use-livecode wrote:

Hi Paul, try “the selectedText".


Whaddya know...it works!

Another way is to turn off traversalOn in the button. That prevents the focus 
from changing.



Actually, I've been trying different button and field settings and no matter what I do, the 
selection doesn't go away It doesn't matter if I click a button or directly on the card. I'm 
not sure what changed because it didn't used to be that way.


LC 9.6.9.

--
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: Search for an app in Google Play Store

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

On 7/11/23 2:44 PM, Klaus major-k via use-livecode wrote:

You could try writing to support and see if they can tell you what's wrong.


yes, worth a try, do you have the supports email address?


Sorry for the late reply, you may have found it already but you can write to 
support here:


Scroll to the middle of the page, there's a button.

--
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: Field highlited

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

On 7/13/23 1:18 PM, Mark Smith via use-livecode wrote:

Hi Paul, try “the selectedText".


Whaddya know...it works!

Another way is to turn off traversalOn in the button. That prevents the focus 
from changing.

--
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: Stylized Text on Mobile

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

On 7/12/23 1:19 PM, Dan Friedman via use-livecode wrote:

Just want to make sure I’m not missing something… there is no method to enter, 
display or edit stylized text in a native mobile text control (or the widget).  
Is this true?   If so, has anyone got a workaround?


You can use a regular LC field for display and some editing.

--
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: Search for an app in Google Play Store

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

On 7/11/23 1:46 PM, Klaus major-k via use-livecode wrote:

I don't know how the search algorithm works, maybe it takes some time to 
populate.

See above, well, that should be finished already. 8-)



You could try writing to support and see if they can tell you what's wrong.

--
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: Search for an app in Google Play Store

2023-07-11 Thread J. Landman Gay via use-livecode
My client had similar results where the name of the app was not found. It 
could be found by searching for the company name though. We couldn't 
explain it. Some weeks later it suddenly could be found normally by its name.


I don't know how the search algorithm works, maybe it takes some time to 
populate.


---
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 11, 2023 8:06:18 AM Klaus major-k via use-livecode 
 wrote:



Hi friends,

strange results whjen searching a german app in the Google Playstore.
We have an app namde -> Sehen - Hören - Merken
in the Apple and Google store.
iOS

Android


However it is not easy to find the app in Google be it on the PC/Mac
(via browser URL: https://play.google.com/store) or on an Android Device
with the Googgle app:
1. If I enter -> Sehen - Hören
App is found

2. If I enter its full name: Sehen - Hören - Merken
NO results

3. If I enter its full name and its file externsion: Sehen - Hören - Merke.app
App is found.

Any hintst that may shed some light on this phenomenon very appreciated.
Thank a lot in advance!


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


Solved: Writing to Mac Application Support folder

2023-07-10 Thread J. Landman Gay via use-livecode
After innumerable tests and failures I've figured out how to read/write to the Application 
Support folder on newer versions of MacOS X. Manually setting permissions in System Settings 
didn't work for my tester, and Ventura never did ask him to allow file access, so he was stuck.


In case anyone else needs to do this, here is what worked for distribution outside the Mac App 
Store.


1. The app must be signed and notarized. I thank Matthias every day for his 
mrSignNotarizeHelper. The app does not need to be sandboxed.


2. Apps can automatically read from and write to their own container. My problem was not 
knowing where the container was.


3. The path to the container is in ~/Library/Containers//

We don't have a specialFolderPath for that, so here's how I did it:

put specialFolderPath("support") into tContainer
set the itemdel to slash
put "Containers/your.bundle.id/" into last item of tContainer
if there is no folder tContainer then
  create folder tContainer
  if the result <> empty then log "Create container:" && the result
end if
put tContainer & "yourFileName.ext" into tPath

This appears to work on any version of MacOS X so far, though I haven't yet heard from a tester 
on Mojave.


Note: in the past I could just write a file into the Preferences or the App Support folder and 
it worked. Now I can't. You need the app container.


--
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: A stack "revCursors" is already in memory.

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

On 7/6/23 9:26 AM, Paul Dupuis via use-livecode wrote:
I have a new Livecode 9.6.9  install on a new Windows 11 laptop. It was working normally for a 
while, and, now, whenever I launch it, I get a warning message:


A stack "revCursors" is already in memory. The Livecode UI does not ... etc..

Can someone advise what I need to do to address this? I seem to recall this problem has been 
seen before.


I think it happens when you include cursors in a standalone build. Sometimes LC adds it to your 
stack as well as to the executable. When LC launches it see both the one in the stack and the 
one in the IDE.


Check the substacks of your mainstack. If revCursors is in there, delete 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: Writing to Mac Support folder

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

On 6/30/23 1:32 AM, matthias rebbe via use-livecode wrote:

This is what Apple says:

"If you distribute your macOS app through the App Store, you must enable App 
Sandbox. If you notarize your macOS app to distribute it outside of the App Store, you 
must enable hardened runtime and, optionally, can also enable App Sandbox."
https://help.apple.com/xcode/mac/current/#/devf87a2ac8f


If I have notarized the app, is hardened runtime enabled? I don't even know 
what that means.

I use mrSignNotarizeHelper. I tried to enable entitlements, but I don't need any of the listed 
ones and if none are selected then the Entitlements checkbox reverts to off. I assume that 
means my app is not sandboxed?


How do I sandbox the app, and would that allow it to write to the App Support folder? Does LC 
automatically enable hardened runtime?


--
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: Remote debugger error message

2023-07-02 Thread J. Landman Gay via use-livecode
I've seen the same error more than once but it's a bit random and I don't know what triggers 
it. It's only in the IDE so far, even though I've included the remote debugger in the 
standalone. Funny that it should occur in the IDE when the remote debugger isn't active.


The remote debugger in the standalone did trigger some errors a few times. Maybe something is 
left in memory? The IDE was still running while testing the standalone.


On 7/2/23 1:24 PM, David Epstein via use-livecode wrote:

panagiotis m asked:
@david
How do you trigger this error? Could you provide a recipe?

With the stacks that trigger the error it is hard to troubleshoot them without 
triggering the error.  So I’m starting with an entirely new stack, and will 
report if I encounter the problem.

I suspect the problem has something to do with a message that calls a handler 
in a stack-in-use.

Best wishes,
David




On Thu, Jun 29, 2023 at 8:40?PM David Epstein via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:


I?ve just started using LiveCode 9.6.9 and 10.0.0 DP 5 on two Intel

Macs, and can do very little without getting this error message:


?There was an error executing a script in stack

com.livecode.library.remotedebugger.  No more information is available
because the stack is password protected.?

___
use-livecode mailing list
use-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: Painting inclusions

2023-06-30 Thread J. Landman Gay via use-livecode

On 6/30/23 4:56 PM, J. Landman Gay via use-livecode wrote:
Setting a brushpattern works in the IDE but not in a standalone. I've looked through the 
inclusions and don't see anything about patterns. I do include brushes. Anyone know what is 
missing? The dictionary says they are "built-in."




Actually, I can't find the patterns in the IDE or the app bundle either. But they do work in 
the IDE.


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


Painting inclusions

2023-06-30 Thread J. Landman Gay via use-livecode
Setting a brushpattern works in the IDE but not in a standalone. I've looked through the 
inclusions and don't see anything about patterns. I do include brushes. Anyone know what is 
missing? The dictionary says they are "built-in."


--
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: Writing to Mac Support folder

2023-06-30 Thread J. Landman Gay via use-livecode
It's an automatic response from the OS when an app needs to to do something 
that requires user permissions, like accessing files outside the app bundle.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 30, 2023 1:51:18 AM Richmond Mathewson via use-livecode 
 wrote:



When I download an app onto my Mac Mini, on opening it for the first time
it often asks me for permission to access the desktop/document/whatever
folder.

I assume that code to make an app ask for permissions to be granted has to
be entered somewhere ['preOpenStack' ???] by the developer.





___
use-livecode mailing list
use-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: Writing to Mac Support folder

2023-06-30 Thread J. Landman Gay via use-livecode
I have several testers and only one has the problem. He's running Mac 
Ventura, but so are a couple of others. The app is signed and notarized 
using your wonderful tool. Normally the Mac asks if the app can write files 
to disk and directs the user to system prefs / privacy and security so the 
user can give permissions. Either one tester ignored the dialog or never 
saw it. Without write permissions the prefs file is never copied to the 
Preferences folder.


I directed him to system prefs to solve the problem but I don't want users 
to have to do that. I read that apps can automatically write to preferences 
or application support if the app is sandboxed, and it doesn't need any 
special entitlements to do that, so I think think that's what I need to do. 
But I'd like verify my assumption is correct.


@Matthias, if I enable the entitlements checkbox in your tool but don't add 
any of the listed entitlements, will it add the sandbox directive 
automatically? I think I only need that one line.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 30, 2023 1:35:27 AM matthias rebbe via use-livecode 
 wrote:



This is what Apple says:

"If you distribute your macOS app through the App Store, you must enable 
App Sandbox. If you notarize your macOS app to distribute it outside of the 
App Store, you must enable hardened runtime and, optionally, can also 
enable App Sandbox."

https://help.apple.com/xcode/mac/current/#/devf87a2ac8f


What os does the user run who has the problems to run the app? Did he allow 
to run programs from outside the App Store?


If you don't mind, you can send me your app and i will try it here.

Regards,
Matthias

Am 29.06.2023 um 22:50 schrieb J. Landman Gay via use-livecode 
:


Short version: how do I bypass Gatekeeper to write a prefs file?

I need to save a file in ~/Library/Application Support/myAppFolder/. Am I 
correct that I need to sandbox the app before I can write a file there?


I read an LC lesson that said no special entitlements are required to 
create an app folder and a file. I can't test it myself because I already 
have full access.


If this is correct so far, then do I just need to provide the sandbox 
entitlement and nothing else?


--
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: Answer dialog text missing in standalone 9.6.9

2023-06-30 Thread J. Landman Gay via use-livecode
Is the text color of calling stack white? The dialog will inherit the color 
from that stack, or from the next one in the inheritance path. The text may 
be there but not visible.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 30, 2023 7:30:50 AM General 2018 via use-livecode 
 wrote:



Hi ,

Tried all that auto / manual inclusion etc.

You cannot deselect ask / answer it will always include.

Regards
Camm

On 30 Jun 2023, at 13:15, Mike Kerner via use-livecode 
 wrote:


you have to add the answer dialog to your inclusions when building


On Fri, Jun 30, 2023 at 7:19 AM panagiotis m via use-livecode
 wrote:

Hello again,

Just tested on Windows and it works fine here as well.

@Camm
Could it be the case you have customised the answer dialog stack?

Cheers,
Panos
--



On Fri, 30 Jun 2023 at 14:12, panagiotis m  wrote:

Hello Camm,

In which platform? Seems to work as expected here (MacOS).

Cheers,
Panos
--

On Fri, 30 Jun 2023 at 09:54, General 2018 via use-livecode <
use-livecode@lists.runrev.com> wrote:


Hi,

Just the “Yes” , “No”

“Some Text” missing.

Works fine in IDE and previous standalones.

Regards
Camm


On 29 Jun 2023, at 23:13, Craig Newman via use-livecode <

use-livecode@lists.runrev.com> wrote:


Hi.

I assume you mean the standard “Answer” command. There is no “Answer

Text”.


So if you:

answer “Some Text" with “Yes" or “No"
what exactly pops up?



Craig





On Jun 29, 2023, at 4:21 PM, General 2018 via use-livecode <

use-livecode@lists.runrev.com> wrote:


Hi,

Answer Text missing in standalone , the icon and buttons (with text)

appear but no dialog text.

All okay in IDE.

Checked inclusions - all seems okay.

Regards
Camm
___
use-livecode mailing list
use-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




--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
  and did a little diving.
And God said, "This is good."

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

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

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

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





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


Re: Writing to Mac Support folder

2023-06-29 Thread J. Landman Gay via use-livecode
I should have been more clear that this was for an app, sorry about that. I can create the file 
too on my own drive. The problem is with a built app on someone else's drive. OS permissions 
normally forbid any file or folder creation outside the app bundle.


I'm not sure if I need to sandbox the app or if there's an easier way. One tester had no 
trouble (the Mac asked for permissions) but another tester didn't get a notification and 
thought the app was broken.


On 6/29/23 4:36 PM, Bob Sneidar via use-livecode wrote:

Not sure if this helps: I just put this in the message box in the IDE and hit 
enter, and it created the folder successfully. I don’t remember ever 
specifically allowing LC to do that, but then I think I have given LC 
permissions to modify files on the OS drive.

put "~/Library/Application Support/FormsGen" into tFoldername;create folder 
tFolderName

Bob S



On Jun 29, 2023, at 1:50 PM, J. Landman Gay via use-livecode 
 wrote:

Short version: how do I bypass Gatekeeper to write a prefs file?

I need to save a file in ~/Library/Application Support/myAppFolder/. Am I 
correct that I need to sandbox the app before I can write a file there?

I read an LC lesson that said no special entitlements are required to create an 
app folder and a file. I can't test it myself because I already have full 
access.

If this is correct so far, then do I just need to provide the sandbox 
entitlement and nothing else?


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


Writing to Mac Support folder

2023-06-29 Thread J. Landman Gay via use-livecode

Short version: how do I bypass Gatekeeper to write a prefs file?

I need to save a file in ~/Library/Application Support/myAppFolder/. Am I correct that I need 
to sandbox the app before I can write a file there?


I read an LC lesson that said no special entitlements are required to create an app folder and 
a file. I can't test it myself because I already have full access.


If this is correct so far, then do I just need to provide the sandbox 
entitlement and nothing else?

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

2023-06-20 Thread J. Landman Gay via use-livecode

On 6/19/23 5:29 PM, Dan Friedman via use-livecode wrote:

I am trying to update an Android app that was previously release on the Google 
Play Store.   When I went to upload the Bundle, I got this message:

“To upload an Android App Bundle you must be enrolled in Play App Signing.”

With a little research, I found the App Signing area under “App Integrity”.   I 
tried to follow the directions, but I just get errors.  Anyone done this?  If 
so, do you have any guidance on this?


I had to do this last week with an update to an existing published app on Google Play. Do you 
have your original signing key for the app? You'll need that first. Sign your app as usual with 
the original key.


Then look at this:


I can't review the necessary Terminal command because I already went through the process and it 
isn't available to me now. But originally it gave the command to generate the Play Store 
signing key. I already had a pepk.jar file from before and I used that. I put it into the same 
directory with Java because I didn't know how else to do it.


The Terminal command Google provided starts like this:
java -jar pepk.jar --keystore= --alias= --output=a file name> --encryptionkey=


At what point are you getting the errors? My main issue was in getting Terminal to find Java, 
it took me a couple of hours and some research to get the path to Java to work. I know almost 
nothing about Terminal.


Let us know where you get stuck, though I can't promise I can help. I congratulate Google on 
making Android submissions nearly as difficult as iOS. We need an LC lesson this 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: Code-Signing Frustration

2023-06-19 Thread J. Landman Gay via use-livecode
Good catch Panos, I forgot about that tricky checkbox. It should be 
relabeled, especially since its behavior is the opposite of what one would 
expect.


Change it to "TestFlight" or "Apple distribution" or something. If Swami 
hadn't mentioned it once I'd be here with the same frustrations.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 19, 2023 9:29:52 AM panagiotis m via use-livecode 
 wrote:



Hello Bill,

Do you by any chance have the "beta version" checkbox checked in the iOS
standalone settings?

Cheers,
Panos

On Mon, 19 Jun 2023, 17:25 prothero--- via use-livecode, <
use-livecode@lists.runrev.com> wrote:


Panos:
The UDID is the correct one for the new iPhone. I had updated it. I get
the error message when I’m loading the app for debug, directly from the
livecode IDE. It’s where you can choose to debug in the simulator, or if
the iPhone is plugged in, directly on the iphone. If I try to just build
the iOS app, I don’t get an error message. I’m not loading it from XCode
directly, but am using the debug command in the Livecode IDE.

Best,
Bill


On Jun 18, 2023, at 9:34 PM, panagiotis m via use-livecode <

use-livecode@lists.runrev.com> wrote:


Bill,

I am sorry for the confusion, I meant UDID, not uuid.

In other words, the profile must include the id of the devices in which

it

is allowed to install your app. You said this is a new device, so could

it

be the case that the UDID that is included in your profile (I see only

one

UDID in the profile you posted) is the one of your old device?

Also, just to double check, when do you get the error message? Is it when
building the iOS standalone app, or when trying to install the app in

your

connected device (via xcode)?

Kind regards,
Panos

On Mon, 19 Jun 2023, 00:30 prothero--- via use-livecode, <
use-livecode@lists.runrev.com> wrote:


Panos:
Sorry, yes, I see the UUID listed in the provisioning profile. But this
could be the issue. I could find the UDID, but no the UUID. Argg.

Apple seems to want folks to use UDID instead of UUID.

How can I get the UUID of my iPHone?

Best,
Bill


On Jun 18, 2023, at 1:53 PM, prothero--- via use-livecode <

use-livecode@lists.runrev.com> wrote:


Panos:

I am re-posting my provisioning profile. I don’t see it in my returned

emails, so here it is.


The profile in my mobiledevice/provisioning profiles/ library is, from

the listing in the ../mobileprofiles directory in the Library directory:


Profile Name: waterdetectivev6
App ID Name: WaterDetective
WaterDetective
App ID: 8ZD6TKFXZV.org.earthednet.waterdetective
8ZD6TKFXZV.org.earthednet.waterdetective
Team: William Prothero (8ZD6TKFXZV)
William Prothero (8ZD6TKFXZV)
Platform: iOS
UUID: cb1a5510-b5f6-4593-a6bf-e398ee6953f3
Creation Date: Jun 16, 2023 at 3:20:07 PM PDT
Expiration Date: Jun 15, 2024 at 3:20:07 PM PDT
---
ENTITLEMENTS
application-identifier:
8ZD6TKFXZV.org.earthednet.waterdetective
keychain-access-groups:
8ZD6TKFXZV.*, com.apple.token
get-task-allow:
true
com.apple.developer.team-identifier:
8ZD6TKFXZV
---
CERTIFICATES
Name:
Apple Development: William Prothero (74Z6M5N26A)
Creation Date:
Jun 15, 2023 at 1:44:02 PM PDT
Serial Number:
1BA6D4C855D751FFD3C36FDC04A5026E
SHA-1:
255F4AF864D0AA63450790DB421128575D37DBDC
--
PROVISIONED DEVICES
Device ID:
8120-000165D40EFBC01E
-



On Jun 18, 2023, at 1:50 PM, prothero--- via use-livecode <

use-livecode@lists.runrev.com> wrote:


Panos:
All of the profile items are in my email below. I don’t see a

reference

to a UUID, but I see in the profile a UDID, which was referenced in the
profile setup stuff on the Apple site as the device ID.





___
use-livecode mailing list
use-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: Code-Signing Frustration

2023-06-18 Thread J. Landman Gay via use-livecode
If I remember right, William's app is for iOS. Matthias' tool is for 
signing Mac OS X apps so it won't help here. The profile and certificate 
are the important factors for iOS.


William, can you clarify what the target OS is for the app? AirLaunch makes 
it easy to prepare iOS apps for the App Store but if you aren't planning to 
distribute that way you won't need it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 18, 2023 6:53:19 AM Mark Smith via use-livecode 
 wrote:


Hi Bill, apologies I’ve been away from my desk for a few days. Everything 
looks good to me so I am curious why you are still having signing 
difficulties. As I mentioned earlier (or may have mentioned) for simple 
testing on the simulator or your own device the signing that LC does (using 
your provisioning profile) should be sufficient. For wider distribution you 
would need the additional steps Matthias's life saving app provides. Either 
way, please do let us know what the outcome of your efforts are as I’m sure 
all of us can learn something from the experience.


Best,
Mark


On 17 Jun 2023, at 1:05 am, proth...@earthlearningsolutions.org wrote:

This is my last gasp. Everything seems ok, but I still get the “Your 
Application Failed Code-signing Checks” message when I try to load it onto 
my iphone.


By the way, I’ve used the “Keychain Access” app to verify that the 
certificate is the correct on referred to in the provisions display.


This is the provisions display:


Here are the app settings: Everything seems to match up.


My last gasp, unless someone sees something obvious in the above, is to go 
ahead and use Matthias’ app. I probably should have done it from the start 
anyway, but Mark had some great advice.


I’ve probably done something horribly obvious to folks who know this system 
better, but this is where I am. Thanks for the help, so far, Mark.


Best,
Bill



___
use-livecode mailing list
use-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: Code-Signing Frustration

2023-06-16 Thread J. Landman Gay via use-livecode
I'm thankful every time I use Matthias' tool, it saves so much agony. You 
don't need to do all the manual stuff outlined in the lesson, just download 
his stack from the link near the top. Then scroll past the manual 
instructions in the lesson to learn how to fill in the stack info.


Virtual hugs to Matthias.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 16, 2023 10:26:22 AM William Prothero via use-livecode 
 wrote:



Folks,
Matthias' document on code-signing is very detailed. I should have used it 
from the start.


Please ignore my previous post.
Bill

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

On Jun 16, 2023, at 8:01 AM, William Prothero 
 wrote:


Re testing,
I'm curious why it's necessary to code-sign an ios app that I am only 
testing on my personal iphone. The probable answer, I suspect, is that 
testing on the iphone is meant for the "preliminary to release" phase, not 
necessarily code debugging?


I also note, that on the iphone simulator in xcode, that my mysql 
databases, hosted on a remote server, aren't accessed. Is there a 
permission or other setting I need to configure?


Hmm, a thought.. Do I have to actually create and save the app bundle 
before trying to load it on the iphone? The indication from the test 
simulator, when the iphone is selected as the destination, is that it is 
recompiling, then loading, then checking security, and either gives an 
error message or loads successfully. My procedure has been to just set only 
ios parameters in the app settings (leaving the MacOS settings off), then 
clicking the testing button that loads the app directly to my iphone. I get 
the failure message about security problems at that point. I have been 
assuming that if I have set up the provisioning profile and bundle id 
correctly, it will load.


I also have seen, in the past, that cleaning old provisioning files from 
various system files helps. I'm also not clear how xcode fits into the process.


I see that Matthias' app first requires that the "app bundle"(which I 
assume is the compiled app, created and saved on my computer) be dragged 
into the app at the start. I would then need to successfully notarize it 
there. I would expect it would then successfully transfer to the iphone in 
testing mode? I'm just checking that my assumptions about the process are 
correct, so please let me know if I'm wrong.


Sorry for the stupid questions, but my brain is fried after spending 2 days 
trying to get this app on my iphone. I guess I'll have to do a better job 
of reading the directions.


In my fantasy world, there would be, built into livecode, (or xcode), some 
feedback on the specific issue when code-signing fails. Like: security 
certificate?, provisioning?,  bundle?. That way I could focus on the 
specific issue. Hopefully, Matthias' stack will help.


Best,
Bill

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

On Jun 16, 2023, at 6:38 AM, panagiotis m via use-livecode 
 wrote:


Hello Bill,

I would recommend Matthias' excellent lesson and utility stack here:

https://lessons.livecode.com/m/4071/l/1653720-code-signing-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore-with-xcode-13-and-up

This is not only for signing but also for notarizing the Mac app, but if
you need to sign the app chances are you'll need to notarize it as well :)

Cheers,
Panos
--


On Fri, 16 Jun 2023 at 04:28, William Prothero via use-livecode <
use-livecode@lists.runrev.com> wrote:

Folks:
I’m having a hassle with code-signing.
I found Trevor’s code-signing app to be helpful in the past.
Is there a version that works with Livecode 9.6.9 with xCode 14.2?

I really need it.
Thanks,

Bill Prothero




William Prothero, Ph.D.
UCSB Professor Emeritus
waproth...@gmail.com



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


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

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



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

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





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


Re: The Backdrop's Purpose In Life

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

On 6/12/23 12:43 PM, J. Landman Gay via use-livecode wrote:

On 5/26/23 10:58 PM, panagiotis m via use-livecode wrote:

Note that the LC backdrop does not work on MacOS Ventura.


Does anyone know what exactly doesn't work on Ventura?



Nevermind, I found the bug report.

--
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: The Backdrop's Purpose In Life

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

On 5/26/23 10:58 PM, panagiotis m via use-livecode wrote:

Note that the LC backdrop does not work on MacOS Ventura.


Does anyone know what exactly doesn't work on Ventura?

--
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: Notarizing a Mac app

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

On 6/12/23 9:40 AM, Mark Talluto via use-livecode wrote:

You have to sign and notarize each time you build a new standalone.


Perfect, just what I wanted. Thanks for the confirmation.
--
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: Notarizing a Mac app

2023-06-12 Thread J. Landman Gay via use-livecode
Thanks Paul. It's hard to test when your own machine doesn't need 
code-signing at all.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 12, 2023 6:51:34 AM Paul Dupuis via use-livecode 
 wrote:



I'm pretty sure you have to sign and notarize each build.


On 6/12/2023 12:16 AM, J. Landman Gay via use-livecode wrote:

Does rebuilding a Mac app retain a previous notarization or do I need
to re-notarize and re-sign on every new build? I want to distribute a
notarized and signed app to testers, but when I send it to the client
I want them to code-sign it with their own signature. I don't want it
to retain my credentials.

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


Notarizing a Mac app

2023-06-11 Thread J. Landman Gay via use-livecode
Does rebuilding a Mac app retain a previous notarization or do I need to 
re-notarize and re-sign on every new build? I want to distribute a 
notarized and signed app to testers, but when I send it to the client I 
want them to code-sign it with their own signature. I don't want it to 
retain my credentials.


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


Backscript not in message path

2023-06-08 Thread J. Landman Gay via use-livecode
I have a stack in a standalone that needs to be saved to disk, so I copy it to a writeable 
location (preferences) on first launch. I also have a backscript that is inserted when the 
mainstack opens.


This works in the IDE but in a standalone, the writeable stack can't find the backscript and 
throws errors ("handler not found.") I believe the backscript should always be in the message 
path once it's been inserted, regardless of where the current stack is located. Stacks that are 
included in Copy Files and are not moved have no problem with the backscript.


Has anyone seen this?

It may be related to another problem I've found: specialFolderPath("resources") returns the 
folder the writeable stack is in, even in a standalone. I expect that in the IDE but shouldn't 
a standalone always reference the resources folder in the app?


--
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: OpenCore Legacy Patcher for LC

2023-05-29 Thread J. Landman Gay via use-livecode

It's on my to-do list but I haven't got to it yet. Is there a problem with LC?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 29, 2023 8:30:00 AM harrison--- via use-livecode 
 wrote:



Is there anyone on this list that has tried
OpenCore Legacy Patcher to run LiveCode
on their old mac?

Let me know.

Thanks,

Rick

On May 27, 2023, at 4:54 PM, harrison--- via use-livecode 
 wrote:


Hi LC Mac users,

Last week I came across the following:

https://www.macupdate.com/app/mac/64141/opencore-legacy-patcher

I was very skeptical at first, so I took out my old 15 inch 2012 MacBook Pro
that I was thinking about recycling, and I tried it.  It works like a new 
machine

running Ventura!  It’s fast enough too!

After I saw how good it works, all I could think of was how terrible
it is that Apple has sidelined all of these old computers, that are
perfectly capable.

It behaves well with LC too!

Check it out and let me know what you think.

Cheers,

Rick
___
use-livecode mailing list
use-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 remote debugger

2023-05-28 Thread J. Landman Gay via use-livecode
That's happened to me twice over the years and nothing I could do fixed it 
until a new LC version was released, where suddenly it started working 
again. I don't think it's LC, it is something in the OS. I tried fiddling 
with system prefs permissions but it didn't help. The two instances were 
years apart and I still don't know why.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 28, 2023 7:21:05 PM Mike Kerner via use-livecode 
 wrote:



i'm back to futzing with android, again, now trying to get the remote
debugger to run.
it's included with the stack, but i can't seem to get it to fire, even
with the breakpoint command.

--
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: The Backdrop's Purpose In Life

2023-05-27 Thread J. Landman Gay via use-livecode
Did you try Cmd-tab to cycle to another app and back? Does it also work if 
you bring another app to the front and then use the dock to return to LC? 
If so that would be good news.


I did find a backdrop glitch in a standalone on Monterey. Only one window 
showed where there should have been two.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 27, 2023 10:06:43 AM Richmond via use-livecode 
 wrote:



Note that the LC backdrop with LC 9.6.3 community works just fine with
MacOS Ventura.

Kisses, Richmond.

On 27.05.23 6:58, panagiotis m via use-livecode wrote:

Hello all,

Note that the LC backdrop does not work on MacOS Ventura.

Cheers,
Panos

On Fri, 26 May 2023, 22:23 J. Landman Gay via use-livecode, <
use-livecode@lists.runrev.com> wrote:


On 5/26/23 1:14 PM, Richard Gaskin via use-livecode wrote:

Bob Sneidar wrote:

  > HA! I just figured out what the purpose of the backdrop is!
  > If you have multiple LC windows open and you tab to another
  > app's window, then tab back to the LC window, ONLY that LC
  > window will appear in the foreground. With Backdrop on, ALL
  > the LC windows will become visible when you tab to any LC
  > window.

The OS vendors help with that too:

Windows: Shift-click Taskbar icon -> "Bring All Windows Forward"

macOS:   Window menu -> Bring All to Front


Clicking the icon in the Mac Dock also brings all windows forward.
--
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





___
use-livecode mailing list
use-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: The Backdrop's Purpose In Life

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

Will this be fixed?
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 26, 2023 11:01:09 PM panagiotis m via use-livecode 
 wrote:



Hello all,

Note that the LC backdrop does not work on MacOS Ventura.

Cheers,
Panos





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


Re: The Backdrop's Purpose In Life

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

On 5/26/23 1:14 PM, Richard Gaskin via use-livecode wrote:

Bob Sneidar wrote:

 > HA! I just figured out what the purpose of the backdrop is!
 > If you have multiple LC windows open and you tab to another
 > app's window, then tab back to the LC window, ONLY that LC
 > window will appear in the foreground. With Backdrop on, ALL
 > the LC windows will become visible when you tab to any LC
 > window.

The OS vendors help with that too:

Windows: Shift-click Taskbar icon -> "Bring All Windows Forward"

macOS:   Window menu -> Bring All to Front



Clicking the icon in the Mac Dock also brings all windows forward.
--
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 Status Bar Icon

2023-05-24 Thread J. Landman Gay via use-livecode
Oops I see you already did a 24x24. That's the suggested size. Maybe see 
what a 16 x 16 does.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 24, 2023 11:58:37 AM Dan Friedman via use-livecode 
 wrote:


Greetings!   I am seeing inconsistent results on the status bar icon on 
Android.  On some devices (most running Android 9), the icon that appears 
in a push message is a white or grey square.  I have tried using a 24x24 
PNG for the Status Bar Icon and I also tried a 512x512.   Another device 
running Android 10, displays the image just fine (at either size).  Is 
there an image size that I should be using?  Or are there incompatibility 
with LC and Android 9?


Anyone have any insight to this issue?

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

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





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


Re: Android Status Bar Icon

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

Try 24 x 24.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 24, 2023 11:58:37 AM Dan Friedman via use-livecode 
 wrote:


Greetings!   I am seeing inconsistent results on the status bar icon on 
Android.  On some devices (most running Android 9), the icon that appears 
in a push message is a white or grey square.  I have tried using a 24x24 
PNG for the Status Bar Icon and I also tried a 512x512.   Another device 
running Android 10, displays the image just fine (at either size).  Is 
there an image size that I should be using?  Or are there incompatibility 
with LC and Android 9?


Anyone have any insight to this issue?

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

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





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


Re: Latest video -- integration of AI into script editor

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

On 5/18/23 4:14 PM, Richard Gaskin via use-livecode wrote:

J. Landman Gay wrote:

 > I had to make a form yesterday with lots of fields and while it isn't
 > hard, it took 20 minutes to name everything and align the labels and
 > entry fields.

If you need to do that again:

http://fourthworld.net/lc/4W_FormMaker.rev



Cool. That does help with alignment and field creation. It would still need some tinkering to 
get the sizes and properties right but it's a quick start.


--
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 Xavvi generate sensible text output as well as code?

2023-05-18 Thread J. Landman Gay via use-livecode
If you watch some of the videos posted on the challenge page it becomes 
clearer. LC AI will be integrated into the script editor and will create 
handlers as expected. You can accept, reject, or revise its output. LC AI 
knows all about what's available and how to use it. Bard, on other hand, 
doesn't know LC and can only offer generic output though it does know 20 
other coding languages.


Xavvi is built on top of LC and the team has reassured us many times that 
the LC we know is not going away. There will be regular updates and you are 
free to ignore the AI if you want. But given what I've seen so far, I'm 
betting most of us will use at least some of its features to save time or 
to expedite certain tasks.


We made the challenge! I'm happy.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 18, 2023 8:28:42 AM Craig Newman via use-livecode 
 wrote:


How to integrate the AI part with the LC part? Again, one could acquire 
just the list, and then let LC generate the output string. But at least all 
would end up in a handler, fully in LC, where I assume additional “real” 
work would then be done.


What I mean is, how can one best integrate the “outside” AI work with the 
“inside” LC work? That is what I have to get my head around.


Lurking in the background,I do not want AI to put LC out to pasture. I did 
that once with HC, and still have not gotten over it.





___
use-livecode mailing list
use-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 Xavvi generate sensible text output as well as code?

2023-05-17 Thread J. Landman Gay via use-livecode

On 5/17/23 5:38 PM, Terry Judd via use-livecode wrote:

Let’s say I have a whole lot of input statements/info, some of which is generic 
but some of which varies according by user. Any thoughts on whether it might be 
possible to leverage Xavvi to process and combine that info into useful prose 
summaries for each user in a way that I can’t already do in Livecode - ie 
generative AI text rather than merging into template text)?


Well, I'd expect so since Bard can do it, if I understand what you mean. Here's my test. (Bard 
thinks it's code.)


My prompt: Make a list of 10 people with first and last names. Combine each one into this 
sentence: "Hello firstname, I'm exploring the family tree of your lastname relatives." 
Substitute "firstname" with each person's first name and substitute "lastname" with their last 
name. Return a list, one person per line.


Bard says:

Here is a list of 10 people with first and last names, along with the sentence "Hello 
firstname, I'm exploring the family tree of your lastname relatives." with each person's first 
and last name substituted in:

Code snippet

Name | Sentence
--- | 
John Smith | Hello John, I'm exploring the family tree of your Smith relatives.
Mary Jones | Hello Mary, I'm exploring the family tree of your Jones relatives.
Michael Brown | Hello Michael, I'm exploring the family tree of your Brown 
relatives.
David Williams | Hello David, I'm exploring the family tree of your Williams 
relatives.
Susan White | Hello Susan, I'm exploring the family tree of your White 
relatives.
James Green | Hello James, I'm exploring the family tree of your Green 
relatives.
Sarah Black | Hello Sarah, I'm exploring the family tree of your Black 
relatives.
Peter Brown | Hello Peter, I'm exploring the family tree of your Brown 
relatives.
Jessica Smith | Hello Jessica, I'm exploring the family tree of your Smith 
relatives.

--
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: Latest video -- integration of AI into script editor

2023-05-17 Thread J. Landman Gay via use-livecode
I want the widgets and layout functions. I had to make a form yesterday 
with lots of fields and while it isn't hard, it took 20 minutes to name 
everything and align the labels and entry fields. If Xavvi can do that in a 
few seconds it would save me time and my clients money. There's a lot of 
mindless tinkering we do that isn't script-related.


I'm hoping Xavvi will also do dynamic resizing. Even with the Magic Palette 
it's difficult.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 17, 2023 4:35:52 AM Mark Smith via use-livecode 
 wrote:


I just watched the latest LC video showing how AI will be integrated into 
Xavvi/LC. https://livecode.com/xavvi/?updates/#tabbed-section 
 (note: the URL is not 
an error, that is where the new video is parked).


I hadn’t seen how this was going to be done before but  it’s a great UI 
with lot of useful options. This will completely transform how we write 
(and document) our code in the future. It looks like LC has give a lot of 
thought to this and the UI is extremely well done. If you haven’t backed 
the campaign so far I’d give this short 4 minute video a watch and be 
prepared to be blown away.


Thanks LC.

___
use-livecode mailing list
use-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: Am I using the best mail client?

2023-05-12 Thread J. Landman Gay via use-livecode
Because of how mobile email clients work, I top post when responding on my 
phone or tablet, and bottom post when I'm at the computer. But I do try to 
trim the original message regardless.


I guess you can tell where I am right now.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 12, 2023 6:56:07 PM doc hawk via use-livecode 
 wrote:


Ancient etiquette is that it is simply rude (at best) to include entire 
messages, rather than trimming

to the parts to which you are replying.

And “top-posting”, placing your response before the message, was the mark 
of a newbie,

and treated harshly.





___
use-livecode mailing list
use-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: Am I using the best mail client?

2023-05-11 Thread J. Landman Gay via use-livecode
I use Thunderbird. Like Matthias, I set up a rule to move list mail into a 
subfolder where I can sort by date, author,, subject, or any other 
attribute. It supportsl threading. There are several layouts you can use 
depending on how you like to organize and view mail. You can color-code 
emails automatically on arrival, or manually if you want to mark one for 
special reasons. You can drag-drop mail from one folder to another even 
across accounts.


There are a lot of options so you can customize it however you want.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 11, 2023 11:33:31 AM Craig Newman via use-livecode 
 wrote:


Since I got real help here, and not on the forum(hmph), I am wondering if 
the eMail client I am using is one reason I do not prefer this venue.


I am using the native Mac “Mail’ client. Are there much better ones?

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

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





___
use-livecode mailing list
use-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: Inclusions and JSON

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

Oh god yes. Please, please. I can never find anything in there.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 10, 2023 8:58:23 AM Ben Rubinstein via use-livecode 
 wrote:



Further to this: dear LiveCode, please make the Inclusions selector in the
standalone settings window navigable - at least sortable by name, platform,
selected; even-better-if can be filtered.

See also https://quality.livecode.com/show_bug.cgi?id=18199, which includes a
comment in 2017 specifically referencing 'json' as a use-case for filtering.

And apparently Ali Lloyd did exactly this six years ago:
https://github.com/livecode/livecode-ide/pull/1809

... but nobody has ever reviewed the pull request.

:-(

Ben




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


Re: Default cursor

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

On 5/7/23 2:32 PM, J. Landman Gay via use-livecode wrote:
So, reading the dictionary entry for "reset cursors" it looks like you can't create your own 
set, you can only change the built-in set.


I changed the arrow cursor in the revMacCursors stack, saved, and relaunched LC. It still shows 
the arrow, which I assume is the system arrow. So, no go.


--
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: Default cursor

2023-05-07 Thread J. Landman Gay via use-livecode
So, reading the dictionary entry for "reset cursors" it looks like you 
can't create your own set, you can only change the built-in set. The 
problem with that is that I will not have an arrow any more, no matter what 
I'm working on. I'll always get the custom cursor, even though I only want 
it to appear in one project. It sounds like there is no other option though.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 7, 2023 2:18:32 PM "J. Landman Gay via use-livecode" 
 wrote:



I have an imported image to use as a custom cursor and it works. But I'm
not sure how to create a custom cursor set. Maybe I can just replace the
arrow in the built-in set. Or maybe a set is just a stack? That's what the
revCursors are.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 7, 2023 1:03:20 PM matthias rebbe via use-livecode
 wrote:


I just did a quick test.
I downloaded a svg from Font Awesome website and imported it using "Import
as Control -> image file " from file menu.
After that i could access that image and set the cursor to it.
But you have to resize the image to your preferred size either after
importing or at least before using it as a cursor.

HTH

Matthias


Am 07.05.2023 um 19:32 schrieb J. Landman Gay via use-livecode
:

I suppose I could create a custom cursor set and replace the arrow with the
custom cursor. LC does recover from "none" if a default cursor isn't set.
I've never done a custom cursor set though so if anyone else has, I'd
appreciate any tips.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 6, 2023 8:23:57 PM scott--- via use-livecode
 wrote:


Yeah, an interesting clue but not much of a workaround. Does this happen in
a standalone or is it an IDE only issue…? (30 seconds later) Ick!
Standalone, too and there seems to be even fewer things to interact with to
get the cursor back. Clicking the menuBar works.
--
Scott Morrow

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




On May 6, 2023, at 4:15 PM, J. Landman Gay via use-livecode
 wrote:

On 5/6/23 4:23 PM, scott--- via use-livecode wrote:

I’m getting the same thing. Putting the “none” cursor over the tool pallet
gets the tools to hilite… but no cursor. Moving the “none” cursor to the
message box (I started with it over an empty stack window) causes the
“hand" cursor to establish without any additional scripting.
LC 9.6.9 stable  MBP M2Pro Ventura13.3.1(a)


Thanks. I've found if you swipe the mouse over the script editor, or the
dock, or another window it comes back. Basically, sweep the mouse
erratically all over the screen until it hits something it recognizes. But
I can't expect users to do 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


___
use-livecode mailing list
use-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: Default cursor

2023-05-07 Thread J. Landman Gay via use-livecode
I have an imported image to use as a custom cursor and it works. But I'm 
not sure how to create a custom cursor set. Maybe I can just replace the 
arrow in the built-in set. Or maybe a set is just a stack? That's what the 
revCursors are.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 7, 2023 1:03:20 PM matthias rebbe via use-livecode 
 wrote:



I just did a quick test.
I downloaded a svg from Font Awesome website and imported it using "Import 
as Control -> image file " from file menu.

After that i could access that image and set the cursor to it.
But you have to resize the image to your preferred size either after 
importing or at least before using it as a cursor.


HTH

Matthias

Am 07.05.2023 um 19:32 schrieb J. Landman Gay via use-livecode 
:


I suppose I could create a custom cursor set and replace the arrow with the 
custom cursor. LC does recover from "none" if a default cursor isn't set. 
I've never done a custom cursor set though so if anyone else has, I'd 
appreciate any tips.

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


Yeah, an interesting clue but not much of a workaround. Does this happen in 
a standalone or is it an IDE only issue…? (30 seconds later) Ick! 
Standalone, too and there seems to be even fewer things to interact with to 
get the cursor back. Clicking the menuBar works.

--
Scott Morrow

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



On May 6, 2023, at 4:15 PM, J. Landman Gay via use-livecode 
 wrote:


On 5/6/23 4:23 PM, scott--- via use-livecode wrote:
I’m getting the same thing. Putting the “none” cursor over the tool pallet 
gets the tools to hilite… but no cursor. Moving the “none” cursor to the 
message box (I started with it over an empty stack window) causes the 
“hand" cursor to establish without any additional scripting.

LC 9.6.9 stable  MBP M2Pro Ventura13.3.1(a)


Thanks. I've found if you swipe the mouse over the script editor, or the 
dock, or another window it comes back. Basically, sweep the mouse 
erratically all over the screen until it hits something it recognizes. But 
I can't expect users to do 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


___
use-livecode mailing list
use-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: Default cursor

2023-05-07 Thread J. Landman Gay via use-livecode
I suppose I could create a custom cursor set and replace the arrow with the 
custom cursor. LC does recover from "none" if a default cursor isn't set. 
I've never done a custom cursor set though so if anyone else has, I'd 
appreciate any tips.

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


Yeah, an interesting clue but not much of a workaround. Does this happen in 
a standalone or is it an IDE only issue…? (30 seconds later) Ick! 
Standalone, too and there seems to be even fewer things to interact with to 
get the cursor back. Clicking the menuBar works.

--
Scott Morrow

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



On May 6, 2023, at 4:15 PM, J. Landman Gay via use-livecode 
 wrote:


On 5/6/23 4:23 PM, scott--- via use-livecode wrote:
I’m getting the same thing. Putting the “none” cursor over the tool pallet 
gets the tools to hilite… but no cursor. Moving the “none” cursor to the 
message box (I started with it over an empty stack window) causes the 
“hand" cursor to establish without any additional scripting.

LC 9.6.9 stable  MBP M2Pro Ventura13.3.1(a)


Thanks. I've found if you swipe the mouse over the script editor, or the 
dock, or another window it comes back. Basically, sweep the mouse 
erratically all over the screen until it hits something it recognizes. But 
I can't expect users to do 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


___
use-livecode mailing list
use-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: Default cursor

2023-05-07 Thread J. Landman Gay via use-livecode
Apologies, I was in fact in a churlish mood. You should have seen what I 
wrote before I edited it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 7, 2023 3:01:05 AM Richmond via use-livecode 
 wrote:



Is that a fact?

Surely when someone offers help it seems churlish to set conditions.

On 7.05.23 2:08, J. Landman Gay via use-livecode wrote:

On 5/6/23 4:51 PM, Richmond via use-livecode wrote:

AND, there (on the forums) I have found a way to get things to do
what you want.


Please reply here, I have chosen my preferred venue. Images and
downloads are unnecessary.



___
use-livecode mailing list
use-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: Default cursor

2023-05-06 Thread J. Landman Gay via use-livecode

On 5/6/23 4:23 PM, scott--- via use-livecode wrote:

I’m getting the same thing. Putting the “none” cursor over the tool pallet gets the 
tools to hilite… but no cursor. Moving the “none” cursor to the message box (I 
started with it over an empty stack window) causes the “hand" cursor to 
establish without any additional scripting.

LC 9.6.9 stable  MBP M2Pro Ventura13.3.1(a)


Thanks. I've found if you swipe the mouse over the script editor, or the dock, or another 
window it comes back. Basically, sweep the mouse erratically all over the screen until it hits 
something it recognizes. But I can't expect users to do 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: Default cursor

2023-05-06 Thread J. Landman Gay via use-livecode

On 5/6/23 4:51 PM, Richmond via use-livecode wrote:

AND, there (on the forums) I have found a way to get things to do what you want.


Please reply here, I have chosen my preferred venue. Images and downloads are 
unnecessary.

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


Default cursor

2023-05-06 Thread J. Landman Gay via use-livecode
I'm working on a stack that needs a default cursor. Sometimes it sets the cursor to none, but 
after that I can't get it back. Could someone verify?


Do this in the message box:

   set the defaultCursor to hand 
   set the cursor to none; wait 1 second; set the cursor to hand

It doesn't come back. I also tried this:

   set the cursor to none; wait 1 second; set the cursor to the defaultcursor

Anyone have a workaround? (To get the regular cursor back after testing, "set the defaultcursor 
to empty".)


--
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: opencard and visual effect

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

You and my husband should go have a drink together. ;)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2023 5:58:07 PM Bob Sneidar via use-livecode 
 wrote:


I can attest that as an old timer, if I am not very careful, I can provide 
a very wide pool. ;-)





___
use-livecode mailing list
use-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: opencard and visual effect

2023-05-02 Thread J. Landman Gay via use-livecode
Well, it works better for *you*. I want info to come to me, I don't want to 
search. My right hand doesn't like all that clicking, I have a brace for 
that, and you can't navigate the forum from the keyboard. I want the digest 
to appear in my email where I can scan quickly and immediately jump to a 
post when I want to respond.


I don't care about all the unnecessary images and almost never download 
stacks from the forum so I don't miss them here. But also, most of the old 
timers are here on the list which can provide a wider pool of expertise.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2023 4:03:10 PM Craig Newman via use-livecode 
 wrote:



Klaus.

It is a works-much-better thing. Script samples and quotes can be separated 
from the main body of text. One can attach stacks and, for Richmond at 
least, silly photos and art layouts. One can edit past posts, or even 
delete them.


One can search threads in many ways.  MANY.

I was going to attach an emoji, but, well, we are in the use-list.

Otherwise, nothing significant.

Craig

On May 2, 2023, at 1:28 PM, Klaus major-k via use-livecode 
 wrote:


Hi Craig,

Am 02.05.2023 um 19:17 schrieb Craig Newman via use-livecode 
:


Klaus.

Come back from the dark side.


I have no idea why you are so possessed by the forum, is it a fetish thing? :-D

Here on the list I already see more than 10 postings to my question, try to 
outgun

this with the forum. 8-)

If you do I will send you the stack I made that seems to indicate that 
“openCard” is sent after the visual effect terminates.


Thank you, but I do not need any other example stack, I want to know it 
with my stack and I also want to know
why there are differences between the two ways of going to the next card 
with a visual effect. See my last mails...



Craig
On May 2, 2023, at 1:08 PM, Klaus major-k via use-livecode 
 wrote:

Hi Jacque,
Am 02.05.2023 um 18:59 schrieb J. Landman Gay via use-livecode 
:
Open the message watcher and compare its report to what you see on screen. 
That might help.

I did and see this:
...
preopencard 7:01:46 PM (0)
opencard 7:01:46 (3)
...
I may be a bit slow, but what does the three millisecs difference tell me? 8-)
That everyting (pre- and opencard) does in fact happen AFTER the visual effect?


Best

Klaus

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


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

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



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

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





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


Re: opencard and visual effect

2023-05-02 Thread J. Landman Gay via use-livecode
Open the message watcher and compare its report to what you see on screen. 
That might help.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 2, 2023 11:19:41 AM Klaus major-k via use-livecode 
 wrote:


Someone knowing please chime in! :-)





___
use-livecode mailing list
use-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: Custom property retrieval incorrect

2023-04-27 Thread J. Landman Gay via use-livecode
Those are exactly the two values I get too. The earliest version of LC I currently have 
installed is 9.6.7 and it happens there and in three newer versions after that.


A custom property named "cVers" works okay. But I've been using "cVersion" for years and years, 
so not sure what the ripple effect may be if I update my older apps (which is how I found this 
one.) For now I can change the name of the property, I guess.


Thanks for tracking it down, Mark. I'm not crazy after all.

On 4/27/23 5:09 PM, Mark Wieder via use-livecode wrote:


The 1.0.4 cVersion comes from com.livecode.library.i18n.1.0.4
The 3.0.9 cVersion comes from com.livecode.library.smartcrumbsvcw.3.0.9

Unfortunately the scripts for both are locked, so there's no workaround other than not using 
the cVersion custom property.




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


Custom property retrieval incorrect

2023-04-27 Thread J. Landman Gay via use-livecode
I have a custom stack property called "cVersion" that is used to determine update availability 
and is shown in an About stack. In LC 9.6.7, 9.6.9, and 10.0.0 dp 5 the custom property is 
returned incorrectly.


I set the cVersion of the stack to 3.0.0 in the property inspector and also tried from the 
message box and from a handler. In both the message box and in a script it returns 3.0.9. I 
saved the stack, quit LC, relaunched and opened the stack and it then reported 1.0.4. I don't 
know where these numbers are coming from.


There are three substacks but none of them have any custom properties at all. When I open the 
stack property inspector it does correctly say "3.0.0".


I deleted the custom property completely and then re-entered it. It still says 3.0.9 on a new 
launch.


I created a new custom property called "cVers" and it does report 3.0.0 as specified. Other 
custom stack properties also retrieve correctly, it is only this particular one that fails.


Anyone seen this? Is there something special about a custom prop named "cVersion"? This used to 
work fine, but that was about 2 years ago.


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

2023-04-22 Thread J. Landman Gay via use-livecode
I believe this is an error relating to the target version embedded in the app. Google's policy 
says that new and updated apps must target an Android API no earlier than 2 versions behind the 
current one. Since API 33 is current, your app must target at least API 31. Android 14 will be 
released very soon (in a couple of weeks I think) and any apps submitted after that will need 
to target API 32+. Note that the target API is not the same as the minimum supported version 
which can be much lower.


LC 9.6.9 targets API 31. I don't think LC 10 has updated the target yet, so 9.6.9 is your best 
bet. The target API has to be an LC engine update, we can't change it ourselves.


Here's a list of required APIs for new and  updated apps:


That said, I'm not sure if your customer can download the app anyway, or if it is just a 
warning. Google says if they already have an older copy of the app, they can still see the app 
in the store. If they have never installed the app, it won't be available to them even if they 
do a search.



On 4/22/23 1:20 PM, Dan Friedman via use-livecode wrote:

I have a custom that is trying to install my app (from the Google Play Store) 
and says they are getting the message, “This app was built for an older version 
of Android…”.   The app was built with 9.6.2.   Does LC support this version of 
Android?   And, if so, what version of LC do I need to use?


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