Re: tsNetUploadSync()

2024-01-03 Thread scott--- via use-livecode
Hello Matthias,

I realize it has been nearly a month since your very thorough and generous 
response to my question. Something came up a few hours after I posted the 
question that almost completely side-tracked my use of LiveCode for a bit. (I’m 
fine, just "life stuff” happening.) I apologize for the rude silence following 
your attempt to help me and I would like to follow up by saying that when I was 
able to return to LiveCode, the generosity and encouragement of your post 
helped me get back to poking around until I solved the problem… which turned 
out not to be an issue with tsNetUploadSync() but with tsNetGetSync() which I 
was also calling (for some mysterious reason) though I didn’t need to. (I also 
didn’t need to understand why tsNetGetSync() was failing! I could just remove 
the code.) I’m not sure why I had so much trouble isolating that problem and I 
hope that you didn’t spend too much time testing  tsNetUploadSync() on my 
behalf. Thank you for your help, Matthias.

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--
> On Dec 8, 2023, at 7:40 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi Scott,
> 
> i just tested here with LC 9.6.10 and 10DP6 on a HostM account and also on a 
> Synology FTP account in Rosetta mode and native on ARM64
> I used FTP explicit as protocol.
> In all cases it was successful.
> 
> My HostM account is on a server located in Germany at Hetzner, Your domain is 
> on a server located in Canada at OHV.
> So maybe there was a change in tsNET and there  is a difference between how 
> our servers confirm the successful upload. And maybe the way  your server 
> confirms the upload, does not "comply" with the changes in tsNET.
> 
> Maybe the HostM support could help in changing the settings. They are very 
> used with Livecode. Y
> 
> Btw.  I could send you the login data for my test account so you could check  
> if it is working with that account. 
> Then you could tell HostM suppert  that there is no problem with a German 
> HostM account.
> 
> Regards,
> Matthias
> 
> 
> 
> 
> 
> 
>> Am 08.12.2023 um 01:13 schrieb scott--- via use-livecode 
>> :
>> 
>> I have a project that uses the business version of tsNet to ftp a file onto 
>> a web server. (I’m using a Mac, the server is a shared one on hostm.) This 
>> works fine in LC 9.6.8 but fails in subsequent versions of LC 9.6.x as well 
>> as LC 10.0.0 (dp 6). I’m fairly ignorant of tsnet and file transfer 
>> protocols. My attempts to debug the problem by looking at headers and cURL 
>> error codes hasn’t gotten me anywhere useful. Is there something that 
>> changed between LC 9.6.8 and LC 9.6.9  that might help inform where I should 
>> be looking? I saw that LC 9.6.9 updated the version of OpenSSL it was using 
>> but I’m not sure if/how that might effect tsnet. I’ve put more details 
>> below.  Any ideas welcomed. (Well, almost any ;- )
>> 
>> --
>> 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


tsNetUploadSync()

2023-12-07 Thread scott--- via use-livecode
I have a project that uses the business version of tsNet to ftp a file onto a 
web server. (I’m using a Mac, the server is a shared one on hostm.) This works 
fine in LC 9.6.8 but fails in subsequent versions of LC 9.6.x as well as LC 
10.0.0 (dp 6). I’m fairly ignorant of tsnet and file transfer protocols. My 
attempts to debug the problem by looking at headers and cURL error codes hasn’t 
gotten me anywhere useful. Is there something that changed between LC 9.6.8 and 
LC 9.6.9  that might help inform where I should be looking? I saw that LC 9.6.9 
updated the version of OpenSSL it was using but I’m not sure if/how that might 
effect tsnet. I’ve put more details below.  Any ideas welcomed. (Well, almost 
any ;- )

--
Scott Morrow

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


When things don’t work I get:
"Transfer complete with server response code tsneterr: (13) Bad PASV/EPSV 
response: 250”  — which is confusing to me since:

"CURLE_FTP_WEIRD_PASV_REPLY (13)
libcurl failed to get a sensible result back from the server as a response to 
either a PASV or a EPSV command. The server is flawed.”

Although a 250 FTP response seems to mean: "Requested file action okay, 
completed"


When things do work [LC 9.6.8] I get:
"Transfer complete with server response code 226”   — which I think means: 
Closing data connection; requested file action successful

-
A more complete list of responses

server responses from LC 9.6.11 (rc 1) failed attempt:

- Server Responses -
Downloading FTPS directory listing for 
/public_html/traditionaltaekwondo.org/calendar_events_data from 
ftp://xxx.serversignin.com
Transfer complete with server response code tsneterr: (13) Bad PASV/EPSV 
response: 550--
tRecvHeaders:
220-- Welcome to Pure-FTPd [privsep] [TLS] -- 
220-You are user number 6 of 188 allowed. 
220-Local time is now 22:44. Server port: 21. 
220-This is a private system - No anonymous login 
220-IPv6 connections are also welcome on this server. 
220 You will be disconnected after 30 minutes of inactivity. 
500 This security scheme is not implemented 
234 AUTH TLS OK. 
331 User xxx OK. Password required 
230 OK. Current restricted directory is / 
200 PBSZ=0 
200 Data protection level set to "private" 
257 "/" is your current location 
250 OK. Current directory is /public_html 
250 OK. Current directory is /public_html/traditionaltaekwondo.org 
500 Unknown command 
227 Entering Passive Mode (192,99,207,157,134,188) 
200 TYPE is now 8-bit binary 
550 I can only retrieve regular files --
Uploading file 2024_calendar_events.txt to 
ftp://xxx.serversignin.com/public_html/traditionaltaekwondo.org/calendar_events_data
Transfer complete with server response code tsneterr: (13) Bad PASV/EPSV 
response: 250

tRecvHeaders:
227 Entering Passive Mode (192,99,207,157,126,230) 
250 OK. Current directory is / 
250 OK. Current directory is /public_html 
250 OK. Current directory is /public_html/traditionaltaekwondo.org 
250 OK. Current directory is 
/public_html/traditionaltaekwondo.org/calendar_events_data 
tsNetGetTimeouts: 60,0,30,6,30,1000


server responses from LC 9.6.8 successful attempt:

Downloading FTPS directory listing for 
/public_html/traditionaltaekwondo.org/calendar_events_data from 
ftp://ua873228.serversignin.com
Transfer complete with server response code tsneterr: (78) The file does not 
exist--
tRecvHeaders:
220-- Welcome to Pure-FTPd [privsep] [TLS] -- 
220-You are user number 2 of 188 allowed. 
220-Local time is now 23:19. Server port: 21. 
220-This is a private system - No anonymous login 
220-IPv6 connections are also welcome on this server. 
220 You will be disconnected after 30 minutes of inactivity. 
500 This security scheme is not implemented 
234 AUTH TLS OK. 
331 User xxx OK. Password required 
230 OK. Current restricted directory is / 
200 PBSZ=0 
200 Data protection level set to "private" 
257 "/" is your current location 
250 OK. Current directory is /public_html 
250 OK. Current directory is /public_html/traditionaltaekwondo.org 
500 Unknown command 
227 Entering Passive Mode (192,99,207,157,133,222) 
200 TYPE is now 8-bit binary 
550 I can only retrieve regular files --
Uploading file 2024_calendar_events.txt to 
ftp://xxx.serversignin.com/public_html/traditionaltaekwondo.org/calendar_events_data
Transfer complete with server response code 226

tRecvHeaders:
250 OK. Current directory is / 
250 OK. Current directory is /public_html 
250 OK. Current directory is /public_html/traditionaltaekwondo.org 
250 OK. Current directory is 

Samsung Galaxy Android Nav Bar

2023-10-01 Thread scott--- via use-livecode
I’m having trouble with the on-screen Navigation Bar at the bottom of the 
Android screen not being detected correctly on some devices (Samsung Galaxy S22 
for instance). When positioning controls based on < the working screenRect > I 
end up with app controls that I position at the bottom of the screen being 
partially obscured by the Android NavBar. (I did also try < effective working 
screenRect > just in case but that didn’t help either… just like it wasn’t 
supposed to  :- )

I suppose this may have been an issue for a long time and I’ve just never 
noticed. It doesn’t seem to show up on any of the Android Studio simulators and 
I only have a couple of older physical android devices to test against, which 
also work as expected. I only recently noticed it on a friends newer Samsung 
device and then was able to test against it further using the Samsung developer 
portal which includes a nice “remote test lab” 


Any suggestions (or commiseration) would be welcome.

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


Re: OT - Mac Notarization Problem - Desperation setting in

2023-08-25 Thread scott--- via use-livecode
I use Matthias' brilliant “mrSignNotarizeHelperV4.livecode” project regularly 
and when I’ve had a problem in the past, ticking the “Debug mode” checkbox 
(which places each step of the terminal commands in the message box when you 
click the “Start” button) and then manually entering each of these steps as a 
command line in Terminal.app, has been helpful in figuring out exactly what 
step was failing. And sometimes, why.

--
Scott Morrow

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

> On Aug 25, 2023, at 8:24 AM, Mark Smith via use-livecode 
>  wrote:
> 
> Hi Tim,
> 
> Codesigning is (as you probably know) one of the tricker bits of building an 
> app for distribution (and I’ve certainly had my share of failures and 
> frustrations along the way). I am following this thread closely so if you 
> don’t mind sharing, I’d be interested in hearing what the solution is, once 
> you’ve found it. 
> 
> Cheers and best of luck,
> Mark
> 
>> On 25 Aug 2023, at 3:37 pm, Timothy Bleiler via use-livecode 
>>  wrote:
>> 
>> Thank you Heather,
>> 
>> I’ll take a look.  Matthias Rebbe is also trying to help me find the problem.
>> 
>> Regards,
>> Tim Bleiler
>> 
>> 
>> 
>>> On Aug 25, 2023, at 4:13 AM, Heather Laine via use-livecode 
>>> mailto:use-livecode@lists.runrev.com>> 
>>> wrote:
>>> 
>>> Tim - codesigning is not my expertise but failed password credentials I 
>>> deal with frequently :). A possible gotcha is that your password is saved 
>>> to your keychain, and then, if you change it, the changed password is 
>>> overwritten by the saved password, invisibly since the password is hidden 
>>> when entered. I would recommend deleting all saved passwords from your 
>>> keychain for your certificates etc, and re-entering them to eliminate this 
>>> possibility.
>>> 
>>> Probably not the issue but you never know...
>>> 
>>> Best Regards,
>>> 
>>> Heather
>>> 
>>> Heather Laine
>>> Customer Services Manager
>>> LiveCode Ltd
>>> http://www.livecode.com/ 
>>> 
>>> 
>>> 
 On 24 Aug 2023, at 18:02, Timothy Bleiler via use-livecode 
  wrote:
 
 Hi all,
 
 I believe the problem I’m having is either on Apple’s end or something 
 with my local configuration but Apple has not been very helpful and I’m 
 running out of ideas, so I’m turning to the wealth of experience on this 
 list in desperation.
 
 I’ve been using the lessons from  Matthias Rebbe and V4 of his handy 
 mrSignNotarizeHelper stack.
 Code signing seems to work fine but when I get to the Notarization step I 
 always get an
 "Error: HTTP status code: 401. Invalid credentials. Username or password 
 is incorrect.
 
 I’m on an M1 Mac with OS 13.4.1, Xcode 14.3.1 is installed, Livecode 9.6.9.
 
 So far, this is what I’ve tried with the same result
 
 1) Verified developer account in good status with Apple
 2) Multiple checks of my credentials (Apple ID, team ID, app-specific 
 password) on Apple's developer and ID sites,
 3) Multiple checks of my credentials in the parameters I’m using
 4) Setting up a new app specific password on my account
 5) Trying with a different Livecode application
 6 Trying everything manually in Terminal. (What is apparent is any 
 subcommands of NotaryTool (e.g. submit, store-credentials) using my 
 credentials fail with the same error.
 
 7) Repeat everything on a brand new user account on my Mac
 8) Sought help through devprogr...@apple.com
 
 
 I’ve done codesigning and notarization many times before with the same 
 developer account with no issues.
 What’s new here for me is using NotaryTool and the app-specific password.
 
 I realize this is a long shot but I’m stuck, so it would be great if 
 anyone has any suggestions for solving this problem (even some detail I 
 may have missed in the steps I’ve already taken)
 
 Thanks,
 
 Tim Bleiler, Ph.D.
 Instructional Designer, HSIT
 University at Buffalo
 







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


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

2023-08-06 Thread scott--- via use-livecode
@Mark:  I thought that “http” being reported in the error was weird when the 
constant used “https” but what do I know.

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

Thank you both!
—
Scott

> On Aug 6, 2023, at 7:29 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> On 8/6/23 18:04, 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 
>> <http://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!”)
> 
> Your constant uses "https" but the error message says "http"?
> That's weird.
> Have you tried using 192.99.207.157 instead? That should eliminate dns as a 
> variable.
> 
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 


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

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


tsNetGet() on android

2023-08-06 Thread scott--- via use-livecode
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


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

2023-07-14 Thread scott--- via use-livecode
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.

--
Scott Morrow

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

> On Jul 14, 2023, at 4:05 PM, 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


Re: Solved: Writing to Mac Application Support folder

2023-07-14 Thread scott--- via use-livecode
Hello Jacque,  I haven’t encountered this yet so I’m hoping to get some advice 
about how to proceed.  2 questions:

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? 

Thanks for the heads-up and recipe on how to create the folder.

--
Scott Morrow

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

> On Jul 10, 2023, at 1:11 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> 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: Solved: Writing to Mac Application Support folder

2023-07-14 Thread scott--- via use-livecode
Hello Jacque,  I haven’t encountered this yet so I’m hoping to get some advice 
about how to proceed.  2 questions:

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? 

Thanks for the heads-up and recipe on how to create the folder.

--
Scott Morrow

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

> On Jul 10, 2023, at 1:11 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> 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: Default cursor

2023-05-06 Thread scott--- via use-livecode
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


Re: Default cursor

2023-05-06 Thread scott--- via use-livecode
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)


> On May 6, 2023, at 2:05 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> 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


___
use-livecode mailing list
use-livecode@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 standalone with Xcode 13 and 14

2023-02-23 Thread scott--- via use-livecode
+1 

> On Feb 23, 2023, at 4:07 AM, panagiotis m via use-livecode 
>  wrote:
> 
> Thank you very much Matthias :)
> 
> Kind regards,
> Panos
> 
> On Thu, 23 Feb 2023 at 13:57, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hello,
>> 
>> with Xcode 13 Apple introduced a new command line tool (notarytool) which
>> makes Notarizing much easier and more convenient. At least i feel so. ;)
>> 
>> For those who are interested
>> There is a new lesson for Xcode 13 and 14 which describe the whole process.
>> The lesson also includes an updated version of my Helper stack.
>> 
>> 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
>> 
>> 
>> 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: OT - NotarizeHelper stack updated (Ventura fix and fix for deprecation message when using Xcode 14)

2023-02-12 Thread scott--- via use-livecode
Matthias, thank you so much for this tool. I find it so helpful.
--
Scott Morrow

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

> On Feb 12, 2023, at 3:38 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hello,
> 
> i've updated the mrSignNotarizeHelperV3 stack.
> 
> Under Ventura the automated process was aborted, because the app bundle and 
> all its files still had an empty extended attribute com.apple.provenance.
> This is fixed now
> 
> And users of Xcode 14 might have run into the problem that the automated 
> process was aborted right after the file was uploaded to Apple. This was 
> caused by a "deprecation message".
>>> Warning: altool has been deprecated for notarization and starting in late 
>>> 2023 will no longer be supported by the Apple notary service. You should 
>>> start using notarytool to notarize your software. <<
> This is also fixed. Thanks to Phil Davis for bringing this to my attention 
> and also for the fix. 
> 
> A newer version of the stack that make use of the notary tool is planned, but 
> as altool still can be used, it will take some time. But i plan to have it  
> available late 2023.
> 
> I've uploaded the fixed stack to the Livecode Lesson 
> https://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore
> 
> and also here
> 
> https://dl.qck.nu/?dl=mrSignNotarizeHelperV3_1.livecode
> 
> 
> Hope the stack is of use for one or the other.
> 
> Matthias
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Easy Android adaptive icons

2022-11-11 Thread scott--- via use-livecode
> But now I have no idea what icon to set for what iDevice in LC?

If you hover over the  […]   (used for selecting the file path) you will see a 
tool tip with the dimensions. (Or select the incorrect size and I believe it 
will warn you about what size it is expecting.)
--
Scott Morrow

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

> On Nov 11, 2022, at 3:31 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi all,
> 
> now that I have finally finished my stacks, I will be going to publish 
> the apps in the next time in the Apple Appstore and Google Play store.
> Yeah! :-)
> 
> However I still have to learn a lot about "mobile" stuff, like below, hope
> someone can help me out.
> 
>> Am 18.10.2022 um 23:19 schrieb J. Landman Gay via use-livecode 
>> :
>> 
>> For anyone struggling with Android adaptive icons, or who like me doesn't 
>> want to deal with Android Studio just to make a single icon, I found this:
>> 
>> https://easyappicon.com/
>> 
>> It does work and is quick and easy. The Android icons are all placed in a 
>> single folder and I think you can probably just point the Standalone 
>> Settings to that folder, though I renamed it "res" in case LC is looking for 
>> the Android Studio naming convention.
>> 
>> It also makes iOS icons which seem to come along automatically. Those are 
>> all in a second folder which you can ignore, trash, or use for cross 
>> platform development.
>> 
>> I tried several different online icon utilities and this one worked best for 
>> me.
>> 
>> -- 
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
> 
> Yep, I also used this for my icons.
> 
> But now I have no idea what icon to set for what iDevice in LC? See here: 
> 
> Prerendered icon? Que? 8-)
> 
> Any hints or advice very welcome, thank you.
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: [OT] new version of InstaMaker Windows /macOS Vine with support for x64 Installers

2022-10-12 Thread scott--- via use-livecode
Rats! My mistake.

I had meant to send this privately.
--
Scott Morrow

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


> On Oct 12, 2022, at 6:15 AM, scott--- via use-livecode 
>  wrote:
> 
> Hello Matthias,
> 
> I was away from my computer for while and so only recently able to test your 
> latest build. Unfortunately I was unable to get either one of them to build 
> an installer. 
> 
> First I tested the Wine packaged version of InstaMaker. Your custom icon 
> appeared correctly. The drag and drop did appear to work but I was never able 
> to get InstaMaker to finish processing. I was not sure if anything was  
> reported in "show details” after listing the contents of the folder that was 
> dropped because the InstaMaker window became unresponsive and never 
> relinquished control. I had to “Quit WineCX"… which of course made it 
> impossible to scroll the “show details” field. It did appear as if there 
> might have been something reported as the scroll bar seemed to have a good 
> bit of room to scroll.
> 
> Looking at the Apple utility “Activity Monitor.app” I notice that one of the 
> (multiple) wine64-preloader processes continued to run and consume 4.5 - 5.5% 
> of the CPU. After waiting some time  (5 or 10 minutes) I tried Quitting 
> InstaMaker. This appeared to work although in one case the wine processes 
> continued to be present in Activity Monitor. (In this instance, when 
> restarting the computer, the wine64-preloader processes kept the restart from 
> happening and needed to be force-quit.) I tested several times with similar 
> "user results” (the installer didn’t build and InstaMaker appeared to be 
> frozen with the indeterminant-progress indicator spinning. I restarted the 
> computer after several of the tests but this made no difference.
> 
> I had a similar experience when running InstaMaker inside Parallels Desktop 
> running a 64 bit version of Windows 10. InstaMaker’s indeterminant-progress 
> indicator began spinning and that was it. I restarted Windows and tried again 
> but with the same result.
> 
> I’m sorry that I don’t have happier (or more useful) information.
> 
> —
> Scott
> 
>> On Oct 11, 2022, at 3:01 AM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Hi again,
>> 
>> for those who might have downloaded the Wine version of InstaMaker and ran 
>> into an error saying that the app is damaged and should be moved into the 
>> Trash...
>> 
>> The DMG is okay, but due to the nature of the complete Wine file, which does 
>> not need Wine to be installed on your Mac, it is not notarized and some 
>> macOS versions come with this error message.
>> 
>> You could solve this by remove the quarantine attribut from the app.  To do 
>> this, open the Terminal.app and enter the following. 
>> 
>> sudo xattr -r -d com.apple.quarantine /path/to/MyApp.app
>> 
>> Replace /path/to/MyApp.app with the complete path to the Wine app. The 
>> easiest way is to type online
>> 
>> sudo xattr -r -d com.apple.quarantine   and then drag the app from finder 
>> windows into the terminal window. This copies the complete path to the 
>> command line.
>> 
>> There will be some errors saying that some files were not readable. You can 
>> ignore that. 
>> 
>> After that you can open the app without any error message.
>> 
>> Btw. there is a newer version of InstaMaker available with some bug fixing 
>> and improvements. Thanks to Scott Morrow for testing and feedback.
>> 
>> Windows
>> https://dl.qck.nu/?dl=InstaMaker_1.0.5_Setup.exe.zip
>> 
>> macOS Wine app
>> https://dl.qck.nu/?dl=InstaMaker_1.0.5.dmg 
>> <https://dl.qck.nu/?dl=InstaMaker_1.0.5.dmg>
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>>> Am 06.10.2022 um 21:46 schrieb matthias rebbe via use-
>> 
>> 
>> 
>>> ivecode :
>>> 
>>> Dear all,
>>> 
>>> i am happy to announce that an updated version of InstaMaker is available.
>>> InstaMaker is a Wrapper for Inno Setup, a free installer for Windows 
>>> programs.
>>> InstaMaker makes it easier to create Installers for your Livecode Windows 
>>> standalones with Inno Setup.
>>> 
>>> What is new
>>> - InstaMaker now allows to create also installers for Windows x64 
>>> applications on x64 editions of Windows
>>> - A new Wine version of InstaMaker for macOS is available. It allows t

Re: [OT] new version of InstaMaker Windows /macOS Vine with support for x64 Installers

2022-10-12 Thread scott--- via use-livecode
Hello Matthias,

I was away from my computer for while and so only recently able to test your 
latest build. Unfortunately I was unable to get either one of them to build an 
installer. 

First I tested the Wine packaged version of InstaMaker. Your custom icon 
appeared correctly. The drag and drop did appear to work but I was never able 
to get InstaMaker to finish processing. I was not sure if anything was  
reported in "show details” after listing the contents of the folder that was 
dropped because the InstaMaker window became unresponsive and never 
relinquished control. I had to “Quit WineCX"… which of course made it 
impossible to scroll the “show details” field. It did appear as if there might 
have been something reported as the scroll bar seemed to have a good bit of 
room to scroll.

Looking at the Apple utility “Activity Monitor.app” I notice that one of the 
(multiple) wine64-preloader processes continued to run and consume 4.5 - 5.5% 
of the CPU. After waiting some time  (5 or 10 minutes) I tried Quitting 
InstaMaker. This appeared to work although in one case the wine processes 
continued to be present in Activity Monitor. (In this instance, when restarting 
the computer, the wine64-preloader processes kept the restart from happening 
and needed to be force-quit.) I tested several times with similar "user 
results” (the installer didn’t build and InstaMaker appeared to be frozen with 
the indeterminant-progress indicator spinning. I restarted the computer after 
several of the tests but this made no difference.

I had a similar experience when running InstaMaker inside Parallels Desktop 
running a 64 bit version of Windows 10. InstaMaker’s indeterminant-progress 
indicator began spinning and that was it. I restarted Windows and tried again 
but with the same result.

I’m sorry that I don’t have happier (or more useful) information.

—
Scott

> On Oct 11, 2022, at 3:01 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi again,
> 
> for those who might have downloaded the Wine version of InstaMaker and ran 
> into an error saying that the app is damaged and should be moved into the 
> Trash...
> 
> The DMG is okay, but due to the nature of the complete Wine file, which does 
> not need Wine to be installed on your Mac, it is not notarized and some macOS 
> versions come with this error message.
> 
> You could solve this by remove the quarantine attribut from the app.  To do 
> this, open the Terminal.app and enter the following. 
> 
> sudo xattr -r -d com.apple.quarantine /path/to/MyApp.app
> 
> Replace /path/to/MyApp.app with the complete path to the Wine app. The 
> easiest way is to type online
> 
> sudo xattr -r -d com.apple.quarantine   and then drag the app from finder 
> windows into the terminal window. This copies the complete path to the 
> command line.
> 
> There will be some errors saying that some files were not readable. You can 
> ignore that. 
> 
> After that you can open the app without any error message.
> 
> Btw. there is a newer version of InstaMaker available with some bug fixing 
> and improvements. Thanks to Scott Morrow for testing and feedback.
> 
> Windows
> https://dl.qck.nu/?dl=InstaMaker_1.0.5_Setup.exe.zip
> 
> macOS Wine app
> https://dl.qck.nu/?dl=InstaMaker_1.0.5.dmg 
> 
> 
> Regards,
> Matthias
> 
> 
> 
>> Am 06.10.2022 um 21:46 schrieb matthias rebbe via use-
> 
> 
> 
>> ivecode :
>> 
>> Dear all,
>> 
>> i am happy to announce that an updated version of InstaMaker is available.
>> InstaMaker is a Wrapper for Inno Setup, a free installer for Windows 
>> programs.
>> InstaMaker makes it easier to create Installers for your Livecode Windows 
>> standalones with Inno Setup.
>> 
>> What is new
>> - InstaMaker now allows to create also installers for Windows x64 
>> applications on x64 editions of Windows
>> - A new Wine version of InstaMaker for macOS is available. It allows to 
>> create the Windows Installers directly on macOS.
>> 
>> Downloads:
>> macOS Wine version
>> https://dl.qck.nu/?dl=InstaMaker_1.0.4_RC1.app.zip
>> 
>> Windows x64
>> https://dl.qck.nu/?dl=InstaMaker_Setup_x64.exe
>> 
>> 
>> I would be very grateful if someone could test the new versions and would 
>> give some feedback if all works as expected.
>> 
>> 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 

Re: Is Anyone on the list still using macOS 10.11?

2022-06-27 Thread scott--- via use-livecode
Hello Matthias,
I have machines running 10.10.5  and a 10.7.5 if these would be of help.
--
Scott Morrow

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

> On Jun 27, 2022, at 5:26 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Hi,
> is there anyone on the list still using macOS 10.10 and would be willing to 
> test 2 or 3 sample apps for me.
> The apps are just with one answer dialog.
> 
> There seems to be a problem with standalones under macOS 10.10 that were code 
> signed with a Mac with Apple cpu (M1/M2).
> 
> The results of the testing would me help to enhance my LC Notarizing lesson.
> 
> 
> Regards,
> Matthias
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode








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


Re: No Android app icon with LC 9.6.6

2022-03-06 Thread scott--- via use-livecode
Hello Klaus,
Did you build with the Legacy icon type or the new Adaptive Icon type? I 
haven’t been able to reproduce an icon that I think looks as good using the 
Adaptive method but I am seeing icons on Android using both methods.
--
Scott Morrow

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


> On Mar 6, 2022, at 1:00 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi freinds,
> 
> I just spent some time to find out that Android APKs created with 
> LC version 9.6.6 do not show the app icon on an Android device!?
> 
> So I downloaded LC 9.6.5, created an APK and the app icon is shown again.
> Did not find an bug report for this, so I will create one.
> 
> Can someone confirm that this is fixed/works again in version 9.6.7?
> Thanks 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


Re: MobileVibrate

2022-02-28 Thread scott--- via use-livecode


>  I wish the docs would specify that you need to either include a library or a 
> permission for commands that require those.

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


Re: iphoneSafeAreaInsets()

2022-02-23 Thread scott--- via use-livecode
Thanks Ralph and Sean. I see where my expectations were wrong.
—
Scott


> On Feb 23, 2022, at 1:06 PM, Pi Digital via use-livecode 
>  wrote:
> 
> Hi there Scott. 
> 
> https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/adaptivity-and-layout/
> Layout Guides and Safe Areas
> 
> That will explain the safe areas as defined by Apple and implemented in the 
> library. 
> 
> Sean Cole
> Pi Digital Productions Ltd
> 
> eMail Ts & Cs
> 
> 
>> On 23 Feb 2022, at 20:29, scott--- via use-livecode 
>>  wrote:
>> 
>> Hmm… I had never noticed that mobileOrientation() and 
>> mobileDeviceOrientation() are different functions [ it doesn’t help that the 
>> documentation for mobileOrientation() seems to mistakenly refer to 
>> mobileDeviceOrientation() ] but mobileOrientation() seems like it should, 
>> unlike mobileDeviceOrientation(),  always be able to determine which side 
>> the notch is on.
>> 
>> —
>> Scott
>> 
>> 
>>> On Feb 23, 2022, at 12:15 PM, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> I was updating a library to use the new iphoneSafeAreaInsets() for retuning 
>>> the inset of the iPhoneX notch. I was surprised to see that it reports an 
>>> inset on both left and right sides when in landscape even though the notch 
>>> is only on one side. I would have expected an iPhone in landscape to report 
>>> an inset on the bottom (for the home indicator, which it does report) and 
>>> on whichever side the notch was actually on. While this can usually be 
>>> figured out with  mobileDeviceOrientation()  (though not always) it seems 
>>> like an extra step in addition to just being inaccurate about one side. Am 
>>> I missing something or should this be a bug?
>>> 
>>> --
>>> 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
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: iphoneSafeAreaInsets()

2022-02-23 Thread scott--- via use-livecode
Hmm… I had never noticed that mobileOrientation() and mobileDeviceOrientation() 
are different functions [ it doesn’t help that the documentation for 
mobileOrientation() seems to mistakenly refer to mobileDeviceOrientation() ] 
but mobileOrientation() seems like it should, unlike mobileDeviceOrientation(), 
 always be able to determine which side the notch is on.

—
Scott


> On Feb 23, 2022, at 12:15 PM, scott--- via use-livecode 
>  wrote:
> 
> I was updating a library to use the new iphoneSafeAreaInsets() for retuning 
> the inset of the iPhoneX notch. I was surprised to see that it reports an 
> inset on both left and right sides when in landscape even though the notch is 
> only on one side. I would have expected an iPhone in landscape to report an 
> inset on the bottom (for the home indicator, which it does report) and on 
> whichever side the notch was actually on. While this can usually be figured 
> out with  mobileDeviceOrientation()  (though not always) it seems like an 
> extra step in addition to just being inaccurate about one side. Am I missing 
> something or should this be a bug?
> 
> --
> 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


iphoneSafeAreaInsets()

2022-02-23 Thread scott--- via use-livecode
I was updating a library to use the new iphoneSafeAreaInsets() for retuning the 
inset of the iPhoneX notch. I was surprised to see that it reports an inset on 
both left and right sides when in landscape even though the notch is only on 
one side. I would have expected an iPhone in landscape to report an inset on 
the bottom (for the home indicator, which it does report) and on whichever side 
the notch was actually on. While this can usually be figured out with  
mobileDeviceOrientation()  (though not always) it seems like an extra step in 
addition to just being inaccurate about one side. Am I missing something or 
should this be a bug?

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


Re: Chart widget and axes which are time values.

2022-02-22 Thread scott--- via use-livecode
Okay, that totally didn’t work… including all the strike-out text. (sigh) Let 
me just say that I’m really liking the Cart widget, even if I can’t quite 
getting working for me yet.

—
Scott

> On Feb 22, 2022, at 6:23 PM, scott--- via use-livecode 
>  wrote:
> 
> Alex, I’m replying off list because my ulterior motive is to ask you a 
> question.
> 
> Argh.  I see, after re-reading your post, that my remarks are useless. 
> 
> I’ve been spending a bit of time trying to replace my old chartsEngine 
> library with the new chart widget. I haven’t tried any of the commands that 
> wrap JSON. So, ultimately I have no answer to your question. I’ve used the 
> more simplistic COMMA delimited [ set the csvData of widget "Chart" to 
> tCSVData ].  (The TAB delimited one seems to work also.)
> 
> One thing that sometimes made a difference about what displayed was using: [ 
> set the lockChartUpdates of widget "Chart" to “true” ] before messing with 
> the widget and then [ set the lockChartUpdates of widget "Chart" to “false” ] 
> when I was done.
> 
> I suspect that you have tried this already but...
> 
> Using [ put 
> "cats"&"19"&"dogs"&"12"&&"gerbils"&"5"&&"wombats"&"9"
>  into tCSVData ]  puts “cats, dogs, gerbils and wombats” along the X-axis for 
> me.
> 
> I found that:  [ set the dataLabels of widget "Chart" to 
> "Cats,Dogs,Gerbils,Wombats” ]  would also set the X-axis labels if it matched 
> up with the number of data points.
> 
> 
> My question for you, since you’ve been messing with the widget, is about 
> setting the alpha / transparency of the chartBackgroundColor property. Only 
> one time have I seen it work as expected from the property inspector and 
> never have I been able to produce a transparent background by script. I was 
> wondering if you had tried this property. (I posted about this in bugzilla 
> and the mothership asked me to create a separate bug report because it worked 
> fine for them… I don’t have a problem creating a bug report, it just seemed 
> odd that it absolutely doesn’t work for me.)
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> mobile   1-360-920-0715
> --
> 
> 
> 
> 
>> On Feb 22, 2022, at 5:54 AM, Alex Tweedly via use-livecode 
>>  wrote:
>> 
>> I've been trying to use the new chart widget, but no success yet.
>> 
>> All the charts I want to do have times (or dates) along the X axis.
>> 
>> I can see that any options which have not been wrapped in LC can be set by 
>> doing something like:
>> 
>>   put the chartJSONOptions of widget "mine" into tA
>>   put "time" into tA["scales"]["x"]["type"]
>>   set the chartJSONOptions of widget "mine" to tA
>> 
>> but this still gives me
>> 
>>Error: This method is not implemented:
>>Check that a complete date adapter is provided.
>> 
>> 
>> and I have no idea how to provide a date adapter from LC.
>> 
>> Has anyone else tried date/times with more success ?
>> 
>> (The chart.js documentation implies there is a default adapter - so nothing 
>> should need to be done. It also talks about installing JS libraries for 
>> other adapters - but I don't quite get it).
>> 
>> Thanks,
>> 
>> 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: Chart widget and axes which are time values.

2022-02-22 Thread scott--- via use-livecode
Alex, I’m replying off list because my ulterior motive is to ask you a question.

Argh.  I see, after re-reading your post, that my remarks are useless. 

I’ve been spending a bit of time trying to replace my old chartsEngine library 
with the new chart widget. I haven’t tried any of the commands that wrap JSON. 
So, ultimately I have no answer to your question. I’ve used the more simplistic 
COMMA delimited [ set the csvData of widget "Chart" to tCSVData ].  (The TAB 
delimited one seems to work also.)

One thing that sometimes made a difference about what displayed was using: [ 
set the lockChartUpdates of widget "Chart" to “true” ] before messing with the 
widget and then [ set the lockChartUpdates of widget "Chart" to “false” ] when 
I was done.

I suspect that you have tried this already but...

Using [ put 
"cats"&"19"&"dogs"&"12"&&"gerbils"&"5"&&"wombats"&"9"
 into tCSVData ]  puts “cats, dogs, gerbils and wombats” along the X-axis for 
me.

I found that:  [ set the dataLabels of widget "Chart" to 
"Cats,Dogs,Gerbils,Wombats” ]  would also set the X-axis labels if it matched 
up with the number of data points.


My question for you, since you’ve been messing with the widget, is about 
setting the alpha / transparency of the chartBackgroundColor property. Only one 
time have I seen it work as expected from the property inspector and never have 
I been able to produce a transparent background by script. I was wondering if 
you had tried this property. (I posted about this in bugzilla and the 
mothership asked me to create a separate bug report because it worked fine for 
them… I don’t have a problem creating a bug report, it just seemed odd that it 
absolutely doesn’t work for me.)

--
Scott Morrow

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




> On Feb 22, 2022, at 5:54 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> I've been trying to use the new chart widget, but no success yet.
> 
> All the charts I want to do have times (or dates) along the X axis.
> 
> I can see that any options which have not been wrapped in LC can be set by 
> doing something like:
> 
>put the chartJSONOptions of widget "mine" into tA
>put "time" into tA["scales"]["x"]["type"]
>set the chartJSONOptions of widget "mine" to tA
> 
> but this still gives me
> 
> Error: This method is not implemented:
> Check that a complete date adapter is provided.
> 
> 
> and I have no idea how to provide a date adapter from LC.
> 
> Has anyone else tried date/times with more success ?
> 
> (The chart.js documentation implies there is a default adapter - so nothing 
> should need to be done. It also talks about installing JS libraries for other 
> adapters - but I don't quite get it).
> 
> Thanks,
> 
> 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: Question about organization of large projects

2022-02-05 Thread scott--- via use-livecode
I’m not entirely sure what your structure is or what you want to accomplish as 
far as stack organization.  In the IDE,  specialFolderPath("resources") returns 
the path to the current stack's folder. 

If your supporting stack files are scattered around your hard drive then this 
would make the task of locating a specific folder using  
specialFolderPath(“resources") more difficult in the IDE. If your support 
stacks are, for instance, all organized inside a support folder next to the 
splash stack then something like what you had in mind would work. For instance:


-- assumes this is not being called by the splash stack but 
-- by one of the supporting stack files inside the support folder
-- which is next to the splash stack
function resPath 
put specialFolderPath("resources") into tPath
if the environment is "development" then
 -- put the itemDel into tOriginalItemDel
set the itemDel to SLASH
delete item -1 of tPath
-- set the itemDel to tOriginalItemDel -- tidy up
end if  
return (tPath & "/mydataFolder")
end resPath


In a standalone, specialFolderPath("resources") always returns the path to the 
folder where files or folders specified in the Standalone Builder are located. 
On MacOS this is inside the (splash stack’s) .app bundle… even if the current 
stack is a free-floating stack file located wherever.

—
Scott

> On Feb 4, 2022, at 8:21 PM, prothero--- via use-livecode 
>  wrote:
> 
> Scott:
> Hmm…. I have different stacks in subdirectories of the splash stack. I hadn’t 
> realized that all stacks should be in one top directory. That true? The 
> specialFolderpath(“Resources”) seems to be relative to each stack, so, in my 
> case, if a stack is in a folder that is in the specialFolder path of the 
> splash stack, it will have a different specialfolderpath than the splash 
> stack.
> 
> I haven’t actually built an app to test whether the resources path is the 
> same in all stacks after build. 
> 
> Wow. So does that mean that all of the stacks in an app should be in the same 
> directory in the dev environment? If not, that seem to complicate navigation 
> during development.
> 
> Ok, thinking….. so for development, I would need to do something like:
> 
> function resPath
>if the environment contains “Development” then
>   put specialFolderPath("resources”)&”/mydataFolder" into dataPath
>   else
>   put 
> specialFolderPath(“resources”)&”/dirSplashStackisin/pathToThisStack“&”/mydataFolder"
>  into dataPath
>   end if  
>   return dataPath
> end resPath
> 
> In other words, all app paths would be relative to the splash stack.
> 
> Is that right?
> 
> Bill
> 
>> On Feb 4, 2022, at 8:41 PM, scott--- via use-livecode 
>>  wrote:
>> 
>> Hello Bill,
>> 
>> Are you seeing that the stack files have a different “resources” path in the 
>> IDE ? This is expected behavior if the stacks are in different directories. 
>> The “resources” path in the IDE is the folder that the stack lives in. 
>> However, once everything is made into a standalone the “resources” path 
>> should be the same for all stacks opened by the app… even stacks that are 
>> not bundled with the standalone. The app should always report the same path.
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --
>> 
>> 
>>> On Feb 4, 2022, at 4:56 PM, ELS Prothero via use-livecode 
>>>  wrote:
>>> 
>>> Folks,
>>> Rather than thrashing around on this, I am asking for some general guidance.
>>> 
>>> I am working on a large project that has a splash stack, some stacks that 
>>> do things, and some of those stacks access data contained in the app. It’s 
>>> a project I built at least 10 years ago and, of course, it needs to be 
>>> 64bit.  I’m revising the navigation between different stacks and making 
>>> other additions. I have set the stack locations in the stackfiles property 
>>> of the splash stack. These filepaths are constructed according to the 
>>> development folder that contains the project.  The required data file ares 
>>> specified in the stack settings preferences of the development environment. 
>>> 
>>> So, I notice that the specialfolderpath(“resources”) returns different 
>>> paths, depending on which of the project stacks calls it. So, my

Re: Question about organization of large projects

2022-02-04 Thread scott--- via use-livecode
Hello Bill,

Are you seeing that the stack files have a different “resources” path in the 
IDE ? This is expected behavior if the stacks are in different directories. The 
“resources” path in the IDE is the folder that the stack lives in. However, 
once everything is made into a standalone the “resources” path should be the 
same for all stacks opened by the app… even stacks that are not bundled with 
the standalone. The app should always report the same path.

--
Scott Morrow

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


> On Feb 4, 2022, at 4:56 PM, ELS Prothero via use-livecode 
>  wrote:
> 
> Folks,
> Rather than thrashing around on this, I am asking for some general guidance.
> 
> I am working on a large project that has a splash stack, some stacks that do 
> things, and some of those stacks access data contained in the app. It’s a 
> project I built at least 10 years ago and, of course, it needs to be 64bit.  
> I’m revising the navigation between different stacks and making other 
> additions. I have set the stack locations in the stackfiles property of the 
> splash stack. These filepaths are constructed according to the development 
> folder that contains the project.  The required data file ares specified in 
> the stack settings preferences of the development environment. 
> 
> So, I notice that the specialfolderpath(“resources”) returns different paths, 
> depending on which of the project stacks calls it. So, my idea is to maybe 
> set up all of the paths to the data in the splash stack using 
> specialfolderpath as a base location. This worries me a bit because I’d like 
> the various pieces of the project to be modular, so I could use them easily 
> in other projects.
> 
> Question: should I set all paths of stacks and data in the splash stack? 
> Also, do you have any suggestions on the use of specialfolderpath, where it’s 
> appropriate when other stacks are in that path?
> 
> Thanks for pointing me to a resource to help me understand and optimize this, 
> or give suggestions. 
> 
> Best,
> Bill
> 
> William Prothero
> https://earthlearningsolutions.org
> 
>> On Feb 3, 2022, at 12:55 PM, General 2018 via use-livecode 
>>  wrote:
>> 
>> Update  Success.
>> 
>> Tried everything, then read a post that pointed to :-
>> Apple Worldwide Developer Relations Certification Authority Cert
>> Developer ID Certification Authority Cert
>> 
>> In Keychain my existing expired 2027, I downloaded and installed the latest 
>> expiring 2030/2031 - re run mrSign and notarization success.
>> 
>> Status = Success 0 
>> Status Code = Pac 
>> Status Message = Age Approved
>> 
>> Regards
>> Camm
>> 
>>> On 29 Jan 2022, at 22:41, matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>> Hm, interesting. Seems to be a problem with a wrong or missing timestamp. 
>>> So maybe adding --timestamp parameter will fix this.
>>> 
>>> Could you please change the following lines in the stack script of the 
>>> NotarizeHelper stack and try again after that?
>>> 
>>> 
>>> line 904
>>> put "codesign --deep --force --verify --verbose --sign 
>>> ##developerIDApplication## --options runtime  --entitlements 
>>> ##entitlementsplist## ##myapp##" into tShell
>>> with this line
>>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>>> ##developerIDApplication## --options runtime  --entitlements 
>>> ##entitlementsplist## ##myapp##" into tShell
>>> 
>>> 
>>> 
>>> line 908
>>> put "codesign --deep --force --verify --verbose --sign 
>>> ##developerIDApplication## --options runtime ##myapp##" into tShell
>>> with
>>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>>> ##developerIDApplication## --options runtime ##myapp##" into tShell
>>> 
>>> line 953
>>> put "codesign --deep --force --verify --verbose --sign 
>>> ##developerIDApplication## --options runtime ##myDMG##" into tShell
>>> with
>>> put "codesign --timestamp --deep --force --verify --verbose --sign 
>>> ##developerIDApplication## --options runtime ##myDMG##" into tShell
>>> 
>>> 
> Am 29.01.2022 um 22:17 schrieb General 2018 via use-livecode 
> :
 
 Tried all these, result the same.
 
 In show “Notarization requests” for each :-
 
 Status = invalid 2
 Status Code = Pac
 Status Message = age invalid
 
 Regards Camm
 
>> On 29 Jan 2022, at 20:37, matthias rebbe via use-livecode 
>>  wrote:
> 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, 

Re: Lost the variables and errors panel in script editor

2022-01-07 Thread scott--- via use-livecode
This happens to me from time to time but I have yet to find a good recipe. My 
solution has always been to delete the LC preferences file.
--
Scott Morrow

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

> On Jan 7, 2022, at 3:21 PM, Michael Lew via use-livecode 
>  wrote:
> 
> I'm feeling frustrated and silly as I'm a long time user and this problem 
> should have a trivially easy solution.
> 
> The script editor was too tall to fit on my screen and so I made it shorter 
> with 'set the height of window "revNewScriptEditor 1" to 800. That worked OK 
> but the errors and variables panes that usually show at the bottom of the 
> window are now gone. How do I get them back?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@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: Wordle

2022-01-07 Thread scott--- via use-livecode
Very nice. Thanks, Ali !

> On Jan 7, 2022, at 2:53 AM, Ali Lloyd via use-livecode 
>  wrote:
> 
> Many of you will no doubt already be addicted to the game 'Wordle' (if not,
> prepare to be: https://www.powerlanguage.co.uk/wordle/) - the only problem
> with it is that you only get one per day to solve. So I have taken the
> liberty of making an unlimited version (in LC of course)
> https://alilloyd.livecodehosting.com/wordle/wordle.html
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: chartsEngine bug with version 10 of LC

2021-12-29 Thread scott--- via use-livecode
> (If they are equal: then the 2nd chars, etc.)


Ah, that was the helpful piece of information I required. I didn’t realize it 
worked through the string one ASCII character at a time (with neither side 
being a “number” anymore.)

(With the exception of upper and lower case characters having different ascii 
but evaluating as equivalent.)

Whew! I knew I had both consumed coffee and taken a nap. I was about ready to 
ask you to use smaller words.  :- )

One of the things that was throwing me (though I’m sure everyone else was 
rolling their eyes) was the

> > “9foo”  >  9
> 
> Because "9" = "9" ... but "f" > “”

because, if I’m understanding this correctly, it is really evaluated as 59 = 59 
 …. 102 <> empty

I like that "-1” < empty  AND 1 > empty  BUT  0 isn’t lesser/greater/equal to 
empty.  I’m not sure why this whole string comparison issue hasn’t come up for 
me before but I’m sure that you will all be thankful that I’m ready to move on 
to my next question... why is it that the socks I put into the wash aren’t 
always equivalent  to the socks that come out of the dryer. A rounding issue?

—
Scott


> On Dec 28, 2021, at 10:23 PM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Scott:
> 
> > So you are saying that if the first char of the string is a number
> 
> No! There is no number.
> Don't think about numbers. :)
> Both sides are text in your comparison.
> 
> > it uses the ascii value of the first char?
> 
> Always! Because both sides are text.
> Two text strings. No numbers.
> 
> LC compares the FIRST CHAR of each text.
> (If they are equal: then the 2nd chars, etc.)
> 
> > “9foo”  >  9
> 
> Because "9" = "9" ... but "f" > "".
> 
> If you want a numerical comparison,
> both sides must be numbers!
> 
> Once you have two dots, or an "f" etc, it's a string.
> And if either side is text, the comparison is textual.
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> WordLib: Import MS Word and OpenOffice documents in LiveCode!
> http://livecodeaddons.com/wordlib.html
> 
> Christian LiveCode Training and Consulting
> http://livecodeconsulting.com/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: chartsEngine bug with version 10 of LC

2021-12-28 Thread scott--- via use-livecode
Hello Curry,
I’m still puzzled.  So you are saying that if the first char of the string is a 
number then it uses the number but if the first char is not a number then it 
uses the ascii value of the first char?  It seems like there is more to it than 
that. Obviously we wouldn’t expect“9foo”  =  9  to evaluate to “true”  and 
why then would “9foo"  >  9  return “true” ?  I’m not trying to solve any 
current programming issue with this question… just curious.

Thanks


> On Dec 28, 2021, at 7:56 PM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Scott:
> 
> > I’m still a little unclear about exactly what is going on here.
> 
> Because you are NOT comparing numbers.
> You are comparing (like sorting) text.
> 
> That usually means: the FIRST CHAR of each string.
> (The ASCII/ANSI/etc values of those chars.)
> 
> > put “7.foo” < 9 -- returns “true”
> 
> Because "7" < "9".
> 
> > put “77.foo” < 9 -- returns “true”
> 
> Because "7" < "9". (FIRST CHAR)
> 
> I just looked at WordLib's code:
> it's already coded correctly!
> Ready for LC version 10 or LC 1000.
> 
> (Going way back, I was already cautious
> about these dotted-version comparisons.)
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> WordLib: Import MS Word and OpenOffice documents in LiveCode!
> http://livecodeaddons.com/wordlib.html
> 
> Christian LiveCode Training and Consulting
> http://livecodeconsulting.com/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: chartsEngine bug with version 10 of LC

2021-12-28 Thread scott--- via use-livecode
I’m still a little unclear about exactly what is going on here.

put “foo” < 9 -- returns “false”
put “foo” > 9 -- returns “true”

put “9foo” < 9 -- returns “false”
put “9foo” > 9 -- returns “true”

put “9.foo” < 9 -- returns “false”
put “7.foo” < 9 -- returns “true”
put “77.foo” < 9 -- returns “true”
put “9.foo” > 9 -- returns “true”
put “7.foo” > 9 -- returns “false”
put “77.foo” > 9 -- returns “false”

--
Scott Morrow

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

> On Dec 28, 2021, at 9:27 AM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> 
> Scott:
> 
> > why "9.6.6-rc-1” evaluates as not less than 5
> > but "10.0.0-dp-1” evaluates to less than 5.
> 
> That's the tricky thing about dotted versions;
> easy to forget and set up a text comparison:
> 
> "9" > "5"
> "1" < "5"
> 
> Once you have two dots, or an rc/dp, it's a string.
> They seem to compare perfectly...until you pass 9.
> That's why I used integer versions for some libs.
> 
> "10.0.0" < "5"
> 
> (I should check my code too; thanks for this reminder!)
> 
> Best wishes,
> 
> Curry Kenworthy
> 
> WordLib: Import MS Word and OpenOffice documents in LiveCode!
> http://livecodeaddons.com/wordlib.html
> 
> Christian LiveCode Training and Consulting
> http://livecodeconsulting.com/


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


Re: tmc2 hacks

2021-12-28 Thread scott--- via use-livecode
I have not been modding tmc2 but I do still use some of those slick objects. (I 
have modded a few of the gauges in Scott's older tmgauges project.  :- )

> On Dec 27, 2021, at 8:24 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> tmc2 still gives me better ui's than native widgets do.
> i have been messing with it for a while, including experimenting with
> breaking it into SOS's to see if i can get it to play nicely with levure.
> today's conversation about keyboards on mobile reminded me that it would be
> good to add some of those properties.
> has anyone else been modding/hacking tmc2?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: chartsEngine bug with version 10 of LC

2021-12-28 Thread scott--- via use-livecode
I mistyped Björnke’s name; it is “Björnke von Gierke"

> On Dec 28, 2021, at 2:27 AM, scott--- via use-livecode 
>  wrote:
> 
> 
> I’ve encountered a problem with the third-party LiveCode product chartsEngine 
> now reporting that LiveCode < version 10.0.0 (dp 1) >  is not a high enough 
> version number. (AnimationEngine was reporting a similar error which I was 
> able to fix since the scripts are open.)  ChartsEngine is, however,  locked. 
> Originally written by Malte Brill, the current owner is, I believe, Björnke 
> von GierkeI. I’ve tried contacting him but haven’t heard anything. Anyone 
> else pondering this issue? I use chartsEngine in two commercial mobile apps 
> so I’m hoping to work out a solution rather than rebuild the charting layout 
> portion of these apps once building with 10.x versions of LC is required. 
> 
> And just for my own curiosity, (this is what I encountered in animationEngine 
> so I’m assuming something similar in chartsEngine) I’m interested in an 
> explanation (rather than my own guess) for why   "9.6.6-rc-1” evaluates as 
> not less than 5  but "10.0.0-dp-1” evaluates to less than 5 .
> 
> --
> 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


chartsEngine bug with version 10 of LC

2021-12-28 Thread scott--- via use-livecode

I’ve encountered a problem with the third-party LiveCode product chartsEngine 
now reporting that LiveCode < version 10.0.0 (dp 1) >  is not a high enough 
version number. (AnimationEngine was reporting a similar error which I was able 
to fix since the scripts are open.)  ChartsEngine is, however,  locked. 
Originally written by Malte Brill, the current owner is, I believe, Björnke von 
GierkeI. I’ve tried contacting him but haven’t heard anything. Anyone else 
pondering this issue? I use chartsEngine in two commercial mobile apps so I’m 
hoping to work out a solution rather than rebuild the charting layout portion 
of these apps once building with 10.x versions of LC is required. 

And just for my own curiosity, (this is what I encountered in animationEngine 
so I’m assuming something similar in chartsEngine) I’m interested in an 
explanation (rather than my own guess) for why   "9.6.6-rc-1” evaluates as not 
less than 5  but "10.0.0-dp-1” evaluates to less than 5 .

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


Re: nsPropertyMapper Revision 4

2021-12-19 Thread scott--- via use-livecode
The one that is downloading from Sample Stacks still claims to be revision 3.

Scott Morrow
-
“The ability to quote is a serviceable substitute for wit.”
-  William Somerset Maugham 

> On Dec 19, 2021, at 3:18 PM, Neville Smythe via use-livecode 
>  wrote:
> 
> Sigh. Revision 4 fixes a bug: placing an image with the ImagePicker didn’t 
> work, Something I thought I tested just before I uploaded Rev3. I really have 
> angered Blind IO this year.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Universal Button widget on Android

2021-11-22 Thread scott--- via use-livecode
I tried using Ralf Bitter’s Universal Button widget to create a PopOver sheet 
(like what we can get with mergPopSheet on iOS) for use on Android.  I was very 
pleased with how it worked in the IDE. In very short order I had a nice looking 
(and working) PopOver… until I actually ran it on Android. It looks like it 
might be an AcceleratedRendering issue but fiddling with that isn’t improving 
things. (It displays as an unrecognizable blur of checkerboard patterns… and 
doesn’t respond to touches.) Has anyone used this widget successfully on 
Android?

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


Re: Android tap location doesn't match visual location

2021-11-20 Thread scott--- via use-livecode
Bug 23459


> On Nov 20, 2021, at 5:34 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> Hi Scott - the touch coords being wrong sounds like a bug to me - can you 
> file a report (with example stack if possible).
> 
> Thanks!
> 
> Mark.

___
use-livecode mailing list
use-livecode@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 tap location doesn't match visual location

2021-11-20 Thread scott--- via use-livecode
Will do.
—
Scott

> On Nov 20, 2021, at 5:34 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> Hi Scott - the touch coords being wrong sounds like a bug to me - can you 
> file a report (with example stack if possible).
> 
> Thanks!
> 
> Mark.
> 
> Sent from my iPhone
> 
>> On 20 Nov 2021, at 12:04, scott--- via use-livecode 
>>  wrote:
>> 
>> Just answering my own question in case anyone searches this later. 
>> 
>> This was kind of a forehead slapper when I finally saw it. There was a 
>> native UIScroller over part of the screen. None of the other buttons on the 
>> screen were inside the rectangle of the scroller, so they weren’t effected. 
>> The scroller was being disabled while the fake dialog was on the screen and 
>> this worked fine for iOS but in my case at least, it is problematic for 
>> Android. My solution for now is to either leave the scroller active on 
>> Android (not a great UI but tolerable) or delete the scroller while the fake 
>> dialog is showing and rebuild the scroller after the fake dialog is 
>> dismissed… which is probably the better solution. I’m not sure why the 
>> disabled Android scroller is offsetting the touch when the iOS scroller is 
>> not. Maybe it is a bug and I’m the first person to put a disabled scroller 
>> over a button…more likely it is something that I’m doing wrong when I create 
>> the scroller.
>> — Scott Morrow
>> 
>>> On Nov 20, 2021, at 1:05 AM, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> Jacque, that is pretty much what I’m doing (except that my semi-transparent 
>>> screen graphic is separate from the fake dialog group.) I agree that this 
>>> approach normally works well. I don’t have as much experience on Android so 
>>> I wondered if it had something to do with the platform. Apparently it is 
>>> something I’m doing.
>>> 
>>> Brian, I will try your suggestion of isolating and breaking the process 
>>> down in order to determine where the issue lies. I was just feeling lazy 
>>> and hoping to save myself some work.  :-)
>>> 
>>> 
>>>>> On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode 
>>>>>  wrote:
>>>> 
>>>> I've done several fake dialogs. The trick is to group the dialog with a a 
>>>> semi-transparent full screen graphic layered behind the dialog group. 
>>>> Greying the screen is normal behavior on Android and works on iOS too. The 
>>>> graphic has blocker mouse handlers so clicking it does nothing. That way 
>>>> you can script the dialog buttons to respond themselves. The user needs to 
>>>> click one of the buttons to make the dialog go away, at which point you 
>>>> hide the group.
>>>> 
>>>> The buttons can put the response in the dialogData, which is a built in 
>>>> mechanism to transfer custom messages to a script, or else you can put the 
>>>> response in a global or a custom property.
>>>> 
>>>> --
>>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>>> HyperActive Software | http://www.hyperactivesw.com
>>>>> On November 19, 2021 10:49:57 PM scott--- via use-livecode 
>>>>>  wrote:
>>>> 
>>>>> I’m having trouble with an app that up until now has just been for iOS. 
>>>>> Most of the changes have been pretty straight forward but I’ve 
>>>>> encountered a specific case where touching a button doesn’t pass the 
>>>>> touch message to the button being tapped… unless I touch significantly 
>>>>> below the button (I also had to switch from mouse messages to touch 
>>>>> messages in this particular case.) This is not a general issue. It only 
>>>>> happens when I show a group  containing the buttons in question and while 
>>>>> this group is displayed there is repeat loop running that includes  “wait 
>>>>> with messages” (I’m faking a modal dialog.) I encountered this once 
>>>>> before under the same circumstances (a fake modal dialog while moving an 
>>>>> iOS app to Android) and simply switched to using the built in dialog. 
>>>>> Unfortunately, that won’t work in this case.  Any thoughts?
>>>>> 
>>>>> --
>>>>> Scott Morrow
>>>>> 
>>>>> Elementary Software
>>>>> (Now with 20% less chalk dust!)
>>>>> web   https://elementarysoftware.com/
>>>>> email sc...@element

Re: Android tap location doesn't match visual location

2021-11-20 Thread scott--- via use-livecode
Just answering my own question in case anyone searches this later. 

This was kind of a forehead slapper when I finally saw it. There was a native 
UIScroller over part of the screen. None of the other buttons on the screen 
were inside the rectangle of the scroller, so they weren’t effected. The 
scroller was being disabled while the fake dialog was on the screen and this 
worked fine for iOS but in my case at least, it is problematic for Android. My 
solution for now is to either leave the scroller active on Android (not a great 
UI but tolerable) or delete the scroller while the fake dialog is showing and 
rebuild the scroller after the fake dialog is dismissed… which is probably the 
better solution. I’m not sure why the disabled Android scroller is offsetting 
the touch when the iOS scroller is not. Maybe it is a bug and I’m the first 
person to put a disabled scroller over a button…more likely it is something 
that I’m doing wrong when I create the scroller.
— Scott Morrow

> On Nov 20, 2021, at 1:05 AM, scott--- via use-livecode 
>  wrote:
> 
> Jacque, that is pretty much what I’m doing (except that my semi-transparent 
> screen graphic is separate from the fake dialog group.) I agree that this 
> approach normally works well. I don’t have as much experience on Android so I 
> wondered if it had something to do with the platform. Apparently it is 
> something I’m doing.
> 
> Brian, I will try your suggestion of isolating and breaking the process down 
> in order to determine where the issue lies. I was just feeling lazy and 
> hoping to save myself some work.  :-)
> 
> 
>> On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> I've done several fake dialogs. The trick is to group the dialog with a a 
>> semi-transparent full screen graphic layered behind the dialog group. 
>> Greying the screen is normal behavior on Android and works on iOS too. The 
>> graphic has blocker mouse handlers so clicking it does nothing. That way you 
>> can script the dialog buttons to respond themselves. The user needs to click 
>> one of the buttons to make the dialog go away, at which point you hide the 
>> group.
>> 
>> The buttons can put the response in the dialogData, which is a built in 
>> mechanism to transfer custom messages to a script, or else you can put the 
>> response in a global or a custom property.
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On November 19, 2021 10:49:57 PM scott--- via use-livecode 
>>  wrote:
>> 
>>> I’m having trouble with an app that up until now has just been for iOS. 
>>> Most of the changes have been pretty straight forward but I’ve encountered 
>>> a specific case where touching a button doesn’t pass the touch message to 
>>> the button being tapped… unless I touch significantly below the button (I 
>>> also had to switch from mouse messages to touch messages in this particular 
>>> case.) This is not a general issue. It only happens when I show a group  
>>> containing the buttons in question and while this group is displayed there 
>>> is repeat loop running that includes  “wait with messages” (I’m faking a 
>>> modal dialog.) I encountered this once before under the same circumstances 
>>> (a fake modal dialog while moving an iOS app to Android) and simply 
>>> switched to using the built in dialog. Unfortunately, that won’t work in 
>>> this case.  Any thoughts?
>>> 
>>> --
>>> 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: Android tap location doesn't match visual location

2021-11-20 Thread scott--- via use-livecode
Jacque, that is pretty much what I’m doing (except that my semi-transparent 
screen graphic is separate from the fake dialog group.) I agree that this 
approach normally works well. I don’t have as much experience on Android so I 
wondered if it had something to do with the platform. Apparently it is 
something I’m doing.

Brian, I will try your suggestion of isolating and breaking the process down in 
order to determine where the issue lies. I was just feeling lazy and hoping to 
save myself some work.  :-)


> On Nov 19, 2021, at 10:45 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I've done several fake dialogs. The trick is to group the dialog with a a 
> semi-transparent full screen graphic layered behind the dialog group. Greying 
> the screen is normal behavior on Android and works on iOS too. The graphic 
> has blocker mouse handlers so clicking it does nothing. That way you can 
> script the dialog buttons to respond themselves. The user needs to click one 
> of the buttons to make the dialog go away, at which point you hide the group.
> 
> The buttons can put the response in the dialogData, which is a built in 
> mechanism to transfer custom messages to a script, or else you can put the 
> response in a global or a custom property.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On November 19, 2021 10:49:57 PM scott--- via use-livecode 
>  wrote:
> 
>> I’m having trouble with an app that up until now has just been for iOS. Most 
>> of the changes have been pretty straight forward but I’ve encountered a 
>> specific case where touching a button doesn’t pass the touch message to the 
>> button being tapped… unless I touch significantly below the button (I also 
>> had to switch from mouse messages to touch messages in this particular 
>> case.) This is not a general issue. It only happens when I show a group  
>> containing the buttons in question and while this group is displayed there 
>> is repeat loop running that includes  “wait with messages” (I’m faking a 
>> modal dialog.) I encountered this once before under the same circumstances 
>> (a fake modal dialog while moving an iOS app to Android) and simply switched 
>> to using the built in dialog. Unfortunately, that won’t work in this case.  
>> Any thoughts?
>> 
>> --
>> 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


Re: Android tap location doesn't match visual location

2021-11-19 Thread scott--- via use-livecode
Oh for… 

I was unclear in the body of my original post. This is only occurring on 
Android. Not iOS or in the IDE.

> On Nov 19, 2021, at 8:47 PM, scott--- via use-livecode 
>  wrote:
> 
> I’m having trouble with an app that up until now has just been for iOS. Most 
> of the changes have been pretty straight forward but I’ve encountered a 
> specific case where touching a button doesn’t pass the touch message to the 
> button being tapped… unless I touch significantly below the button (I also 
> had to switch from mouse messages to touch messages in this particular case.) 
> This is not a general issue. It only happens when I show a group  containing 
> the buttons in question and while this group is displayed there is repeat 
> loop running that includes  “wait with messages” (I’m faking a modal dialog.) 
> I encountered this once before under the same circumstances (a fake modal 
> dialog while moving an iOS app to Android) and simply switched to using the 
> built in dialog. Unfortunately, that won’t work in this case.  Any thoughts?
> 
> --
> 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


Android tap location doesn't match visual location

2021-11-19 Thread scott--- via use-livecode
I’m having trouble with an app that up until now has just been for iOS. Most of 
the changes have been pretty straight forward but I’ve encountered a specific 
case where touching a button doesn’t pass the touch message to the button being 
tapped… unless I touch significantly below the button (I also had to switch 
from mouse messages to touch messages in this particular case.) This is not a 
general issue. It only happens when I show a group  containing the buttons in 
question and while this group is displayed there is repeat loop running that 
includes  “wait with messages” (I’m faking a modal dialog.) I encountered this 
once before under the same circumstances (a fake modal dialog while moving an 
iOS app to Android) and simply switched to using the built in dialog. 
Unfortunately, that won’t work in this case.  Any thoughts?

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


Re: Mudslinging and consequences - a change to our policy

2021-10-27 Thread scott--- via use-livecode
+1

> On Oct 27, 2021, at 5:30 AM, chipsm themartinz.com via use-livecode 
>  wrote:
> 
> Thankyou Heather.
> I use the List to learn and explore new concepts using LiveCode. I find 
> myself spending a lot time these days deleting many post that are meaningless 
> because of these needless Rants.
> I use or try to use LiveCode because it is so versatile and exciting.
> I'd like to spend my time exploring and learning and not deleting useless 
> post.
> 
> Sincerely,
> Clarence Martin
> Email: chi...@themartinz.com
> Cell: (626)696-5561
> 
> -Original Message-
> From: use-livecode  On Behalf Of 
> Heather Laine via use-livecode
> Sent: Wednesday, October 27, 2021 5:00 AM
> To: How to use LiveCode 
> Cc: Heather Laine 
> Subject: Mudslinging and consequences - a change to our policy
> 
> Dear List Folks,
> 
> This list is intended for users to help each other in the use of LiveCode. 
> Sometimes LC staff get involved and help out here also. It can be a great 
> place to constructively discuss improvements. It is not a place to take 
> potshots at each other, at LiveCode or at LiveCode staff. In the future, if a 
> list member is perceived to be doing this by myself or by a reasonable set of 
> other list members, they will be banned. 
> 
> For the avoidance of doubt, by taking potshots I mean:
> 
> Accusations of untruths, lying or lack of integrity Persistently pointing out 
> flaws in LiveCode without any positive suggestions on resolution Namecalling 
> of any kind General rudeness - please re-read your post before sending and 
> check it for tone
> 
> Everyone is entitled to their opinion. What everyone is not entitled to do is 
> express unfounded negative opinions about LiveCode and its staff on this 
> list, which is run by LiveCode, for LiveCode, and for the benefit of 
> LiveCode's users.
> 
> I trust I make myself clear. This warning will not be repeated. 
> 
> Warmest Regards,
> 
> Heather
> 
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.com
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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 release notes mean what they say

2021-10-16 Thread scott--- via use-livecode
Outstanding!
--
Scott Morrow

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

> On Oct 16, 2021, at 2:24 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> When the release notes say "XCode 12.5" they mean it. XCode 12.5.1 is no good 
> and crashes on older iThings.
> 
> Then shalt thou count to 12.5, no more, no less. 12.5 shall be the number 
> thou shalt count, and the number of the counting shall be 12.5. 12.5.1 shalt 
> thou not count, neither count thou 11.3, excepting that thou then proceed to 
> 12.5. 12.6 is right out.
> 
> -- 
> 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


Re: iOS 15 and Xcode Cant Install app

2021-10-01 Thread scott--- via use-livecode
This lesson tells how to code sign, notarize and staple a Mac app... and also 
has a link to  Mathias Rebbe’s great app 

 that automates the process.

https://lessons.livecode.com/m/4071/l/1122100-codesigning-and-notarizing-your-lc-standalone-for-distribution-outside-the-mac-appstore

--
Scott Morrow

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

> On Oct 1, 2021, at 5:51 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> I found that the app would open on my own. machine but not on anyone else's. 
> Signing, notarizing, and stapling is a manual process you have to do after 
> the app is built, generally using terminal. Matthias Rebbe has a great 
> utility that handles all that for you. I'm not able to get the link right now 
> but maybe he'll see this.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On October 1, 2021 3:24:38 PM Ralph DiMola via use-livecode 
>  wrote:
> 
>> I would assume it's signed and notarized. It installed on my Mac Mini 
>> running iOS 12.x just fine. From what I could find that this may be caused 
>> by signing on Catalina not the iOS SDK version. Apparently building on Big 
>> Sur with Xcode 12.4 is OK(until 4/2022). This might be a back-door way to 
>> get us to buy a new Mac now. It worked on me, I'm getting a M1 Mac Mini.
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
>> Of J. Landman Gay via use-livecode
>> Sent: Friday, October 01, 2021 3:57 PM
>> To: How to use LiveCode
>> Cc: J. Landman Gay
>> Subject: Re: iOS 15 and Xcode Cant Install app
>> 
>> Is it signed and notarized? I think that's what the error means.
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | 
>> http://www.hyperactivesw.com On September 30, 2021 7:38:38 PM Ralph DiMola 
>> via use-livecode  wrote:
>> 
>>> I built an ad-hoc iOS app using Catalina 10.15.7 Xcode 12.4 and LC
>>> 9.6.3. A tester tried to install and got ("App name" Needs to be
>>> updated. The developer of this app need to update it to work with this
>>> version of iOS) I know this was brought up on the list but was there a 
>>> resolution?
>>> From the Apple developer site: “Starting April 2022, all iOS and
>>> iPadOS apps submitted to the App Store must be built with Xcode 13 and the 
>>> iOS 15 SDK”
>>> Xcode 12.4 has the iOS 14.4 SDK so I should be OK until 4/2022. The
>>> tester had a pre installed version the app that used the iOS 13 SDK
>>> built last year that ran OK until they tried to install the new app.
>>> Could this be an LC issue (plist?) or did Apple change the rules? It
>>> seems that the older SDKs will run but just can't be installed. Is this an 
>>> ad-hoc app only problem??
>>> I've seen conflicting info while doing some searches.
>>> Does anyone know?
>>> Thanks in advance
>>> 
>>> Ralph DiMola
>>> IT Director
>>> Evergreen Information Services
>>> rdim...@evergreeninfo.net
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: "Unknown error." in LC when trying to test to connected ios device

2021-09-15 Thread scott--- via use-livecode
As  J. Landman Gay once pointed out, sometimes it comes down to figuring out 
what color chicken to sacrifice. The other day I encountered something similar 
to what you are describing that was a new one for me. (I don’t recall the exact 
issue because I encountered several and they are mixed up in my mind now.) But 
one error was actually the result of checking the "build for iOS” button but 
forgetting to uncheck the “build for Android” button. I was surprised that LC 
couldn’t figure that out based on the target device but, unchecking “build for 
Android” solved it. Hoping you find that it is something simple and not the 
chicken thing.

--
Scott Morrow

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

> On Sep 15, 2021, at 1:58 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> Mac OS 11.5.2
> LC 9.6.2
> XCode 12.1
> I choose a device from the Development->Test Target menu, then select
> Development->Test
> We get as far as the app getting signed, and then the error is thrown.
> I'm pretty sure the certs and profiles are current, since I manually
> removed them and then used XC to reinstall them.
> Suggestions?
> 
> -- 
> 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: Sorting text is *VERY* slow in LC9 on Windows (Re: Accumulating text is *VERY* slow in LC9 on Windows)

2021-09-10 Thread scott--- via use-livecode
Yes, it did mention cheese... but it was entirely on topic and about LiveCode. 
(How could Mom not approve.)
--
Scott Morrow

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

> On Sep 10, 2021, at 11:15 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> You're talking about cheese. I'm telling Mom. Nyah.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On September 10, 2021 8:42:48 AM Trevor DeVore via use-livecode 
>  wrote:
> 
>> On Fri, Sep 10, 2021 at 8:15 AM Mark Waddingham via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> On 2021-09-10 14:06, Mark Waddingham via use-livecode wrote:
>>> > The windows heap is much more prudent than UNIXy counterparts it would
>>> > seem - where UNIX heaps will happily leave plenty of free space (which
>>> > the heaps know about and thus can re-use), Windows appears to avoid
>>> > that like the plague (which I'm sure is the case for lots of
>>> > historical reasons and backwards compatibility). [ To give a very
>>> > rough analogy, the map of used space in a heap on windows is like a
>>> > block of cheddar; whereas on UNIXy systems it will be like a block of
>>> > edam ].
>>> 
>>> I of course meant 'Swiss', not 'Edam'!
>> 
>> 
>> Thanks for the clarification. I feel like I have a decent understanding of
>> cheeses, but I couldn’t figure out how cheddar and edam were different in
>> this analogy :-)
>> 
>> --
>> Trevor DeVore
>> ScreenSteps
>> 
>>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: randomSeed maximum length

2021-09-09 Thread scott--- via use-livecode
Thank you, Mark.  That confirms the issue (and workaround) I was having when 
using the millisec to set the randomSeed.
--
Scott Morrow

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

> On Sep 9, 2021, at 12:38 AM, Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2021-09-09 08:25, scott--- via use-livecode wrote:
>> Does the randomSeed have a maximum length?
>> Meaning, if the length of the provided number exceeds the maximum
>> length, does the provided number get truncated or dismissed or… ?
> 
> Its a signed 32-bit integer - so range is -2147483648 to 2147483647.
> 
> Numbers outside of this appear to end up setting it to -2147483648.
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps


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


randomSeed maximum length

2021-09-09 Thread scott--- via use-livecode
Does the randomSeed have a maximum length?  

Meaning, if the length of the provided number exceeds the maximum length, does 
the provided number get truncated or dismissed or… ?

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


NSLocationAlwaysUsageDescription missing from Info.plist

2021-08-04 Thread scott--- via use-livecode
I’m using LC 9.6.3 (stable) Business on Mac BigSur

After using Transporter to load an update for an iOS app into AppStore Connect 
I got the usual notice about "Missing Push Notification Entitlement - Your app 
appears to register with the Apple Push Notification service…” which is 
annoying but not problematic. 

Unfortunately I also got this next one which I thought had been resolved a 
while back.

"Missing Purpose String in Info.plist - Your app's code references one or more 
APIs that access sensitive user data. The app's Info.plist file should contain 
a NSLocationAlwaysUsageDescription key with a user-facing purpose string 
explaining clearly and completely why your app needs the data.”

Am I misremembering? I thought all of those keys and related generic strings 
were now being included during the build. Do we still need to modify the 
Info.plist ?  

None of these keys (or the explanation strings) were present in my Info.plist:

NSLocationAlwaysAndWhenInUseUsageDescription
NSLocationAlwaysUsageDescription
NSLocationWhenInUseUsageDescription

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


Re: First LC engine in 64bit?

2021-07-24 Thread scott--- via use-livecode
LiveCode 8.0 allowed building a 64 bit standalone (with some audio recording 
and video capture limits)


> On Jul 24, 2021, at 1:50 PM, JeeJeeStudio via use-livecode 
>  wrote:
> 
> Hallo mein freund,
> 
> 
> according the downloads page 9.5.0.
> 
> 
> Groetjes!
> 
> Jerry (Sphere)
> 
> 
> Op 24-7-2021 om 19:06 schreef Klaus major-k via use-livecode:
>> Hi all,
>> 
>>> Am 24.07.2021 um 18:57 schrieb Klaus major-k via use-livecode 
>>> :
>>> 
>>> Hi friends,
>>> 
>>> the subject says it all, anyone happen to know the answer?
>>> Thanks in advance!
>>> 
>>> 
>>> Best
>>> 
>>> Klaus
>> of course I mean the Mac version of LC.
>> 
>> 
>> --
>> 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: MouseDoubleUp in a datagrid

2021-07-09 Thread scott--- via use-livecode
Hello Bob,

Using Martin’s idea I put this into a frontScript and it allowed the 
“mouseDoubleUp” to get caught. (Make sure you are referencing the correct 
dataGrid… this script is specific to "DataGrid 1")

on selectionChanged
   if ("DataGrid 1" is in the target) then
  wait 5 millisec with messages
   else
  pass selectionChanged
   end if 
end selectionChanged

on mouseDoubleUp
   answer "mouseDoubleUp"
end mouseDoubleUp


--
Scott Morrow

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



> On Jul 9, 2021, at 4:16 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi
> 
> I am interested in the answer to this too.   I wonder if is this something 
> that you could use a frontScript for? I haven’t really used frontScripts so I 
> am not quite sure whether this would work.  
> The idea I thought of is could you have a mouseDoubleUp handler in the front 
> script and have a condition as shown in the following pseudocode
> 
> if the target is your datagrid then
> call a handler that you wanted mouseDoubleUp handler to call, 
> else
> pass mouseDoubleUp.  
> end if 
> 
> 
> I would think that since the frontScript gets the mouseDoubleUp first it 
> would handle it there before the selectionChanged messages are handled in the 
> Datagrid itself.  Whats more if the target is the data grid and there is not 
> a pass mouseDoubleUp command in the Lines of code after the if clause then 
> mouseDoubleUp has been handled and that message will not make it to the 
> DataGrid.Is that a correct understanding of how the two could be made to 
> achieve there result that Bob Wants?
> 
> Martin Koob
> 
> 
>> On Jul 9, 2021, at 5:03 PM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Hi all. 
>> 
>> I want to handle mouseDoubleUp in a datagrid WITHOUT triggering 
>> SelectionChanged. What is happening now is that selectionChanged gets sent 
>> twice before mouseDoubleUp gets sent. Setting a delay in mouseDoubleUp or 
>> mouseUp won't work because selectionChanged gets sent BEFORE those messages. 
>> 
>> Any ideas? 
>> 
>> Bob S
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode









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


Re: What happened to mobilePickDate ??

2021-06-16 Thread scott--- via use-livecode
I forgot to include this link to a brief discussion of the changed date picker 
in iOS 14

https://blog.prototypr.io/dear-product-designers-this-is-new-in-ios-14-e70035083cc

--
Scott Morrow

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

> On Jun 15, 2021, at 9:11 PM, Dan Friedman via use-livecode 
>  wrote:
> 
> Has anyone tried mobilePickDate in LC 9.6.2?   On both a phone and tablet, 
> you don't get a picker!   It popups a dialog that contains the date (or 
> time).  Then you have to tap the date/time and then you get the most tiny 
> date (or time) editor.  Is this the new Apple Guidline for picking a 
> date/time??   Can't be!   This must be a bug.   And, on an iPhone, it's so 
> far to the bottom of the screen, it's barely usable!Anyone have any 
> insight on this?
> 
> -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: What happened to mobilePickDate ??

2021-06-16 Thread scott--- via use-livecode
On my iPhone 12 the initial date/time appears so far at the bottom of the 
screen it is partially covered by the Home Indicator. Agreed that this 
position… or needing to tap the tiny date/time at the bottom of the screen at 
all,  is now incorrect. I wonder if this is caused by a recent change in iOS 
that LC hasn’t adapted to yet.

--
Scott Morrow

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

> On Jun 15, 2021, at 9:11 PM, Dan Friedman via use-livecode 
>  wrote:
> 
> Has anyone tried mobilePickDate in LC 9.6.2?   On both a phone and tablet, 
> you don't get a picker!   It popups a dialog that contains the date (or 
> time).  Then you have to tap the date/time and then you get the most tiny 
> date (or time) editor.  Is this the new Apple Guidline for picking a 
> date/time??   Can't be!   This must be a bug.   And, on an iPhone, it's so 
> far to the bottom of the screen, it's barely usable!Anyone have any 
> insight on this?
> 
> -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: 9.6.0 simulator issue

2021-05-09 Thread scott--- via use-livecode
Paul,
I have taken to doing exactly what you describe. Additionally, I am in the 
habit of waiting for the iOS simulator to load before I even launch LiveCode… 
though this step may be superstition.
--
Scott Morrow

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

> On May 8, 2021, at 8:31 PM, Paul Hibbert via use-livecode 
>  wrote:
> 
> The process I use:
> 
> One time process for each Xcode version/update:
> Launch Xcode > Open the Simulator(s) that I want to use.
> Add the Simulator app(s) to the dock — Right Click on the Simulator Icon in 
> the Dock while it’s open and choose “Keep in dock”.
> Quit Xcode.
> 
> From then on, whenever I’m working on an iOS app, I launch the simulator from 
> the dock and wait until it fully loads before testing from LC, no need to 
> launch Xcode and no messages from LC saying the simulator is taking too long 
> to load. It’s still not a quick process until the simulator is open, but it 
> does seem more reliable to me.
> 
> When you update to the next version of Xcode, it is necessary to clean out 
> the old simulators from the dock and make new Dock entries, but that’s not 
> too much hassle in comparison to the time saving.
> 
> Paul
> 
> 
>> On 8May, 2021, at 5:45 AM, Mark Smith via use-livecode 
>>  wrote:
>> 
>> In order,
>> 
>> Re-started Xcode, invoked the Simulator
>> Waited for the simulator to boot
>> Re-loaded LC, loaded my app
>> Pressed the test button. 
>> 
>> That is being really rigorous about it, but sometimes I have found if that 
>> the sequence is messed up in some way you’ll see the C++ exception error. 
>> That’s when I do the above and so far (knock on wood) it has always got 
>> things going again. 
>> 
>>> On May 7, 2021, at 7:41 PM, Mike Kerner via use-livecode 
>>>  wrote:
>>> 
>>> what do you mean - reloaded as in reinstalled xcode or just restarted LC?
>>> 
>>> On Fri, May 7, 2021 at 2:39 PM Mark Smith via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 Hi Mike,
 
 I have seen this problem as well, rebooted, reloaded everything and it
 worked. You might want to try that. Simulator first, then load the app and
 try the Test button.
 
 Mark
 
> On May 7, 2021, at 7:28 PM, Mike Kerner via use-livecode <
 use-livecode@lists.runrev.com> wrote:
> 
> Since 9.6.2 is giving me issues, I decided to try the simulator in 9.6.0.
> That is giving me
> "Unable to start simulator: 634,0,0,unknown
> C++ exception
> 573,263,1,revPhoneSetSimulatorSDK"
> 
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
> and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> 
>>> 
>>> -- 
>>> On the first day, God created the heavens and the Earth
>>> On the second day, God created the oceans.
>>> On the third day, God put the animals on hold for a few hours,
>>> and did a little diving.
>>> And God said, "This is good."
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Close & remove from memory - Engine hang

2021-05-07 Thread scott--- via use-livecode
Paypal account or not, if Matthias is a bot we need to figure out how to spawn 
more instances.
--
Scott Morrow

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

> On May 7, 2021, at 1:31 PM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> Matthias:
> 
> > Believe me i am real. I purchased every library
> > you've created in the past, so i must be real.
> 
> Not necessarily! You could be a "bot" with a Paypal account.
> But I am not prejudiced; human or not, you're a valued customer. :)








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


Re: App fails to launch after code signing

2021-04-25 Thread scott--- via use-livecode
Adding the entitlement did the trick (I thought that I had tried it already but 
apparently not.) Oddly, I found that if I just swapped the revzip.bundle with 
one from an earlier version of LC I was able to build it without entitlements. 
Thanks for the help.
—Scott

ps. Out of curiosity, what might cause the app/installer to change if it were 
launched before signing?

> On Apr 25, 2021, at 5:43 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Also, you don’t want to test the app/installer before signing it—that could 
> cause things to fail.
> 
> Peter
> 
>> On Apr 25, 2021, at 4:44 PM, scott--- via use-livecode 
>>  wrote:
>> 
>> Thanks for that pointer, Phil. It is suggestive of where I should start 
>> digging first.
>> 
>> —
>> Scott
>> 
>>> On Apr 25, 2021, at 6:43 AM, Jimmieson, Phil via use-livecode 
>>>  wrote:
>>> 
>>> Hi Scott,
>>> 
>>> I had something similar with an app that uses revZip. Have a look at this 
>>> discussion on livecode’s bug reporter site:
>>> 
>>> 
>>> https://quality.livecode.com/show_bug.cgi?id=23176
>>> 
>>> Sent from my iPhone
>>> 
>>> On 25 Apr 2021, at 11:38, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 
>>> (rc 5) which is what I had been using. And it worked… which is great but I 
>>> have no idea why.
>>> 
>>> —
>>> Scott
>>> 
>>> 
>>> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode 
>>>  wrote:
>>> 
>>> I have created a standalone Mac app. It launches and works as expected. The 
>>> problem is that after code signing it (though it throws a few errors they 
>>> seem to all be ones that are generally regarded as bogus error messages) 
>>> the app fails to launch.
>>> 
>>> It reports success for code signing, notarization and staplication.
>>> I’m using a lightly modified version of  Matthias Rebbe’s great  < 
>>> mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. 
>>> Checking with the terminal shows:
>>> 
>>> "valid on disk”
>>> "satisfies its Designated Requirement"
>>> 
>>> When I look in the console I see this happens when the app tries to launch:
>>> 
>>> "AddInstanceForFactory: No factory registered for id >> 0x7fae534148a0> F8BB1C28-BAE8-11D6-9C31-00039315CD46”
>>> 
>>> This app uses the following inclusions (added manually)
>>> tsNet
>>> mergJSON
>>> Revolution Zip
>>> Internet
>>> DataGrid
>>> 
>>> The Googles seem to indicate that it is associated with AV stuff (primarily 
>>> audio) but my app doesn’t do anything like that. Any ideas what this might 
>>> mean?
>>> 
>>> --
>>> 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
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: App fails to launch after code signing

2021-04-25 Thread scott--- via use-livecode
Thanks for that pointer, Phil. It is suggestive of where I should start digging 
first.

—
Scott

> On Apr 25, 2021, at 6:43 AM, Jimmieson, Phil via use-livecode 
>  wrote:
> 
> Hi Scott,
> 
> I had something similar with an app that uses revZip. Have a look at this 
> discussion on livecode’s bug reporter site:
> 
> 
> https://quality.livecode.com/show_bug.cgi?id=23176
> 
> Sent from my iPhone
> 
> On 25 Apr 2021, at 11:38, scott--- via use-livecode 
>  wrote:
> 
> I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 
> (rc 5) which is what I had been using. And it worked… which is great but I 
> have no idea why.
> 
> —
> Scott
> 
> 
> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode 
>  wrote:
> 
> I have created a standalone Mac app. It launches and works as expected. The 
> problem is that after code signing it (though it throws a few errors they 
> seem to all be ones that are generally regarded as bogus error messages) the 
> app fails to launch.
> 
> It reports success for code signing, notarization and staplication.
> I’m using a lightly modified version of  Matthias Rebbe’s great  < 
> mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking 
> with the terminal shows:
> 
> "valid on disk”
> "satisfies its Designated Requirement"
> 
> When I look in the console I see this happens when the app tries to launch:
> 
> "AddInstanceForFactory: No factory registered for id  
> F8BB1C28-BAE8-11D6-9C31-00039315CD46”
> 
> This app uses the following inclusions (added manually)
>   tsNet
>   mergJSON
>   Revolution Zip
>   Internet
>   DataGrid
> 
> The Googles seem to indicate that it is associated with AV stuff (primarily 
> audio) but my app doesn’t do anything like that. Any ideas what this might 
> mean?
> 
> --
> 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
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: App fails to launch after code signing

2021-04-25 Thread scott--- via use-livecode
I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 (rc 
5) which is what I had been using. And it worked… which is great but I have no 
idea why.

—
Scott


> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode 
>  wrote:
> 
> I have created a standalone Mac app. It launches and works as expected. The 
> problem is that after code signing it (though it throws a few errors they 
> seem to all be ones that are generally regarded as bogus error messages) the 
> app fails to launch. 
> 
> It reports success for code signing, notarization and staplication.
> I’m using a lightly modified version of  Matthias Rebbe’s great  < 
> mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking 
> with the terminal shows:
> 
> "valid on disk”
> "satisfies its Designated Requirement"
> 
> When I look in the console I see this happens when the app tries to launch:
> 
> "AddInstanceForFactory: No factory registered for id  
> F8BB1C28-BAE8-11D6-9C31-00039315CD46”
> 
> This app uses the following inclusions (added manually)
>  tsNet
>  mergJSON
>  Revolution Zip
>  Internet
>  DataGrid
> 
> The Googles seem to indicate that it is associated with AV stuff (primarily 
> audio) but my app doesn’t do anything like that. Any ideas what this might 
> mean?
> 
> --
> 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


App fails to launch after code signing

2021-04-25 Thread scott--- via use-livecode
I have created a standalone Mac app. It launches and works as expected. The 
problem is that after code signing it (though it throws a few errors they seem 
to all be ones that are generally regarded as bogus error messages) the app 
fails to launch. 

It reports success for code signing, notarization and staplication.
I’m using a lightly modified version of  Matthias Rebbe’s great  < 
mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking 
with the terminal shows:

"valid on disk”
"satisfies its Designated Requirement"

When I look in the console I see this happens when the app tries to launch:

"AddInstanceForFactory: No factory registered for id  
F8BB1C28-BAE8-11D6-9C31-00039315CD46”

This app uses the following inclusions (added manually)
  tsNet
  mergJSON
  Revolution Zip
  Internet
  DataGrid

The Googles seem to indicate that it is associated with AV stuff (primarily 
audio) but my app doesn’t do anything like that. Any ideas what this might mean?

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


Re: IOS required SDK

2021-04-23 Thread scott--- via use-livecode
I did it the other way around (just last month!) I set up a VM (Parallels) for 
running Catalina for older 32 bit apps. I was primarily trying to get my older 
Adobe CS6 apps to work… though even with all the original disks (and a drive), 
reinstalling ancient apps turned out to be more problematic than I had hoped. 
So maintaining your current install and doing a VM for 64bit makes more sense 
to me now.
--
Scott Morrow

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

> On Apr 23, 2021, at 2:43 PM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Thanks Paul, I was wondering about a VM. I've scanned Oracle's docs for all 
> of 10 minutes but it looks a bit complicated. Did you need to partition your 
> hard drive? It also says to put the OS intaller on a DVD but of course we 
> don't have DVD drives any more. Does the mounted OS install image work?
> 
> On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote:
>> On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote:
>>> Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 
>>> 32-bit software, I'm still on Mojave. Does this mean I need to update to 
>>> Big Sur or Catalina before I can build for iOS?
>>> 
>>> I don't suppose there's any way to do it on Mojave? I've been dreading 
>>> this...
>>> 
>> I run Mojave on a Macbook Pro and use VirtualBox to have a Catalina and Big 
>> Sur VMs as I too have 32 bit software I want to be able to continue to run. 
>> I do macOS development under Mojave and only use the Catalina and/or Big Sur 
>> VMs for testing or builds (if for some reason I need to check a build under 
>> one of those OSes. Both Catalina and Big Sur work with VirtualBox. VMs are 
>> of course slower, but he ability to back them up, clone them, restore to a 
>> specific save point and such I think outweigh  the speed as a developer tool.
>> ___
>> use-livecode mailing list
>> use-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


___
use-livecode mailing list
use-livecode@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 get the path to the 'My Livecode' or the plugins folder?

2021-03-31 Thread scott--- via use-livecode
Matthias, when I didn’t see you at the Zoom “coffee break” during Panos' 
Livecode Advanced course (on just this topic) I assumed that it was because you 
were using that time to create such a tool.  :- )

—
Scott

> On Mar 31, 2021, at 9:48 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Thanks Bob for the "reminder" about Devolution and its custom1 buttons.
> 
> 
> I needed it to load a plugin right after i've built a standalone. Yesterdays 
> discussion "New idea for Standalones" led me there.
> I want to automatically sign and notarize a MacOS standalone without any 
> additional user interaction right away after it was built.
> 
> For this i am using the standaloneSaved message. In this handler i am 
> calling/opening my NotarizeHelper stack, give all needed information to the 
> stack (just the path to the app bundle and the desired action) and start the 
> notarization process.  So no need anymore to do this manually after the 
> standalone build process. ;)
> 
> This works now w/o a problem. I am now enhancing the script to code sign also 
> Windows standalones under macOS using osslsigncode. I have alreay an help app 
> for this, but i would prefer to get it done also right after the standalone 
> building process.
> 
> So if i get/have this working, I can build standalones and code sign / 
> notarize them with only one click.
> 
> Regards,
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 31.03.2021 um 02:25 schrieb Bob Sneidar via use-livecode 
>> :
>> 
>> Which is what you have to do to add a plugin to Devolution. Someone turned 
>> me on to this:
>> 
>> eg. I have in the Custom 1 script:
>> 
>> on mouseUp
>>  -- Your custom code goes here:
>>  put revenvironmentuserpluginspath() & "/" into tPluginsPath
>>  put tPluginsPath & "Navigator.rev" into tFilePath
>>  go stack tFilePath
>>  go stack (the defaultStack)
>> end mouseUp
>> 
>> 
>> On Mar 29, 2021, at 4:40 PM, Mark Wieder via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> On 3/29/21 4:06 PM, matthias rebbe via use-livecode wrote:
>> Dear all,
>> is there a way to get the path to the 'My Livecode' or the 'Plugins' folder?
>> Searched now for more than 40 minutes and did not find anything about it?
>> Is there maybe a hidden variable / property available for this?
>> 
>> Not well documented, but...
>> 
>> put revEnvironmentUserPluginsPath()
>> 
>> --
>> 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


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


Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread scott--- via use-livecode
In the video, when you switch tools between Browse and Pointer your cursor does 
not change to reflect this. Not sure whether this visual anomaly  is actually 
happening on your system or if your cursor is being altered by the video screen 
capture software.

Putting the answer dialog inside the mouseEnter handler does make it difficult 
to select.   :- )

—
Scott

> On Mar 30, 2021, at 1:10 PM, Jim Lambert via use-livecode 
>  wrote:
> 
> Actually I'm not entirely crazy.
> Here is a MOV showing the anomalous   behavior of mouse events executing even 
> when the Pointer Tool is active.
> 
> https://netrin.on-rev.com/videos/lc_select_issue.mov 
> 
> 
> This is intermittent. I don't have a reliable way of reproducing. If I did 
> I'd file a bug report or attach an example stack to Klaus' report.
> Sometimes it is solved by closing and re-opening LC or a different version of 
> LC.
> 
> Odd.
> 
> Jim Lambert
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread scott--- via use-livecode
I DO remember SuperEdit.  So fast!  But it was a completely “dead” development 
environment. You had to leave it in order to get any messages, IIRC.
—
Scott


> On Mar 29, 2021, at 4:26 PM, Jim Lambert via use-livecode 
>  wrote:
> 
>> Paul wrote:
>> 
>> This is not a bug, but a feature. Our app contains a specialized network 
>> drawing tool and we switch to the pointer tool to allow the user to 
>> interact with drawn objects
> 
> I'd respectfully suggest that is a fringe use case when compared to authoring 
> in the LC IDE.
> Every time I click on a button in the IDE with the pointer tool in order to 
> select and, say, move it, I'd prefer if the mousedown/up scripts didn't fire 
> off because I'm editing the UI not running it. If I recall correctly this was 
> not how LC/Revolution originally behaved.
> 
> Richard, remember SuperEdit? Very much about authoring.
> 
> Jim Lambert
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: New(?) Idea for Standalones

2021-03-29 Thread scott--- via use-livecode
That symbol probably means it was compiled to run on an older (Motorola ?) 
processor… similar to what happens if you have a 32 bit app on Big Sur.
—
Scott

> On Mar 29, 2021, at 3:29 PM, Alex Tweedly via use-livecode 
>  wrote:
> 
> 
> On 29/03/2021 22:11, Roger Guay via use-livecode wrote:
>> Thanks, Alex. Unfortunately it comes up with the “No Entry” sign on this 
>> machine.
>> 
>> Roger
> 
> I'm not exactly sure what message this is, or when it happens. But this 
> sounds like "Fortunately, ..." because I think it means you have an app that 
> hits a brickwall of permission on your own machine - so we can look at it in 
> more detail without bothering your wife's many multiple windows.
> 
> It's hard to describe these things in words - hence my suggestion of a Zoom 
> call where you can screen-share and let others watch (and suggest) while you 
> try it. If you want to try that with just me, please do (I'm unavailable for 
> the next hour, but free from approx 00:30 - 01:30 UK time), or tomorrow 
> almost any time, given some notice).
> Or contact me off-list and we'll find a time.
> Or suggest a time and someone else might be able to join in and help.
> 
> There are lots of motivated people wanting to help - or to find out what 
> they're going to need to tell their own users when those users upgrade to a 
> later MacOS. :-)
> 
> 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: New(?) Idea for Standalones

2021-03-29 Thread scott--- via use-livecode
Oops, meant to send that off-list.
—
Scott


> On Mar 29, 2021, at 3:33 PM, scott--- via use-livecode 
>  wrote:
> 
> Hello Roger,
> 
> I made a standalone from an empty stack (and one button that does nothing.)  
> It is 64 bit Mac. It is zipped. It isn’t in a DMG or any sort of installer. 
> It is NOT code signed. I have been using this app to test how opening 
> non-signed Mac Apps work. After (finally) opening the app I can throw it away 
> and double click the zipped original to get another app that hasn’t been 
> approved  if I want to try the process again.
> 
> You can find this app here:
> 
> http://traditionaltaekwondo.org/test/Testeroni.app.zip
> 
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> mobile   360-920-0715
> --
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: New(?) Idea for Standalones

2021-03-29 Thread scott--- via use-livecode
Hello Roger,

I made a standalone from an empty stack (and one button that does nothing.)  It 
is 64 bit Mac. It is zipped. It isn’t in a DMG or any sort of installer. It is 
NOT code signed. I have been using this app to test how opening non-signed Mac 
Apps work. After (finally) opening the app I can throw it away and double click 
the zipped original to get another app that hasn’t been approved  if I want to 
try the process again.

You can find this app here:

http://traditionaltaekwondo.org/test/Testeroni.app.zip


--
Scott Morrow

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








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


Re: New(?) Idea for Standalones

2021-03-28 Thread scott--- via use-livecode

I may have described it incorrectly. After re-testing here on OS 11.2.3  I 
found that it required two tries. Trying to open it the first time meets with 
failure. But Right clicking and choosing “Open” the second time gives a second 
dialog that will allow it to open.

—
Scott

> On Mar 28, 2021, at 2:58 PM, Roger Guay via use-livecode 
>  wrote:
> 
> Nope! Right clicking on a standalone I’m trying to share with my wife on her 
> iMac w OS 11.2 results in this menu: Open Attachment - Quick Look Attachment 
> - Save Attachment…. - Save to Downloads Folder - Share - Copy - Speech
> 
> Then, clicking on the “Open Attachment” menu item results in the same 
> response I reported earlier: a simple screen with this message: You do not 
> have permission to open the application “StackOmatic”. “Contact your computer 
> or network administrator for assistance” with a simple “OK” button. Dead end 
> as before!
> 
> Further, at Kelly's suggestion to try and adjust settings in the Security and 
> Privacy System Preferences to downgrade standards to allow a one time 
> opening, I found nothing of the sort. 
> 
> So at this point, I think Kelly’s idea of someone with Apple credentials 
> building a certified standalone that runs stacks is the only short term 
> solution. If it helps, I and probably others, would be willing to pay a 
> reasonable fee for such gem. Otherwise, I and anyone else wanting to share 
> stacks, will have to jump through the increasingly ridiculous hoops that 
> Apple (and Windows?) place before us. OTH….
> 
> Ultimately, I really think that a LiveCodeLight app that runs stacks without 
> the IDE would be the best way to go to share stacks with friends, family and 
> colleagues.
> 
> Roger
> 
> 
> 
>> On Mar 28, 2021, at 12:24 AM, scott--- via use-livecode 
>>  wrote:
>> 
>> Kelly is correct. While holding down the control key, click and hold (or 
>> right click) to get an additional menu allowing you to choose to open the 
>> app.
>> —
>> Scott 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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