Re: Behaviors

2023-08-23 Thread Dar Scott via use-livecode
I, too, have discovered the target icon to the right of the behavior object 
field in the property inspector. Alas, using that that I see only buttons on 
the current card (and stacks). I don’t see a way to navigate to a different 
card and select a button there. I might have missed it. — Dar

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


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


Re: Behaviors

2023-08-22 Thread Dar Scott via use-livecode
I figured out how to do it in the IDE. I needed to include “of stack” in the 
reference. — Dar

> On Aug 22, 2023, at 11:09 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> Not sure how it works in the IDE - seems a problem because it only presents 
> button in the current stack.
> 
> So I do it all in preOpen... scripts, doing something like
> 
>> set the behavior of fld "F" of grp tmpName to the long id of button 
>> "RichTextFieldBehaviour" of \
>>  card "Behaviours" of stack "/Users/alextweedly/Dropbox/My 
>> Livecode/Libraries/richText.livecode"
> 
> Alex.
> 
> On 22/08/2023 17:57, Dar Scott via use-livecode wrote:
>> I am misremembering things about Behaviors.
>> 
>> I have a card with my behavior buttons, but I can’t seem to point to buttons 
>> on that card. Maybe, I’m remembering what I did long ago with front scripts.
>> 
>> I suppose I can use substacks, but I’m worried that the stacks would be in 
>> the message path. Is there a way to keep the stack out of the message path?
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: Group corners

2023-08-22 Thread Dar Scott via use-livecode
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
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Behaviors

2023-08-22 Thread Dar Scott via use-livecode

I am misremembering things about Behaviors.

I have a card with my behavior buttons, but I can’t seem to point to buttons on 
that card. Maybe, I’m remembering what I did long ago with front scripts. 

I suppose I can use substacks, but I’m worried that the stacks would be in the 
message path. Is there a way to keep the stack out of the message path?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Group corners

2023-08-22 Thread Dar Scott via use-livecode
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
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@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 Dar Scott via use-livecode
For now, I’m using a temporary solution: I am setting the border width to 1. 
That might become a long-term workaround. — Dar


> On Aug 21, 2023, at 9:47 AM, Dar Scott via use-livecode 
>  wrote:
> 
> I sprinkled some colors over the different object colors. I can see more of 
> what is happening that way. 
> 
> Show name off: The border grows outward. If 3D is off, it has the border 
> color. If it is on it has the bevel colors: left and top are the bottom 
> bevel, bottom and right have the top bevel.
> 
> Show name on: Again 3D changes whether the background is used for both bevel 
> colors or the two bevel colors are used. In this case though, insteadof 
> the whole outline having the above color pattern, the border lines, do. In 
> addition the inside border grows **inward**, covering things. Also, a 
> background stripe above and below the top line covers things. This might be 
> the background of the label; I couldn’t figure out how to set the alpha of 
> colors to test that, so I use the opaque check box. Even with opaque of, 
> objects are obscured.
> 
> It looks as though instead of putting an appropriate sized label over the 
> border for the name, the object puts the opaque label above the content and 
> tries to draw a border on top of that. The drawing is the 3D drawing, lines 
> have 3D, not the whole rectangle of the border. The only difference for 
> turning off 3D is using border instead of the bevels. With 3D on, one can see 
> what is happening. The outside line is much like without the show name half 
> width, but with a little diagonal gap in the upper left. The inside line, 
> grows inward :( and has gaps in the lines, including the line ends around the 
> name label.
> 
> Some behavior depends on the order I check boxes. For some experiments clear 
> all check boxes and then turn on some.
> 
> The behavior I would have hoped for is this:
> 
> * The border always grows outward.
> * Adding the show name does not change the border or background; it just puts 
> a label over it.
> * The background is in the back and extends consistently to either the inside 
> of the border, the middle of the border or outside edge of the border. The 
> background for the name label is the same as that for the group including the 
> opaque modifier, so a blip of background might extend above the top border. 
> This is noticeable only with show name.
> *  Except for a little blip around the label when opaque is on, nothing 
> obscures the content region.
> * The label border is tight.
> 
> A better way might be to crop out a hole in the current border and place the 
> name label there with a transparent background. Or layer them behind the 
> content, but above the background. 
> 
> So…
> 
> I don’t seem to be doing something wrong. I need to look for a workaround. 
> 
> Thoughts (all involving keeping show name off):
> 
> 1. I could put a small-margin label into the grouped controls so it fits just 
> inside the border in a consistent corner.
> 
> 2 I can put an opaque label on top of my border. The background color might 
> be chosen to be that of the named group or that of its parent. I would have 
> to address moving the group. There might be 3 ways. a) Move the label by 
> hand. b) Add a script to do that. c) Put both label and my group into another 
> group, but then have to figure out “of” and “parent” in scripts.
> 
> 3 Draw my own border and label as the group content. (However, something 
> seems to be weird with my rectangles on Windows.)
> 
> 4. Any ideas you folks have.
> 
> Dar
> 
>> On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode 
>>  wrote:
>> 
>> I see those kind of changes (10.0.0DP5, MacOS), but the border changes from 
>> solid black to black/white lines - with those 'splits' you described.
>> 
>> Alex.
>> 
>> On 21/08/2023 01:50, Dar Scott via use-livecode wrote:
>>> On Mac and LiveCode 9.6.9…
>>> 
>>> Make a new stack. Put a few controls on it. Group them.
>>> 
>>> Give the group a name
>>> 
>>> Set the border width to something like 10-15 so the effect is visible.
>>> 
>>> Turn off 3D.
>>> Turn on border.
>>> 
>>> Now, turn show name on and off. When show name is off, the border looks 
>>> good. When on, the border is goofy.
>>> 
>>> On my machine, when show name is on, the border gets thinner, most times. 
>>> The ends of the border near the name is split into two lengths. The corners 
>>> are split and some of the splits are too short. There are gaps compared to 
>>> the pretty border when show name is off.
>>> 
>>&

Re: Group corners

2023-08-21 Thread Dar Scott via use-livecode
I sprinkled some colors over the different object colors. I can see more of 
what is happening that way. 

Show name off: The border grows outward. If 3D is off, it has the border color. 
If it is on it has the bevel colors: left and top are the bottom bevel, bottom 
and right have the top bevel.

Show name on: Again 3D changes whether the background is used for both bevel 
colors or the two bevel colors are used. In this case though, instead  of 
the whole outline having the above color pattern, the border lines, do. In 
addition the inside border grows **inward**, covering things. Also, a 
background stripe above and below the top line covers things. This might be the 
background of the label; I couldn’t figure out how to set the alpha of colors 
to test that, so I use the opaque check box. Even with opaque of, objects are 
obscured.

It looks as though instead of putting an appropriate sized label over the 
border for the name, the object puts the opaque label above the content and 
tries to draw a border on top of that. The drawing is the 3D drawing, lines 
have 3D, not the whole rectangle of the border. The only difference for turning 
off 3D is using border instead of the bevels. With 3D on, one can see what is 
happening. The outside line is much like without the show name half width, but 
with a little diagonal gap in the upper left. The inside line, grows inward :( 
and has gaps in the lines, including the line ends around the name label.

Some behavior depends on the order I check boxes. For some experiments clear 
all check boxes and then turn on some.

The behavior I would have hoped for is this:

* The border always grows outward.
* Adding the show name does not change the border or background; it just puts a 
label over it.
* The background is in the back and extends consistently to either the inside 
of the border, the middle of the border or outside edge of the border. The 
background for the name label is the same as that for the group including the 
opaque modifier, so a blip of background might extend above the top border. 
This is noticeable only with show name.
*  Except for a little blip around the label when opaque is on, nothing 
obscures the content region.
* The label border is tight.

A better way might be to crop out a hole in the current border and place the 
name label there with a transparent background. Or layer them behind the 
content, but above the background. 

So…

I don’t seem to be doing something wrong. I need to look for a workaround. 

Thoughts (all involving keeping show name off):

1. I could put a small-margin label into the grouped controls so it fits just 
inside the border in a consistent corner.

2 I can put an opaque label on top of my border. The background color might be 
chosen to be that of the named group or that of its parent. I would have to 
address moving the group. There might be 3 ways. a) Move the label by hand. b) 
Add a script to do that. c) Put both label and my group into another group, but 
then have to figure out “of” and “parent” in scripts.

3 Draw my own border and label as the group content. (However, something seems 
to be weird with my rectangles on Windows.)

4. Any ideas you folks have.

Dar

> On Aug 21, 2023, at 3:56 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> I see those kind of changes (10.0.0DP5, MacOS), but the border changes from 
> solid black to black/white lines - with those 'splits' you described.
> 
> Alex.
> 
> On 21/08/2023 01:50, Dar Scott via use-livecode wrote:
>> On Mac and LiveCode 9.6.9…
>> 
>> Make a new stack. Put a few controls on it. Group them.
>> 
>> Give the group a name
>> 
>> Set the border width to something like 10-15 so the effect is visible.
>> 
>> Turn off 3D.
>>  Turn on border.
>> 
>> Now, turn show name on and off. When show name is off, the border looks 
>> good. When on, the border is goofy.
>> 
>> On my machine, when show name is on, the border gets thinner, most times. 
>> The ends of the border near the name is split into two lengths. The corners 
>> are split and some of the splits are too short. There are gaps compared to 
>> the pretty border when show name is off.
>> 
>> Dar
>> 
>> 
>>> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> 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. 
>>>> A

Re: Group corners

2023-08-20 Thread Dar Scott via use-livecode
On Mac and LiveCode 9.6.9…

Make a new stack. Put a few controls on it. Group them.

Give the group a name

Set the border width to something like 10-15 so the effect is visible.

Turn off 3D. 
 
Turn on border.

Now, turn show name on and off. When show name is off, the border looks good. 
When on, the border is goofy.

On my machine, when show name is on, the border gets thinner, most times. The 
ends of the border near the name is split into two lengths. The corners are 
split and some of the splits are too short. There are gaps compared to the 
pretty border when show name is off.

Dar


> On Aug 19, 2023, at 11:07 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> 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
> 


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


Group corners

2023-08-18 Thread Dar Scott via use-livecode

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


Re: JSON

2023-08-15 Thread Dar Scott via use-livecode
Thanks, Tore!

I found these in the dictionary. For JsonImport I noted this:

The return value may be any of the following types, depending on the content of 
the file:

Array (for a JSON object)
List (for a JSON array)
String (for a JSON string)
Number (for any JSON number)
Boolean (for JSON true or false)
nothing (for JSON null)
How would an array of objects be translated? What is nothing?

Dar


> On Aug 14, 2023, at 10:58 PM, Tore Nilsen via use-livecode 
>  wrote:
> 
> JsonImport will make an array of your JSON data, whereas JsonExport will turn 
> your array into JSON data. Not much fiddling there.
> 
> Best regards
> Tore Nilsen
> 
>> 15. aug. 2023 kl. 02:07 skrev Dar Scott via use-livecode 
>> :
>> 
>> 
>> I’m about write some scripts that fiddle with JSON. I have some old stacks 
>> of mine about someplace. But, I got to thinking there might be something 
>> faster about someplace. Ideas?
>> 
>> 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
> 

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


JSON

2023-08-14 Thread Dar Scott via use-livecode

I’m about write some scripts that fiddle with JSON. I have some old stacks of 
mine about someplace. But, I got to thinking there might be something faster 
about someplace. Ideas?

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


Re: Rectangles on Windows?

2023-08-11 Thread Dar Scott via use-livecode
Hmmm. Maybe few use rectangles. I could try a polyline or a group. — Dar

> On Aug 10, 2023, at 4:45 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Sorry Dar, I do not use rectangles for anything. 
> 
> Bob S
> 
> 
>> On Aug 10, 2023, at 3:30 PM, Dar Scott via use-livecode 
>>  wrote:
>> 
>> Anybody else seeing missing rectangles on Windows?  — Dar
>> 
>>> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode 
>>>  wrote:
>>> 
>>> 
>>> I have some rectangles that work just fine in development on my Mac.
>>> 
>>> However, there are problems in my Windows standalone. 
>>> 
>>> Not Showing Up
>>> Two sets of rectangles are not visible in Windows. One set is opaque and 
>>> one set is not. The opaque set is made visible or not invisible with a wipe 
>>> effect. Both sets have a non-zero border thickness
>>> 
>>> Showing Up
>>> Other rectangles have opaque true, backgroundColor red, and border 
>>> thickness 0. They are visible on Windows. They are also within a group. 
>>> These are made visible and not visible with a same wipe effect. 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Re: Rectangles on Windows?

2023-08-10 Thread Dar Scott via use-livecode
Anybody else seeing missing rectangles on Windows?  — Dar

> On Aug 8, 2023, at 12:14 PM, Dar Scott via use-livecode 
>  wrote:
> 
> 
> I have some rectangles that work just fine in development on my Mac.
> 
> However, there are problems in my Windows standalone. 
> 
> Not Showing Up
> Two sets of rectangles are not visible in Windows. One set is opaque and one 
> set is not. The opaque set is made visible or not invisible with a wipe 
> effect. Both sets have a non-zero border thickness
> 
> Showing Up
> Other rectangles have opaque true, backgroundColor red, and border thickness 
> 0. They are visible on Windows. They are also within a group. These are made 
> visible and not visible with a same wipe effect. 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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-09 Thread Dar Scott via use-livecode
I wonder. I don’t have Xcode installed on this machine. Does installing Xcode 
change the command-line tools? Maybe those tools that are the default work a 
little differently.

I’m willing to install Xcode, but before that maybe I can provide some 
information (such as version) about any particular tools.

Dar

> On Aug 9, 2023, at 6:17 AM, Dar Scott via use-livecode 
>  wrote:
> 
> Whoops, I sent the most recent before I saw that Panos had responded.
> 
> Panos, yes, a build to the network drive with a minimal stack has the error. 
> This minimal stack has a name of Test, no inclusions, no copy files.
> 
> The drive provides SMB, AFP and NFS services.
> 
> Dar
> 
>> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode 
>>  wrote:
>> 
>> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my 
>> inclusions and such.
>> 
>> I don’t have Xcode on this system. Perhaps there are some command line tools 
>> suitable that come with macOS. 
>> 
>> I still feel defensive that Mac said “detritus”. ;-)
>> 
>>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>> Hi Dar,
>>> 
>>> just a shot in the dark
>>> 
>>> For some time now Livecode does an adhoc code signing when creating a macOS 
>>> standalone. So therefore the Xcode command line tools have to be installed.
>>> In case you have installed more than one versions of Xcode on your system, 
>>> did you select in Xcode preferences the correct Xcode standalone tools that 
>>> shall be used?
>>> 
>>> Regards,
>>> Matthias
>>> 
>>> 
>>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode 
>>>> :
>>>> 
>>>> I have a clue. I changed the build destination to a drive on my Mac. That 
>>>> seemed to have gotten past that error and I ran into other errors.
>>>> 
>>>> I guess building expects a drive on my Mac. And my Mac returns a bogus 
>>>> error message. 
>>>> 
>>>> I suggest one of these as an improvement to the build operation:
>>>> 
>>>> *   Complain and advise when the target is on a network drive.
>>>> *   Build the standalone in a temporary location on the local drive and 
>>>> then copy to the network drive when the target is on a network drive.
>>>> 
>>>> I got past that error, but now I am running into others. They look 
>>>> familiar. I think the problem is that I’m not remembering the magic steps 
>>>> related to saving, purging and so on. I’m not sure, since I can build for 
>>>> Windows. (I can probably stumble through what I did long, long ago, but 
>>>> might figure it out faster.) 
>>>> 
>>>> Suggestion:
>>>> 
>>>> *   I should not have to remember.
>>>> 
>>>> Thanks, everybody, for your help!
>>>> 
>>>> Dar
>>>> 
>>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode 
>>>>>  wrote:
>>>>> 
>>>>> Oh, and I’m building from a network drive.
>>>>> 
>>>>> 
>>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode 
>>>>>>  wrote:
>>>>>> 
>>>>>> xcode-select -p
>>>>>> /Library/Developer/CommandLineTools
>>>>>> 
>>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode 
>>>>>>>  wrote:
>>>>>>> 
>>>>>>> I removed all inclusions. I opted to remove all profiles, probably 
>>>>>>> none. There are no Copy Files. I’m building for Intel only. 
>>>>>>> 
>>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None.
>>>>>>> 
>>>>>>> I set my bundle identifier and have not changed that among my attempts. 
>>>>>>> I left all of the other Version Information as default. 
>>>>>>> 
>>>>>>> I have no Icons added.
>>>>>>> 
>>>>>>> I get the same error.
>>>>>>> 
>>>>>>> Dar
>>>>>>> 
>>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode 
>>>>>>>>  wrote:
>>>>>>>> 
>>>>>>>> Signing happens after the app is built and is a manual process, so 
>&g

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-09 Thread Dar Scott via use-livecode
Whoops, I sent the most recent before I saw that Panos had responded.

Panos, yes, a build to the network drive with a minimal stack has the error. 
This minimal stack has a name of Test, no inclusions, no copy files.

The drive provides SMB, AFP and NFS services.

Dar

> On Aug 9, 2023, at 5:55 AM, Dar Scott via use-livecode 
>  wrote:
> 
> I don’t know what I did. Building for Mac Intel works just fine. I’ll add my 
> inclusions and such.
> 
> I don’t have Xcode on this system. Perhaps there are some command line tools 
> suitable that come with macOS. 
> 
> I still feel defensive that Mac said “detritus”. ;-)
> 
>> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi Dar,
>> 
>> just a shot in the dark
>> 
>> For some time now Livecode does an adhoc code signing when creating a macOS 
>> standalone. So therefore the Xcode command line tools have to be installed.
>> In case you have installed more than one versions of Xcode on your system, 
>> did you select in Xcode preferences the correct Xcode standalone tools that 
>> shall be used?
>> 
>> Regards,
>> Matthias
>> 
>> 
>>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode 
>>> :
>>> 
>>> I have a clue. I changed the build destination to a drive on my Mac. That 
>>> seemed to have gotten past that error and I ran into other errors.
>>> 
>>> I guess building expects a drive on my Mac. And my Mac returns a bogus 
>>> error message. 
>>> 
>>> I suggest one of these as an improvement to the build operation:
>>> 
>>> *   Complain and advise when the target is on a network drive.
>>> *   Build the standalone in a temporary location on the local drive and 
>>> then copy to the network drive when the target is on a network drive.
>>> 
>>> I got past that error, but now I am running into others. They look 
>>> familiar. I think the problem is that I’m not remembering the magic steps 
>>> related to saving, purging and so on. I’m not sure, since I can build for 
>>> Windows. (I can probably stumble through what I did long, long ago, but 
>>> might figure it out faster.) 
>>> 
>>> Suggestion:
>>> 
>>> *   I should not have to remember.
>>> 
>>> Thanks, everybody, for your help!
>>> 
>>> Dar
>>> 
>>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode 
>>>>  wrote:
>>>> 
>>>> Oh, and I’m building from a network drive.
>>>> 
>>>> 
>>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode 
>>>>>  wrote:
>>>>> 
>>>>> xcode-select -p
>>>>> /Library/Developer/CommandLineTools
>>>>> 
>>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode 
>>>>>>  wrote:
>>>>>> 
>>>>>> I removed all inclusions. I opted to remove all profiles, probably none. 
>>>>>> There are no Copy Files. I’m building for Intel only. 
>>>>>> 
>>>>>> For PLIST I chose Chose a PLIST and then clicked Use None.
>>>>>> 
>>>>>> I set my bundle identifier and have not changed that among my attempts. 
>>>>>> I left all of the other Version Information as default. 
>>>>>> 
>>>>>> I have no Icons added.
>>>>>> 
>>>>>> I get the same error.
>>>>>> 
>>>>>> Dar
>>>>>> 
>>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode 
>>>>>>>  wrote:
>>>>>>> 
>>>>>>> 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.
>>>>>>>> 
>>>>>>>

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-09 Thread Dar Scott via use-livecode
I don’t know what I did. Building for Mac Intel works just fine. I’ll add my 
inclusions and such.

I don’t have Xcode on this system. Perhaps there are some command line tools 
suitable that come with macOS. 

I still feel defensive that Mac said “detritus”. ;-)

> On Aug 8, 2023, at 5:13 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi Dar,
> 
> just a shot in the dark
> 
> For some time now Livecode does an adhoc code signing when creating a macOS 
> standalone. So therefore the Xcode command line tools have to be installed.
> In case you have installed more than one versions of Xcode on your system, 
> did you select in Xcode preferences the correct Xcode standalone tools that 
> shall be used?
> 
> Regards,
> Matthias
> 
> 
>> Am 09.08.2023 um 00:45 schrieb Dar Scott via use-livecode 
>> :
>> 
>> I have a clue. I changed the build destination to a drive on my Mac. That 
>> seemed to have gotten past that error and I ran into other errors.
>> 
>> I guess building expects a drive on my Mac. And my Mac returns a bogus error 
>> message. 
>> 
>> I suggest one of these as an improvement to the build operation:
>> 
>> *   Complain and advise when the target is on a network drive.
>> *   Build the standalone in a temporary location on the local drive and then 
>> copy to the network drive when the target is on a network drive.
>> 
>> I got past that error, but now I am running into others. They look familiar. 
>> I think the problem is that I’m not remembering the magic steps related to 
>> saving, purging and so on. I’m not sure, since I can build for Windows. (I 
>> can probably stumble through what I did long, long ago, but might figure it 
>> out faster.) 
>> 
>> Suggestion:
>> 
>> *   I should not have to remember.
>> 
>> Thanks, everybody, for your help!
>> 
>> Dar
>> 
>>> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode 
>>>  wrote:
>>> 
>>> Oh, and I’m building from a network drive.
>>> 
>>> 
>>>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode 
>>>>  wrote:
>>>> 
>>>> xcode-select -p
>>>> /Library/Developer/CommandLineTools
>>>> 
>>>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode 
>>>>>  wrote:
>>>>> 
>>>>> I removed all inclusions. I opted to remove all profiles, probably none. 
>>>>> There are no Copy Files. I’m building for Intel only. 
>>>>> 
>>>>> For PLIST I chose Chose a PLIST and then clicked Use None.
>>>>> 
>>>>> I set my bundle identifier and have not changed that among my attempts. I 
>>>>> left all of the other Version Information as default. 
>>>>> 
>>>>> I have no Icons added.
>>>>> 
>>>>> I get the same error.
>>>>> 
>>>>> Dar
>>>>> 
>>>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode 
>>>>>>  wrote:
>>>>>> 
>>>>>> 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.
>>>>>>>> 
>>&g

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Dar Scott via use-livecode
I have a clue. I changed the build destination to a drive on my Mac. That 
seemed to have gotten past that error and I ran into other errors.

I guess building expects a drive on my Mac. And my Mac returns a bogus error 
message. 

I suggest one of these as an improvement to the build operation:

*   Complain and advise when the target is on a network drive.
*   Build the standalone in a temporary location on the local drive and then 
copy to the network drive when the target is on a network drive.

I got past that error, but now I am running into others. They look familiar. I 
think the problem is that I’m not remembering the magic steps related to 
saving, purging and so on. I’m not sure, since I can build for Windows. (I can 
probably stumble through what I did long, long ago, but might figure it out 
faster.) 

Suggestion:

*   I should not have to remember.

Thanks, everybody, for your help!

Dar

> On Aug 8, 2023, at 10:47 AM, Dar Scott via use-livecode 
>  wrote:
> 
> Oh, and I’m building from a network drive.
> 
> 
>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode 
>>  wrote:
>> 
>> xcode-select -p
>> /Library/Developer/CommandLineTools
>> 
>>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode 
>>>  wrote:
>>> 
>>> I removed all inclusions. I opted to remove all profiles, probably none. 
>>> There are no Copy Files. I’m building for Intel only. 
>>> 
>>> For PLIST I chose Chose a PLIST and then clicked Use None.
>>> 
>>> I set my bundle identifier and have not changed that among my attempts. I 
>>> left all of the other Version Information as default. 
>>> 
>>> I have no Icons added.
>>> 
>>> I get the same error.
>>> 
>>> Dar
>>> 
>>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode 
>>>>  wrote:
>>>> 
>>>> 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:
>>>>>>>> Repla

Re: Color of text of the selected tab of Tab Panel

2023-08-08 Thread Dar Scott via use-livecode
Thanks, Bob!

I am quite open to using a different tab control.

I might make my own  or  use another designer's tab control that fits in with 
the run-of-the-mill GUI. Hmmm, I’ve put some time into this look and feel, but 
I’m willing to consider a change, so I guess I should look at even exotic tab 
controls. 

In the mean time, I will try to set up something safe.

Dar

> On Aug 8, 2023, at 11:59 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Uurgh. I ran into this. It prompted me to create my own custom tab group 
> around the tab widget. I overlayed buttons on the tab graphics, but the 
> tricky part was getting the buttons to resize and reposition when new tabs 
> were added. 
> 
> Bob S
> 
> 
>> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode 
>>  wrote:
>> 
>> 
>> I’m developing on a Mac. In order to change the color of the text on the 
>> selected tab of a Tab Panel I had to change backgroundColor. The seems 
>> weird. (I’ve been away, so I don’t remember how this should go).
>> 
>> However, the .exe on Windows shows that text the same color as on the other 
>> tabs. I set other color properties except foregroundColor to a variety of 
>> colors to see if any affected the color, but that text is still black. 
>> 
>> I would like for it to work the same on both Windows and Mac. I do want to 
>> strengthen the emphasis for the selected tab.
>> 
>> If need be, I can use a different method for the extra emphasis. 
>> 
>> I’d like to do it in a way that doesn’t break when any bugs are fixed.
>> 
>> Ideas?
>> 
>> 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
> 


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


Rectangles on Windows?

2023-08-08 Thread Dar Scott via use-livecode


I have some rectangles that work just fine in development on my Mac.

However, there are problems in my Windows standalone. 

Not Showing Up
Two sets of rectangles are not visible in Windows. One set is opaque and one 
set is not. The opaque set is made visible or not invisible with a wipe effect. 
Both sets have a non-zero border thickness

Showing Up
Other rectangles have opaque true, backgroundColor red, and border thickness 0. 
They are visible on Windows. They are also within a group. These are made 
visible and not visible with a same wipe effect. 



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


Color of text of the selected tab of Tab Panel

2023-08-08 Thread Dar Scott via use-livecode

I’m developing on a Mac. In order to change the color of the text on the 
selected tab of a Tab Panel I had to change backgroundColor. The seems weird. 
(I’ve been away, so I don’t remember how this should go).

However, the .exe on Windows shows that text the same color as on the other 
tabs. I set other color properties except foregroundColor to a variety of 
colors to see if any affected the color, but that text is still black. 

I would like for it to work the same on both Windows and Mac. I do want to 
strengthen the emphasis for the selected tab.

If need be, I can use a different method for the extra emphasis. 

I’d like to do it in a way that doesn’t break when any bugs are fixed.

Ideas?

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


Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Dar Scott via use-livecode
Oh, and I’m building from a network drive.


> On Aug 8, 2023, at 10:41 AM, Dar Scott via use-livecode 
>  wrote:
> 
> xcode-select -p
> /Library/Developer/CommandLineTools
> 
>> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode 
>>  wrote:
>> 
>> I removed all inclusions. I opted to remove all profiles, probably none. 
>> There are no Copy Files. I’m building for Intel only. 
>> 
>> For PLIST I chose Chose a PLIST and then clicked Use None.
>> 
>> I set my bundle identifier and have not changed that among my attempts. I 
>> left all of the other Version Information as default. 
>> 
>> I have no Icons added.
>> 
>> I get the same error.
>> 
>> Dar
>> 
>>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode 
>>>  wrote:
>>> 
>>> 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
>>>>>> 
>>>>> 
>>>>> 

Re: Unable to build for Mac: adding ad-hoc signature failed

2023-08-08 Thread Dar Scott via use-livecode
xcode-select -p
/Library/Developer/CommandLineTools

> On Aug 8, 2023, at 10:19 AM, Dar Scott via use-livecode 
>  wrote:
> 
> I removed all inclusions. I opted to remove all profiles, probably none. 
> There are no Copy Files. I’m building for Intel only. 
> 
> For PLIST I chose Chose a PLIST and then clicked Use None.
> 
> I set my bundle identifier and have not changed that among my attempts. I 
> left all of the other Version Information as default. 
> 
> I have no Icons added.
> 
> I get the same error.
> 
> Dar
> 
>> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> 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
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 

___
use-livecode mailing list
use-livecode@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 Dar Scott via use-livecode
I stopped service Spoolsv. The executable then loaded quickly.

It is not possible to delete drivers on that computer.

I will set up a different computer with limited printer drivers.

I look forward to seeing this resolved.

My program does not print. Is there something I can remove in the creating of a 
standalone?

Dar

> On Aug 8, 2023, at 10:07 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 Dar Scott via use-livecode
I removed all inclusions. I opted to remove all profiles, probably none. There 
are no Copy Files. I’m building for Intel only. 

For PLIST I chose Chose a PLIST and then clicked Use None.

I set my bundle identifier and have not changed that among my attempts. I left 
all of the other Version Information as default. 

I have no Icons added.

I get the same error.

Dar

> On Aug 8, 2023, at 10:08 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> 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
> 


___
use-livecode mailing list
use-livecode@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 Dar Scott via use-livecode
Sure, Panos! Uh, what’s its name?

> On Aug 7, 2023, at 11:42 AM, panagiotis m via use-livecode 
>  wrote:
> 
> Hello Dar,
> 
> Could you quit the printer spooler process ( from the task manager or from
> Windows CMD) and try again?
> 
> Cheers,
> Panos
> 
> On Mon, 7 Aug 2023, 20:38 Dar Scott via use-livecode, <
> use-livecode@lists.runrev.com> wrote:
> 
>> 
>> Greetings!
>> 
>> A made a stack with very little script—just enough to exercise the GUI.
>> 
>> (I couldn’t build a Mac app; more on that as a separate question.)
>> 
>> I build a Windows app from my Mac. It takes 40 seconds to load. What might
>> I be doing wrong?
>> 
>> I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute.
>> 
>> 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
> 


___
use-livecode mailing list
use-livecode@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 Dar Scott via use-livecode
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


Unable to build for Mac: adding ad-hoc signature failed

2023-08-07 Thread Dar Scott via use-livecode

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


Light Windows programs takes 40 s to load

2023-08-07 Thread Dar Scott via use-livecode

Greetings!

A made a stack with very little script—just enough to exercise the GUI.

(I couldn’t build a Mac app; more on that as a separate question.)

I build a Windows app from my Mac. It takes 40 seconds to load. What might I be 
doing wrong?

I can set up a flash screen, but I’m lazy. Even so, 2/3 of a minute.

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


Re: Tab button is not getting messages

2023-08-01 Thread Dar Scott via use-livecode

There’s a tab widget? Cool.

I guess I’m using a tab button.

I think I know what is the problem, though I don’t remember what I did to do 
cause it. Some of the backgrounds are really different; they just look the 
same. I edit the background (the tab button script) but the button script does 
not show up on most of the cards. 

How do I place the correct background on each card?

Dar


> On Aug 1, 2023, at 9:47 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Tab button or tab widget?
> 
> Bob S
> 
> 
>> On Aug 1, 2023, at 8:39 AM, Dar Scott via use-livecode 
>>  wrote:
>> 
>> 
>> I have a tab button on a background. It does not seem to be getting 
>> menuPick. I tried mouseUp and that does not work, either. A checkbox on the 
>> same background does get a mouseUp. I tried beeps and puts, but nothing. 
>> (I’m switching to a card whose name is pChosenItem.)
>> 
>> 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
> 
> 


___
use-livecode mailing list
use-livecode@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-08-01 Thread Dar Scott via use-livecode
Thanks, all!


> On Jul 31, 2023, at 11:27 PM, Jerry Jensen via use-livecode 
>  wrote:
> 
> I now always "set the backdrop to none” right away in the main stack. 
> Otherwise mine is always black. Pain.
> .Jerry
> 
>> On Jul 31, 2023, at 8:56 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> 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.
>> 
>> <https://quality.livecode.com/show_bug.cgi?id=24200>
>> 
>> --
>> 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 <http://darzlab.com/> | 
>>> darsc...@darzlab.com <mailto: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
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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


Tab button is not getting messages

2023-08-01 Thread Dar Scott via use-livecode

I have a tab button on a background. It does not seem to be getting menuPick. I 
tried mouseUp and that does not work, either. A checkbox on the same background 
does get a mouseUp. I tried beeps and puts, but nothing. (I’m switching to a 
card whose name is pChosenItem.)

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


Managing windows in the IDE on Mac

2023-07-31 Thread Dar Scott via use-livecode
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


Re: source of a socket error message

2019-07-19 Thread Dar Scott via use-livecode
It might be we are overcomplicating things. Maybe this just needs a support 
note to check the Internet connection.

I am having a little trouble picturing the situation here. And like you, I 
wonder about the description. Since one city was mentioned, I thought there was 
a possibility of a single ISP having trouble with DNS. I can't tell if this is 
WAN or Internet, controlled sites or customer devices, ...

Filtering...

Another thing I thought about is filtering. I have seen evil filtering based on 
the URL that returns an IP address that returns a page with ads based on the 
contents of the URL. That would not return an error, but could mess up code 
trying to parse the result. I suppose that a filtering name server might return 
a lookup error for either a URL or an IP. The latter is goofy, but if that 
happens, bad neighbors could cause a loss of name service for the app's server. 
Or if the URL is accidentally, temporarily or maliciously put on Santa's 
naughty list for an hour, DNS for it might be unavailable. Quad9 (9.9.9.9) will 
reply with a NXDOMAIN (non-existent domain) if a site is blocked. The solution 
might be a support note to avoid filtering if it is not otherwise needed.

(Long ago, before we had our own LiveCode function, I made a small DNS client 
library. About the same time I got a new DSL router. The library was 
inconsistent in getting a lookup error. I was frustrated trying to debug this, 
but I figured it out. At boot, the router kept changing the name service IP 
address to one that pointed a site that returned an IP that generated ads, even 
though I had saved a different IP. I don't remember how I fixed that.)

> On Jul 18, 2019, at 9:46 AM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 7/18/19 8:11 AM, dsc--- via use-livecode wrote:
>> Also...
>> If you have control of these sites and even if you use an ISP DNS service, 
>> you can add a secondary DNS IP address, perhaps a public recursive name 
>> server such as the Google Public DNS (8.8.8.8).  This will add a robustness 
>> without upgrading the software.
>> If you don't manage those, you can you can upgrade the software to access a 
>> public name server directly with TLS, or use DNS over HTTPS. DNS over HTTPS 
>> is not as easy as it sounds, but should be doable. It is available without 
>> filtering from Google, Quad9 (use 9.9.9.10 for no filtering), or (if you 
>> don't use Cisco) Cloudflare 1.1.1.1.
> 
> DoH is getting easier to use all the time but still hasn't reached a level of 
> plug-and-play availability. I set up a Raspberry pi on our LAN running a DoH 
> service that hooks into Cloudflare on the backend and it's transparent and 
> painless (if I'm allowed to mix metaphors).
> 
> Normally I'd agree with you on this, but what has me worried about the 
> problem situation is "occasionally I get a "mass" of errors (50 or 60) within 
> a 1 hour period of time from a large variety of different external sites". So 
> it's not a DNS outage from a single location,
> 
> That said, last week I had a maddeningly similar thing occur here... I 
> suddenly couldn't resolve addresses, and worse, couldn't even ping numeric 
> addresses outside our ISP's gateway. After working with our ISP's tech 
> support, rebooting our router got us a new IP address in the router's routing 
> table and that fixed the problem. Possibly some problem with fiber DHCP 
> refreshing, and I hesitate to suggest that something similar is at work here, 
> but strange things happen.
> 
>> You might want to add some network diagnostics, where you can log or 
>> otherwise report the results. This will help solidify your analysis.
>> If you have control over the server and know the IP address will never 
>> change, you can skip the name lookup and just use the IP address.
> 
> That or your excellent suggestion of cacheing the address once it's 
> originally resolved.
> 
> -- 
> Mark Wieder
> ahsoftw...@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


Re: source of a socket error message

2019-07-17 Thread Dar Scott via use-livecode
This is very likely a loss of network availability and of that a loss of 
Internet availability.

The library will first look up the URI to get an IP address. The IP address is 
used to make a connection to the server.  The computer has (or can get) an IP 
address to use for making that look up.  Since that this the first operation, a 
loss of Internet will show up with that error.

If you are sure there is access to the Internet, then it might be that the DNS 
server is down. That seems unlikely, but possible. If the server IP is fixed, 
then use a cached version of the IP. Use hostNameToAddress() to get the IP 
address, save that on success, use the saved address on failure.


> On Jul 17, 2019, at 6:27 PM, Douglas Ruisaard via use-livecode 
>  wrote:
> 
> Let me start this off by stating that the information I am seeking IS NOT due 
> to an *issue* with LC.  Hopefully, I can make it clear why I am asking for 
> assistance from this group in regard to the situation I am trying to deal 
> with and why I need the LC expertise of this group as a resource.
> 
> In a portion of a large application, which has been distributed to a large 
> number (5,000+) of remote/external sites, I have a call to a TCP socket:
> 
> on OpenCard 
> ...
> put ftp_server & ":" & tcp_port into temp1
> open socket to temp1 with message "NewConnection"
> wait for messages  
> end OpenCard
> 
> Then there are a variety of "call-backs" based on when happens after I open 
> the socket.  One of these call-backs is "socketError":
> 
> on socketError theID, theError
> close socket theID
> do_log " " & sftp_account && "file: " & "There is a problem with the TCP 
> connection: " & theError, "connect", 3
>   ...
> end socketError
> 
> This works PERFECTLY 99.999% of the time.  However, occasionally I get a 
> "mass" of errors (50 or 60) within a 1 hour period of time from a large 
> variety of different external sites (I get all of the remote site's logs) ... 
> i.e. many different sites connecting in from many different locations around 
> the province of Ontario ... a very large place!
> 
> The error returned is: "can't resolve hostname"... returned in the "theError" 
> parameter of the socketError function.
> 
> Here's where I need help.  I need to find out, with as great a level of 
> detail as possible, EXACTLY what (from LC's "point-of-view") triggers this 
> error, what part(s) of the LC engine are involved with generating this error 
> and if there is more than the obvious cause of the remote site's DNS server 
> (via their ISP or internal server(s)) not being able to "see" the hostname 
> that could produce this error.
> 
> Although this "error" appears to be "common" from a variety of sources (none 
> of which are written in LC, as far as I can tell)... I cannot find any 
> "standard" by  which a DNS generates this specific message.  NSLOOKUP would 
> be the closest candidate but even it doesn't produce this specific error of 
> being "unable to resolve the hostname"... so that leaves LC with the 
> responsibility of the content of the error.
> 
> I REALLY want to emphasize that, as far as I am concerned, this is not a 
> problem with LC, in any manner... but I need to find out where and why LC 
> generates this message.
> 
> I am not sure what or where to search for this error or what generates it 
> from with the LC components but if someone could help me "find" a starting 
> point, I should be able to reverse-engineer the logic.
> 
> The overall situation is fairly complex but I'd be very open to providing 
> more details if anyone feels it is warranted.
> 
> Whatever help could be provided will be very, very appreciated!
> 
> Douglas Ruisaard
> Trilogy Software
> (250) 573-3935
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: DELETE url

2019-07-06 Thread Dar Scott via use-livecode
Oh, RFC2616 is so twentieth century.

However, RFC7231 HTTP/1.1 agrees with the responses: 200 (OK), 202 (Accepted), 
or 204 (No Content).

It does have a couple examples that seems to indicate that DELETE might be used 
for logout, should one have imagination:

DELETE might be used to remove a resource previously created with PUT 
(as I described).

DELETE might be used to remove a resource previously created with a 
POST that returns a 201 (Created) status.

POST is favored for login, or so it seems from a quick search. POST is a 
command, an action. A wide range of status responses are allowed. So, perhaps 
the first login returns a 201 (Created) and subsequent logins either create new 
sessions (201) or return the same session (200). I think I saw a few cases 
where the responses were 200 and 404. Use of 200 with POST means that a proxy 
must have POST caching turned off or tweaked.

The 201 might return something like http://www.example.com/api/jj73koaiekdyu33/ 
. The session key is part of the 
URL. Subsequent queries would use this as the base URL. DELETE would delete 
that.

This makes DELETE look more acceptable as logout.

However, this falls apart when we look at authentication. A token is usually 
not returned in a 201 as part of a session URL, but is more often a value that 
is returned in the authentication header for subsequent use of the session. It 
can also be returned as a cookie and subsequent requests use the cookie. In 
these scenarios, the semantic coherence of DELETE starts to fall apart.  

Also, login and logout are verbs. That seems to vote for POST for both.  

Yet, give me the protocol and I will work with it. I am not really as cranky as 
I claim.

Dar Scott
darsc...@darzlab.com

> On Jul 5, 2019, at 8:07 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 7/5/19 6:13 PM, Dar Scott Consulting via use-livecode wrote:
>> And an aside. Off topic.
>> I guess I am old-school. I know it is the fad, but using DELETE to logout 
>> seems goofy. Yeah, you can make a URL that looks like a session and you are 
>> deleting the session. But it seems that is like using HEAD to indicate what 
>> direction you are going or OPTIONS to set up options.
>> I know. I'm a cranky curmudgeon. I survive by recognizing that this is no 
>> longer HTTP, but a wolf in sheep's clothing to get past firewalls, a whole 
>> new protocol where we make it up as we go.
>> Now, given that, and I join the 21st century, DELETE returns a status code 
>> and an optional content. The status code is normally 204 (but maybe 205, 
>> which might be appropriate for log out) when no content is returned or 200 
>> if content is returned. If the item is not there, the same applies, but 
>> perhaps 404 or 410 can also apply. If DELETE is used to mean logout, then 
>> the session is permanently gone and 410 on a repeat is appropriate. A 303 is 
>> OK (content is URL), but is probably handled by the underlying library.
>> Now, for proper symmetry, if DELETE is used to log out, then PUT must be 
>> used to log in. Both are idempotent, so logging in multiple times should be 
>> OK and logging out multiple times should be OK.  That is, a login returns 
>> 200 and a logout returns 204.  Every time.
>> I have not seen it implemented that way. We play the hands we are dealt.
> 
> RFC 2616 describes only three possible responses to a DELETE verb:
> 200: the response includes an entity describing the status
> 202: the action has not yet been enacted
> 204: the action has been enacted but there is no status entity
> 
> Idempotence appears to be optional. RFC2616 states that certain verbs "can" 
> have this property. That said, not all servers or web apps support the DELETE 
> verb - there's usually an option to enable/disable it.
> 
> And I'm with you on the weirdness of using DELETE to log out. Bleah.
> 
> But to Jacque's point, see this:
> 
> 
> -- 
> Mark Wieder
> ahsoftw...@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


Re: Duplicate Card

2018-02-07 Thread Dar Scott via use-livecode
Did you ever get your duplicate card problem fixed?

> On Oct 4, 2017, at 2:44 PM, Camm via use-livecode 
>  wrote:
> 
> Hi ,
> 
> 
> 
> Is Duplicate card broke in 8.1.6 ?
> 
> 
> 
> I get Duplicate card highlighted then when pressed the duplicate does not
> appear ?
> 
> 
> 
> 
> 
> 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