RE: Can you almost hear me now? (AAC app underway)

2024-04-29 Thread Ralph DiMola via use-livecode
Curry,

Great! Looking forward to it.

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 
Curry Kenworthy via use-livecode
Sent: Monday, April 29, 2024 11:13 AM
To: use-livecode@lists.runrev.com
Cc: Curry Kenworthy
Subject: Can you almost hear me now? (AAC app underway)


Good news: I’m working on a custom AAC app in LC, set up for everything – 
speech, plus all types of writing, including LC coding. (Yes, for writing its 
own code too.)

Eventually this should get me back to doing LC phone calls and video tutoring 
again, maybe even some YouTube or an LC conference talk, after several VERY 
quiet years of strictly text-only work!

But the first phase will still be mainly email - as things gradually start 
rolling, the AAC will allow me to contribute more to discussions here again, 
discuss addon plans and progress, and reconnect with people.

Not much choice; harder to type OR talk lately, all at the SAME time. So I had 
to up my game, swim different or sink.

Good thing is, I’ll probably publish the app to give people a different, more 
efficient low-input method and flexible-use AAC, compared to the status 
quo/industry herd!

Hopefully you will see me speak out and participate more here. 
Especially a bit later, AFTER more setup; good sign if so. Fingers crossed. 

Looking forward to interesting LC talks, solutions, and happenings

Best wishes,

Curry Kenworthy

Radically Innovative Christian LiveCode Development "PASSION for Elegant, 
Efficient Code!"
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: Licensing 6.7.11

2024-04-17 Thread Ralph DiMola via use-livecode
Thanks Curry, been in touch with Heather. Having some weird licensing
issues. It now affecting other older versions. Heather is all over it. Will
update to list when solved.

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 Curry Kenworthy via use-livecode
Sent: Wednesday, April 17, 2024 9:57 AM
To: use-livecode@lists.runrev.com
Cc: Curry Kenworthy
Subject: Re: Licensing 6.7.11

Ralph:

 > Suddenly LC 6.7.11 says my license file has expired
 > can't download a license file for 6.7.11.
 > The only versions are 9 and 10? Any ideas?

LC 6.7.11 works here, but similar happened once before -

Probably LC Licensing backend issue; contact Support!

Best wishes,

Curry Kenworthy

Radically Innovative Christian LiveCode Development "PASSION for Elegant,
Efficient Code!"
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


Licensing 6.7.11

2024-04-15 Thread Ralph DiMola via use-livecode
Suddenly LC 6.7.11 says my license file has expired. I tried online
activation and it does not work. Logged onto the LC website and under my
account I can't download a license file for 6.7.11. The only versions are 9
and 10? Any ideas? I'm on a short time line and need to get this job out.

 

Thanks!

 

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


RE: Xcode 15.01 working with LC?

2024-04-09 Thread Ralph DiMola via use-livecode
I'm using LC 9.6.11 on an M1 Ventura with Xcode 15.0.1 (command line tools 
point there)
I have built 2 of my apps and the both show splash screen then immediately 
crashes before first card is shown.
I'm testing on an iPad mini iOS 12.5.7. When testing in the simulator it starts 
but the app never gets installed and the standalone builder windows hangs on 
"Launching app..." LC is unresponsive and a Force Quit is needed.
Any ideas?
Thanks

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 
Mike Kerner via use-livecode
Sent: Tuesday, April 09, 2024 9:33 AM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: Xcode 15.01 working with LC?

just tried it, again, and then started digging.
on the first attempt, i got the linking error then i fired up xc 15.0.1, and 
looked at the xcode command-line tools - sure enough, it was set to 14.2. i 
changed that to 15.0.1, and now the builds link with 9.6.11 and xc 15.0.1


On Mon, Apr 8, 2024 at 2:15 PM Andreas Bergendal via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> Just to complicate matters, though: In the Forum, two people have 
> confirmed successful iOS deployment with Xcode 15.0.1:
> https://forums.livecode.com/viewtopic.php?f=49=38849
>
> /Andreas
>
>
> > 6 apr. 2024 kl. 22:35 skrev Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > i should further note that in lc settings, if you select 15.0.1, you 
> > will get the green box like all's well, but during the build you 
> > will get an error, late.
> >
> > On Sat, Apr 6, 2024 at 4:34 PM Mike Kerner 
> > 
> > wrote:
> >
> >> it does not work, at least with 9.6.11 here's where you can find 
> >> all the downloads, including xcode 15 
> >> https://developer.apple.com/download/all/?q=xcode
> >>
> >> On Sat, Apr 6, 2024 at 4:22 PM Klaus major-k via use-livecode < 
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> Hi friends,
> >>>
> >>> I am just setting up a new Mac Mini M2 and could not find Xcode 
> >>> 15.0 as recommended by LCs release notes, only 15.01 on the Apple 
> >>> Dev download pages.
> >>>
> >>> Will that work with LC?
> >>> Or does someone have a link to version 15.0?
> >>>
> >>> 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
> >>>
> >>
> >>
> >> --
> >> 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."
> >>
> >
> >
> > --
> > 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: WebDeployHelper tool - the LC10 web app toolbox

2024-04-04 Thread Ralph DiMola via use-livecode
+1

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
William Prothero via use-livecode
Sent: Thursday, April 04, 2024 4:48 PM
To: How to use LiveCode
Cc: William Prothero
Subject: Re: WebDeployHelper tool - the LC10 web app toolbox

Andreas,
This sounds really great! It encourages me to start working with web 
apps.Thanks for your contribution. 
Best,
Bill
William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Apr 4, 2024, at 12:45 PM, Andreas Bergendal via use-livecode 
>  wrote:
> 
> So, LiveCode 10 has web deployment, but there are still too many things it 
> cannot do out-of-the-box.
> Well, some of them are fixable, and as promised I now release the tool I’ve 
> built to get so much more out of LC web apps.
> 
> Download here: 
> https://github.com/wheninspace/WIS_WebDeployHelper/releases/latest
> 
> WebDeployHelper tool essentially does two things:
> 
> 1) It provides you with code (LC, javascript, html) that greatly enhances the 
> capabilities of your web app.
> It adds code to your LC stack, and to the html file in the standalone folder. 
> You have full control of which features are added. Nothing is altered in your 
> existing LC code.
> 
> Currently the following features are available:
> - Modify the appearance of the web page that the LC stack resides on (your 
> own logo, background colour etc)
> - Add code that will make the stack resize when the browser window is 
> resized, or make the stack stay centered on the web page
> - Add code that enables pasting into fields and putting text into the 
> clipboard (not in mobile browsers)
> - Add code that enables mouse wheel scrolling in all LC fields and relevant 
> widgets (not in mobile browsers)
> - Add code that gives you access to the localStorage functionality, which 
> enables saving data between sessions
> - Add code that enables uploading of file data from your local files (like 
> image data and text)
> - Other minor nifty features :)
> 
> 
> 2) It helps automate the web deployment process, which tends to get tedious 
> as you often build many, many times and upload to your server to test and 
> test again your web app.
> 
> So, the workflow automator lets you run one or several steps with one click:
> - Trash the previous build folder (so you don’t get build folders like 
> "MyApp1”, MyApp2”, "MyApp3” etc)
> - Trigger the standalone builder
> - Compile the enhanced html file and replace the generic one in the build 
> folder with it
> - Upload all the standalone files (or just the changed ones, if not first 
> upload) to your server with ftp (if you enter credentials for an ftp account)
> - Launch the web url to your web app in your browser
> 
> 
> The stack requires LC10.0.0 dp7+ and naturally a web deployment license for 
> LC10.
> It can be used 'as is' or put into the plugins folder.
> 
> The tool is free to use (MIT license), but if you like it (or any of the 
> other free tools I've made) and feel it adds value to your use of LiveCode, 
> you may consider buying me a coffee at 
> https://www.buymeacoffee.com/riu9yazy7p :)
> 
> Feedback on everything is welcome!
> 
> Andreas Bergendal
> WhenInSpace
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


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


Browser Widget and Google Maps Api on Win 10

2024-03-28 Thread Ralph DiMola via use-livecode
When in the IDE and testing using the browser widget the line below does not
ever complete. The call back to "startMapInit" is never called.

This works on Win 10 desktop in Chrome and LC deployed Android app using the
same browser widget as in the IDE. I will test on iOS. 

 

The real question is how to see JavaScript errors in the Browser Widget?

 

https://maps.googleapis.com/maps/api/js?key=MyKey&callback=startMapInit</a>>


 

 

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


Facebook in Browser Widget

2024-03-28 Thread Ralph DiMola via use-livecode
LC 9.6.11 pro

Win 10

 

When I open Facebook url "https://www.facebook.com/someAccount; in the
browser widget in an Android app I briefly see the Facebook page and then
get the error net:ERR_UNKNOWN_URL_SCHEME. The Error url displayed is
"fc://profile..." this used to work.

This happens if the FB app is or is not installed. What I would like is if
the app is not installed then open in the browser widget or if FB is
installed then open in the FB app. I have not tested iOS yet.

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


RE: Cursor Placement in MobileControl

2024-03-06 Thread Ralph DiMola via use-livecode
Dan,

Nice... thanks!

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 Dan Friedman via use-livecode
Sent: Wednesday, March 06, 2024 11:15 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: Cursor Placement in MobileControl

Panos,

Thank you for the suggestion!   That worked out well!   For anyone
interested, here's the snippet for formatting a phone number as you type in
a mobile native field control:

//this assumes that the mobileControl type for Android is "multiline" and
the mobileSetKeyboardType has been set to "email"

on inputTextChanged
  put mobileControlTarget() into pField
  put mobileControlGet(pField,"text") into pText

  if pField = "phoneNumber" then
put "" into fText
put numbersOnly(pText) into pText

if char 1 of pText = "1" then
  put "" into fText
  mobileControlSet "phoneNumber","text",fText
  androidGoLastChar "phoneNumber",fText
  put fText into dataEntered["phone"]
  exit inputTextChanged
end if

if the number of chars in pText < 4 then
  put pText into fText
  mobileControlSet "phoneNumber","text",fText
  androidGoLastChar "phoneNumber",fText
else
  if (the number of chars in pText > 3) then
put "(" & char 1 to 3 of pText & ")" into char 1 to 3 of fText
put " " & char 4 to 6 of pText after fText
  end if
  if the number of chars in pText > 6 then
put "-" & char 7 to 10 of pText after fText
  end if

  mobileControlSet "phoneNumber","text",fText
  androidGoLastChar "phoneNumber",fText
end if
  end if
end inputTextChanged

function numbersOnly pNum
  //returns only the numbers in pNum
  put "" into fNum
  repeat for each char c in pNum
if isNumber(c) then
  put c after fNum
end if
  end repeat

  return fNum
end numbersOnly

on androidGoLastChar mControl,xText
  if ("Android" is in the platform) then
mobileControlSet mControl,"selectedRange",(the number of chars in
xText+1,0)
  end if
end androidGoLastChar


Thank you!

Dan Friedman
CEO, ClearVision Technologies, LLC
Voice: 909/484-2052
http://www.clearvisiontech.com


From: use-livecode  on behalf of
panagiotis merakos via use-livecode 
Date: Tuesday, March 5, 2024 at 9:45 AM
To: How to use LiveCode 
Cc: panagiotis merakos 
Subject: Re: Cursor Placement in MobileControl Hello Dan,

I take it you are formatting the text in inputTextChanged?

Unfortunately yes, on Android calling

mobileControlSet "phoneNumber","text", pText

puts the cursor in the beginning of the text:

https://quality.livecode.com/show_bug.cgi?id=24055

RE using the selectedRange with mobile native controls, I think this
property is supported only on multiline input fields. So I suppose you could
make the fields to be multiline and give it a try.

Kind regards,
Panos
--

On Tue, 5 Mar 2024 at 18:53, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am trying to create a field on mobile (iOS and Android) that will 
> format a phone number as your type (client request).  I am able to do 
> this on iOS as the command: mobileControlSet 
> "phoneNumber","text",pText puts the cursor AFTER the text so the user 
> can simply continue typing.  But, on Android, the cursor is placed at the
beginning of the text after the
> mobileControlSet command is called.   Is there a way to set the position
of
> the cursor on a native mobile text field?
>
> I did notice that the Android Native Field widget has a selectedRange 
> property.  Can I use this property on a native Android control?  And, 
> can I set the selectedRange to "16,15" to set the cursor location, not 
> select text?
>
> Why not just use the Android Native Field widget, you ask?   I will if I
> have to. but I prefer to use the native control as it is 
> cross-platform and I don't need to case out for which platform we're 
> on.  You would need to create the control and hide the widget for iOS 
> and show the widget for Android.  I'll also have to case out the 
> setting  and getting of the text as they have different methods.  I'll do
this if I have to, but I'd rather
> have a single code set and not have to manage/update separate methods.   I
> would use the standard LC field, but client wants the standard
> hold->popupMenu->paste command to work.
>
> Any thoughts or ideas?
>
> -Dan
> ___
> use-livecode mailing list
> use-livecode@lis

RE: activation and login broken?

2024-02-02 Thread Ralph DiMola via use-livecode
Select urgent on the hosting support contact us page.

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

Phone: 518-636-3998 Ex:11

Cell: 518-796-9332

 

From: Mike Kerner [mailto:mikeker...@roadrunner.com] 
Sent: Friday, February 02, 2024 2:59 PM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: activation and login broken?

 

how in the world does one submit an "urgent" ticket?

 

On Fri, Feb 2, 2024 at 2:58 PM Ralph DiMola via use-livecode 
 wrote:

Mike,
Same here. Last time this happened someone submitted an LC hosting urgent
ticket and it was fixed pronto.
I will do it now.

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 Mike Kerner via use-livecode
Sent: Friday, February 02, 2024 2:24 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: activation and login broken?

hmmm. i just tried to fire up LC on both mac and pc. i ran into an
activation dialog, so i tried to log in, and got an error. so, i tried to
log into the livecode website, and hit the same thing.

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


RE: activation and login broken?

2024-02-02 Thread Ralph DiMola via use-livecode
Kevin,

Thanks
I submitted a hosting ticket. Ignore now that you're on it.


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Kevin Miller via use-livecode
Sent: Friday, February 02, 2024 2:59 PM
To: How to use LiveCode
Cc: Kevin Miller
Subject: Re: activation and login broken?

Something is wrong... We are looking into it now.

Kind regards, 

Kevin 

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




On 02/02/2024, 19:56, "use-livecode on behalf of David Wood via use-livecode" 
mailto:use-livecode-boun...@lists.runrev.com> on behalf of 
use-livecode@lists.runrev.com > wrote:


Same here


In my case just on Mac but also as you say trying to log into the Livecode 
website.


> On 3/02/2024, at 8:24 AM, Mike Kerner via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> hmmm. i just tried to fire up LC on both mac and pc. i ran into an
> activation dialog, so i tried to log in, and got an error. so, i tried to
> log into the livecode website, and hit the same thing.
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
> and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> 




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






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


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


RE: activation and login broken?

2024-02-02 Thread Ralph DiMola via use-livecode
Mike,
Same here. Last time this happened someone submitted an LC hosting urgent
ticket and it was fixed pronto.
I will do it now.

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 Mike Kerner via use-livecode
Sent: Friday, February 02, 2024 2:24 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: activation and login broken?

hmmm. i just tried to fire up LC on both mac and pc. i ran into an
activation dialog, so i tried to log in, and got an error. so, i tried to
log into the livecode website, and hit the same thing.

--
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: Bug 23507 - LC Clipboard Polling Failure

2024-01-16 Thread Ralph DiMola via use-livecode
Too fast to look and see I was on the wrong thread. Meant to respond to
Paul's.

Woops...

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 Curry Kenworthy via use-livecode
Sent: Tuesday, January 16, 2024 6:21 PM
To: use-livecode@lists.runrev.com
Cc: Curry Kenworthy
Subject: Re: Bug 23507 - LC Clipboard Polling Failure


Ralph:

 > do a send in time to the real resizing code.

Oh I fixed mine smooth as butter, but still blamed! First impressions...
(Plus some extra bias since I can't do phone/voice anymore, per health.)

But A: That's the other thread; This one is LC Clipboard Polling bug!

And B: Main context is Paul's situation, possibly an engine or OS issue.
(As mine was, but a different specific one. Required a big workaround.)

Thanks!

Best wishes,

Curry K.

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


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


RE: Bug 23507 - LC Clipboard Polling Failure

2024-01-16 Thread Ralph DiMola via use-livecode
Curry,

In your resizeStack handler do a send in time to the real resizing code. You
may find the even a short wait will fix it.

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 Curry Kenworthy via use-livecode
Sent: Tuesday, January 16, 2024 12:16 PM
To: use-livecode@lists.runrev.com
Cc: Curry Kenworthy
Subject: Bug 23507 - LC Clipboard Polling Failure


Any progress to fix LC's Clipboard Polling Failure Bug?

https://quality.livecode.com/show_bug.cgi?id=23507

Needed this for an app.

Best wishes,

Curry K.

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


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


We lost an Angle

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

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

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

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


RE: PDF Widget and JavaScript

2023-12-29 Thread Ralph DiMola via use-livecode
The last I knew the JavaScript engine is not implemented in the PDF widget.

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 
Bob Sneidar via use-livecode
Sent: Thursday, December 28, 2023 3:00 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: PDF Widget and Javascript

Hi all. 

This is a long shot, but is there any kind of PDF gadget in Livecode that can 
run javascript? I am specifically wanting to generate an FDF file from fillable 
forms. The javascript is fairly straightforward: 

This.ExportAsFDF(true, false, null)

This will work in a javascript enabled PDF application and will use the 
currently open PDF fillable document, generating an FDF file named after the 
PDF name (without the dot3 extension) appended by “_data.fdf” 

It would be quite the luxury to be able to do this in Livecode, otherwise I 
have to pay for a licensed Pro version (I think they are all subscription based 
now) and the ONLY thing I need from the Pro version is this function. 

Bob S

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


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


RE: Should I upgrade to Xcode 15.0 or 15.1?

2023-12-21 Thread Ralph DiMola via use-livecode
I've had the about the same iOS experience. Annoying, yes. Not so bad after 
doing it once.

I can't believe what you Mac OS developers go though. The only thing I staple 
is some pine rope on the fireplace mantle.


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 
Andreas Bergendal via use-livecode
Sent: Thursday, December 21, 2023 3:25 PM
To: How to use LiveCode
Cc: Andreas Bergendal
Subject: Re: Should I upgrade to Xcode 15.0 or 15.1?

It may not be as bad as it looks, as an app can survive several iOS upgrades 
without needing to be rebuilt. I have an app in AppStore that I think was 
targeted at iOS 14, and didn’t malfunction until iOS 17 came. I then rebuilt it 
targeting iOS 16 (as 17 was not yet supported by the LC deployment chain at the 
time), and it still works like a charm. 

Since that app had been doing fine for two years, all certificates and 
provisioning profiles and whatnot had expired, so I had to jump through all the 
Apple hoops again to get a valid build. It then transferred to TestFlight on 
the first attempt (!!!), and was approved for AppStore by Apple review within 
24 hours. 

All in all I had the new version up and pushed to users in three days, after 
discovering the blocking iOS 17 bug. (I don’t know what the bug was, I was just 
hoping that rebuilding with a newer LC version for an iOS version closer to 17 
would fix it, and thankfully it did.)

Just to share that positive experiences are still possible, even though I 
totally agree that iOS deployment still IS a hassle.

I enjoy web deployment much more, and LC10 is getting better and better at that.

/Andreas


> 21 dec. 2023 kl. 20:28 skrev Bob Sneidar via use-livecode 
> :
> 
> BTW I should add that I do not think this is Livecode’s fault. I imagine 
> every developer for every platform has to deal with this, and now it’s all 
> bled over to desktop apps as well. Seems like forced obsolescence to me. 
> Unmaintained apps get deleted from the store, and therefore from end user’s 
> mobile devices. How convenient for Apple. 
> 
> Bob S
> 
> 
>> On Dec 21, 2023, at 11:05 AM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> That’s pretty useful, but also dismaying. I’m kind of glad now, because my 
>> slothfulness had me put off any attempt to make an iOS version of Forms 
>> Generator. That is all a lot to consider. Not only am I bound to rebuild for 
>> every version of my app, I am also bound to rebuild based on every iOS, 
>> MacOS and Xcode versions. No thank you please. 
>> 
>> Of course I am not selling my apps so it doesn’t matter very much to me. For 
>> those of us that produce commercial apps, it matters very much. 
>> 
>> Bob S
>> 
>> 
>>> On Dec 21, 2023, at 5:41 AM, Andreas Bergendal via use-livecode 
>>>  wrote:
>>> 
>>> Just for fun, and because Mermaid is my new toy, I threw together a small 
>>> web stack that shows the various LC-Xcode-macOS-iOS combinations in a 
>>> sankey diagram, where you can also change the order of how they are 
>>> displayed.
>>> 
>>> I added some Xcode versions that are NOT compatible with LiveCode too, just 
>>> as extra info (and to get more data points).
>>> 
>>> I don’t know if it adds any insights beyond what you can simply see in the 
>>> table Heather linked to, but it was a suitable set of data for the sankey 
>>> format, and also a proof of concept that running Mermaid code in a browser 
>>> widget deployed to web works flawlessly. :)
>>> 
>>> See it here: https://wheninspace.com/LCXcode/
>>> 
>>> /Andreas
>>> 
>>> 
>>> 
>>>> 18 dec. 2023 kl. 18:11 skrev Heather Laine via use-livecode 
>>>> :
>>>> 
>>>> Folks, you should upgrade to Xcode 15.0 not 15.1 - see this table (top 
>>>> FAQ):
>>>> 
>>>> 
>>>> https://livecode.com/resources/support/ask-a-question/
>>>> 
>>>> 
>>>> 
>>>> Best Regards,
>>>> 
>>>> Heather

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


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


RE: Should I upgrade to Xcode 15.0 or 15.1?

2023-12-21 Thread Ralph DiMola via use-livecode
Very Nice! This should be on the LC Lesson site. Very helpful for new users.

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 
Andreas Bergendal via use-livecode
Sent: Thursday, December 21, 2023 8:42 AM
To: How to use LiveCode
Cc: Andreas Bergendal
Subject: Re: Should I upgrade to Xcode 15.0 or 15.1?

Just for fun, and because Mermaid is my new toy, I threw together a small web 
stack that shows the various LC-Xcode-macOS-iOS combinations in a sankey 
diagram, where you can also change the order of how they are displayed.

I added some Xcode versions that are NOT compatible with LiveCode too, just as 
extra info (and to get more data points).

I don’t know if it adds any insights beyond what you can simply see in the 
table Heather linked to, but it was a suitable set of data for the sankey 
format, and also a proof of concept that running Mermaid code in a browser 
widget deployed to web works flawlessly. :)

See it here: https://wheninspace.com/LCXcode/

/Andreas



> 18 dec. 2023 kl. 18:11 skrev Heather Laine via use-livecode 
> :
> 
> Folks, you should upgrade to Xcode 15.0 not 15.1 - see this table (top FAQ):
> 
> 
> https://livecode.com/resources/support/ask-a-question/
> 
> 
> 
> Best Regards,
> 
> Heather


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


___
use-livecode mailing list
use-livecode@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] The Fall of the British Empire???

2023-11-20 Thread Ralph DiMola via use-livecode
Most importantly in aviation. Add that to the list below and "here we are". We 
will be one day be in a single language world. This does not mean that 
heritages are erased or lost. We still study Latin.

I worked in Japan in the 80's. They were this far away(2 Fingers a hair width 
apart) of using western representation of katakana because of the computer 
keyboard/display/printer limitations. In the days of 286/386s It was cumbersome 
and slow to input kanji. You had to phonically spell it in hiragana or katakana 
like today but the speed/resolution/lack of standard hiragana, katakana and 
kanji databases/printers/7 bit communications of these early PCs and modems 
made kanji a headache. Technology caught up just fast enough to put those type 
of plans on the trash heap.

Personally it's all I can do to constantly learn new things/languages in IT, 
learn new music, learn new car technology so I can fix it, fix my 
refrigerator/furnace/PC and manage my personal life. I just never had the time 
nor the brain capacity to learn a new language. I don't think that makes me a 
US snob. My second language is music staff notation.

Ralph DiMola
IT Director
Evergreen Information Services


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Craig Newman via use-livecode
Sent: Monday, November 20, 2023 2:41 PM
To: How to use LiveCode
Cc: Craig Newman
Subject: Re: [OT] The Fall of the British Empire???

I did not mean “British” English, just English. And true, the hegemony that the 
US had and still has on this planet, commerce, popular culture, sheer weight 
and all that implies, forced everyone else to learn English. The internet is 
the prime example,

Americans are smug in that we do not need to learn other languages, because 
everyone else speaks English. I am not sure I am proud of that…

Craig

> On Nov 20, 2023, at 12:59 PM, doc hawk via use-livecode 
>  wrote:
> 
> British English was never the *lingua franca*.

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


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


RE: LC Licensing and Website

2023-11-20 Thread Ralph DiMola via use-livecode
Matthias, Thanks!
Back up here also. I thought of that but did not want to take advantage of
my hosting support. Next time I have an emergency off hours I'll contact
hosting support.

Also thanks to the LC team for fixing this ASAP.

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 matthias rebbe via use-livecode
Sent: Monday, November 20, 2023 2:06 PM
To: How to use LiveCode
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: LC Licensing and Website

I just received an answer from the LC hosting support. Login and licensing
should be possible again. Tried it here already with success.


> Am 20.11.2023 um 19:57 schrieb matthias rebbe via use-livecode
:
> 
> Me too, but send an email to livecode hosting support as urgent, because
the service at that address is provided 24/7. I am not sure if the normal LC
support address is watched outside the office hours?
> 
>> Am 20.11.2023 um 19:55 schrieb Ralph DiMola via use-livecode
:
>> 
>> I sent an email to support before I sent to the list.
>> 
>> 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 Mark Wieder via use-livecode
>> Sent: Monday, November 20, 2023 1:41 PM
>> To: Ralph DiMola via use-livecode
>> Cc: Mark Wieder
>> Subject: Re: LC Licensing and Website
>> 
>> On 11/20/23 10:29, Ralph DiMola via use-livecode wrote:
>>> I can't license LC or login to my LC account on the website. Anyone 
>>> else
>> having problems?
>> 
>> Yep. It's dead.
>> 
>> --
>> 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


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


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


RE: LC Licensing and Website

2023-11-20 Thread Ralph DiMola via use-livecode
I sent an email to support before I sent to the list.
 
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 Mark Wieder via use-livecode
Sent: Monday, November 20, 2023 1:41 PM
To: Ralph DiMola via use-livecode
Cc: Mark Wieder
Subject: Re: LC Licensing and Website

On 11/20/23 10:29, Ralph DiMola via use-livecode wrote:
> I can't license LC or login to my LC account on the website. Anyone else
having problems?

Yep. It's dead.

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


LC Licensing and Website

2023-11-20 Thread Ralph DiMola via use-livecode
I can't license LC or login to my LC account on the website. Anyone else having 
problems?

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


RE: [OT] The Fall of the British Empire???

2023-11-17 Thread Ralph DiMola via use-livecode
"When exactly did the British Empire fall?? I thought it was still a thing?"

+1


Ralph DiMola
IT Director
Evergreen Information Services

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Bob Sneidar via use-livecode
Sent: Friday, November 17, 2023 12:20 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: [OT] The Fall of the British Empire???

Excerpt from The Livecode Team newsletter:

Several members of our team have been enjoying the Empire podcast recently
with William Dalrymple and Anita Anand. This explores how empires rise, why
they fall and how they have shaped the world around us today. The series
covers THE RISE AND FALL OF THE BRITISH EMPIRE as well as the Ottoman
Empire, with episodes around iconic events such as the fall of
Constantinople and the Indian Mutiny among many others.

When exactly did the British Empire fall?? I thought it was still a thing?

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


[ot] Test

2023-11-07 Thread Ralph DiMola via use-livecode
Email test.

Sorry for the noise

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


RE: arrayToJSON on lc server

2023-10-17 Thread Ralph DiMola via use-livecode
I've been using fastJson. I do a "start using" to include it as a library. To 
date I have not had any problems encoding an LC array to JSON and decoding it 
to a JavaScript array on the client browser.

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 
Mike Kerner via use-livecode
Sent: Monday, October 16, 2023 11:03 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: arrayToJSON on lc server

let's see: in the public repo, there's the json.lcb source:
https://github.com/livecode/livecode/blob/4606a10ea10b16d5071d0f9f263ccdd7ede8b31d/extensions/libraries/json/json.lcb#L4
also, references to the "fastjson" library:
https://github.com/bhall2001/fastjson

On Mon, Oct 16, 2023 at 10:49 PM Mike Kerner 
wrote:

> the externalfunctions doesn't seem to be returning anything for a 
> project i just opened (never tested it, before). that project has a 
> lot of standalone inclusions, some of which have external functions, 
> so i don't know if it means externals that are directly attached to 
> the stack (like old xcmd's/xfcn's).
> grasping at straws, because i'm not deploying to lc server on linux
> * i assume you manually included mergjson in your standalone (assuming 
> you're building your project). if not, try that.
> * have you tried embedding the source from the 
> mergJSONLibrary.livecodescript into your main stack and then stepping 
> through the code? it's available in the oss repo or any of the forks 
> of that repo. that's just the library, not the mergjsonencode 
> external, but it might get you closer.
> * if that doesn't work, there are at least two other oss lc json 
> codebases, the most popular being mark smith's, which, i think, is 
> what monte used when he wrote mergjson.
>
> On Mon, Oct 16, 2023 at 7:21 PM Neville Smythe via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
>> I am having a problem with the function arrayToJSON on LC Server 
>> 9.6.10 pro (Linux host) (I couldn't get it to work on earlier 
>> versions either)
>>
>> I get the error
>>
>> Function: error in function handler (arrayToJSON) The mergJSON.so 
>> file is in the Externals folder, which resides in the same directory 
>> as livecode-server. Since revdb calls work, which I assume use the 
>> revdb.so library, evidently Externals are loading, and permissions 
>> for mergJSON.so are the same as for revdb.so.
>>
>> This is supposed to work out of the box, so I must be missing 
>> something obvious.
>>
>> BTW, the call "the externalFunctions of this stack" return empty - is 
>> that correct, should it not return the functions available in the 
>> Externals .so libraries?
>>
>> Neville Smythe
>>
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> 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."
>


--
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: Questions on Wasm export, licenses and file siz

2023-10-12 Thread Ralph DiMola via use-livecode
ambassa...@fourthworld.com wrote:

"JS is the only interactive language included in browsers.  The best time to
learn it was yesterday. The second best time is today."

+1
My today was about 5 years ago. JS has been an asset to my workflow ever
since. Being able get JS callbacks and invoke JS from LC has opened many new
doors.

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


RE: All Versions of LC crashing in Sonoma

2023-10-03 Thread Ralph DiMola via use-livecode
You think you have it bad. Apple just announced the $17,000 older gold Apple 
Watches can no longer be fixed or have SW updates. Glad my VB6 apps, Timex and 
paper maps still work.

Ralph DiMola
IT Director
Evergreen Information Services

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Rolf Kocherhans via use-livecode
Sent: Tuesday, October 03, 2023 4:53 AM
To: use-livecode@lists.runrev.com
Cc: Rolf Kocherhans
Subject: Re: All Versions of LC crashing in Sonoma

@Matthias and the Mothership,

My Apple Developer account expired several years ago, and I'm facing a critical 
issue with one of my LiveCode Apps, Clarify, developed by Trevor DeVore. This 
app is extremely important to me.

Unfortunately, Clarify is no longer actively developed and has started crashing 
with Sonoma. I am wondering if there's a possibility to resolve this issue by 
signing the bundles. I am more than willing to invest in a new subscription 
with Apple if that's what it takes – I can't imagine my work without Clarify.

Could someone please test if signing the bundles might make an app functional 
again?
Your assistance in this matter would mean the world to me.

Cheers,
Rolf

Am 30.09.2023 um 18:00 schrieb use-livecode-requ...@lists.runrev.com:

Maybe my observation is not the reason for the crash. Would really not make 
sense, when an unsigned app would crash instead of reporting an alert.

But code signing  the complete Livecode app bundle would proof it.

Did someone btw had a look at the system log file after the crash?

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


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


RE: Livecode and ESP32 microcontroler

2023-09-25 Thread Ralph DiMola via use-livecode
I'm working on an Arduino/esp32/rtc/lcd display project to control my pool 
solar heating array to open/close valves, turn the solar array or pool filter 
pump off/on based on solar availability and min filter hours needed using 
electric actuated valves, pump relays and temperature sensors.

I connected an esp32 com port to the Arduino com port. The esp32 is a socket 
server and talk to the remote pumps/sensors... having their own Arduino and 
esp32s to be told when to turn on/off, open/close valves and get senor info.

I have used AT commands(it's funny that AT the command format still exists) to 
test the esp32 and have the whole Arduino thing under control(never thought I'd 
have to learn C). It's time to connect them together. I know I could do a lot 
of this on the esp32 itself but all the sensors, relays, display, RTC, SD Card 
and large program might be too much to the esp32.

I want to be able to see the status and set parameters in the Arduino via the 
esp32 using a LiveCode desktop/mobile gui app talking to the socket server.

The Arduino on boot inits the esp32, put it into socket server mode. Waits for 
all clients(2-4 below) to connect then the Arduino fields/responds to all the 
clients. Starts events in progress. Clients are: 1) LC socket client app to see 
status/set params/ turn things on/off outside of scheduled events 2) Main Pool 
filter pump. 3) Solar array pump. 4) Water valves. The last 3 are in different 
locations using Arduinos and esp32 socket clients via wifi. The display on the 
master socket server shows temperatures(in/out solar and pool)

I will forward a port on my router to access the socket server when not on the 
local LAN. Encrypted of course.

I'm, trying to get the most solar heat to the pool with sufficient water 
filtering with minimum electric usage. I'm tired of doing all of this manually 
and also my electric cost has doubled in the last 2+ years and I'm trying to 
claw some of it back with this project. I guessing that the handling of network 
interruption events will be a challenge.

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 
Douglas A. Ruisaard via use-livecode
Sent: Sunday, September 24, 2023 11:38 AM
To: 'How to use LiveCode'
Cc: Douglas A. Ruisaard
Subject: RE: Livecode and ESP32 microcontroler

Hery:
I am a livecode list "lurker" ... I read every posting but rarely respond.  I 
do most of my mini project development in the ESP environment but primarily use 
the Arduino development platforms.  I am abouit to embark on  getting involved 
with the Raspberry Pi platform which probably means learning Python (old dog, 
new tricks, etc).  I have developedd extensively in Livecode, though and still 
consider it my "go-to" environment when possible.  If there were a way to 
integrate Livecode with the ESP platforms, I'd be ALL IN.  I think others on 
this list will feel the same, so please share your preferences on how to 
exchange ideas.

Doug Ruisaard
Trilogy Software


-Original Message-
From: use-livecode  On Behalf Of 
Heriberto Torrado via use-livecode
Sent: Saturday, September 23, 2023 8:01 AM
To: use-livecode@lists.runrev.com
Cc: Heriberto Torrado 
Subject: Livecode and ESP32 microcontroler

Dear Livecode lovers,

It's been a while since I've had the opportunity to contribute to our 
discussion group, and I'm excited to share a new project I've been working on 
with Livecode Server.

In this project, I've been utilizing Livecode to establish communication with 
the serial port of a PC, leveraging Livecode Server to interface with an ESP32 
microcontroller. What I've discovered is that Livecode truly shines as a 
scripting language in this context. It offers exceptional productivity 
advantages compared to languages like Python, particularly when it comes to 
text manipulation tasks.

I wanted to take a moment to reach out and let you know that if you have any 
interest in microcontroller programming with Livecode or if you'd like to learn 
more about my project, please feel free to get in touch with me. I'd be more 
than happy to share insights, experiences, and collaborate on this exciting 
endeavor!

Best,

Hery





Heriberto Torrado
​Chief Technology Officer (CTO)
​Director de informática
Directeur informatique

*NetDreams S.C.*
http://www.networkdreams.net <http://www.networkdreams.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/mai

RE: Android ANR (App not responding | Jacque was right :-)

2023-09-17 Thread Ralph DiMola via use-livecode
Was invited to an experimental Jazz show yesterday. I finally realized that all 
jazz is experimental.

"Jazz is not dead it just smells funny"
Frank Zappa


What do you call a person who hangs out with musicians?


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 
Bob Sneidar via use-livecode
Sent: Friday, September 15, 2023 10:02 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Android ANR (App not responding | Jacque was right :-)

Yes. It’s the one that no batter can hit. 

Sent from my iPhone

> On Sep 15, 2023, at 18:14, Mark Wieder via use-livecode 
>  wrote:
> 
> On 9/15/23 13:10, Ralph DiMola via use-livecode wrote:
>> Does accordion count?
> 
> You know the definition of perfect pitch, right?
> 
> -- 
> 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: Android ANR (App not responding | Jacque was right :-)

2023-09-15 Thread Ralph DiMola via use-livecode
Does accordion count?

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 
William Prothero via use-livecode
Sent: Friday, September 15, 2023 2:56 PM
To: How to use LiveCode
Cc: William Prothero
Subject: Re: Android ANR (App not responding | Jacque was right :-)

Mark and Klaus,
Wow, folks I didn't know were musicians!  
I use iReal Pro too. It's great for practice. And, easily transposes. But as a 
keyboard player, I use the notes of the tune to shape my solos. iReal Pro only 
has the chords. It's still useful, though.

Best,
Bill

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

> On Sep 15, 2023, at 11:50 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Mark,
> 
>> Am 15.09.2023 um 20:26 schrieb Mark Wieder via use-livecode 
>> :
>>> On 9/15/23 10:13, Klaus major-k via use-livecode wrote:
>>> I also own "iReal Pro" for Mac<https://www.irealpro.com> which can 
>>> output PDF if I need one and I also still own a printed version of 
>>> the "Real Book I". :-)
>> The only reason I have a 10" tablet is to run iRealPro on it.
>> Hard to imagine doing without it.
> 
> good boy! :-)
> 
>> --
>> Mark Wieder
>> ahsoftw...@gmail.com
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: Android ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Ralph DiMola via use-livecode
It should be there. It's not in the tools folder it's in the
"platform-tools" folder. Clear the logcat before you go to practice then
after you get home after a hang/crash do the logcat.

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 Klaus major-k via use-livecode
Sent: Thursday, September 14, 2023 1:50 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: Android ANR (App not responding | Jacque was right :-)

Hi Ralph,

> Am 14.09.2023 um 19:43 schrieb Ralph DiMola via use-livecode
:
> 
> Klaus,
> 
> You need to get it using a command prompt via USB. Connect device. 
> Open command prompt. In the android SDK platform-tools folder... Steps:
> 
> 1) Clear the log
> 2) Get you app to crash
> 3) Get a log
> 
> ADB commands below:
> 
> ADB logcat -c
> Now run your app till crash
> ADB logcat
> 
> The log can be piped to a file.
> In windows it's
> ADB logcat > somefile.txt
> The logcat will keep running so on windows a ctrl C will terminate.

OK, thank you.

But I'm using a Mac and it looks like that tool is not available here in the
SDK tools folder.
Maybe available somewhere in "Android Studio".

And my problem NEVER happened when I'm at home, only during band rehearsals
and gigs! :-D

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

Best

Klaus

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


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


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


RE: Android ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Ralph DiMola via use-livecode
I was thinking that if it's indeed a hang it would show how far the app
activation proceeded before the hang. Maybe that would help/confirm that
this is indeed a hang or crash.

Just a thought

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


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Thursday, September 14, 2023 2:04 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: RE: Android ANR (App not responding | Jacque was right :-)

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

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

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

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

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




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


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


RE: Android ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Ralph DiMola via use-livecode
Klaus,

You need to get it using a command prompt via USB. Connect device. Open
command prompt. In the android SDK platform-tools folder... Steps:

1) Clear the log
2) Get you app to crash
3) Get a log

ADB commands below:

ADB logcat -c
Now run your app till crash
ADB logcat


The log can be piped to a file.
In windows it's 

ADB logcat > somefile.txt

The logcat will keep running so on windows a ctrl C will terminate.

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 Klaus major-k via use-livecode
Sent: Thursday, September 14, 2023 1:24 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: Android ANR (App not responding | Jacque was right :-)

Hi Ralph,

> Am 14.09.2023 um 19:20 schrieb Ralph DiMola via use-livecode
:
> 
> Klaus,
> 
> Get a logcat after a crash

and where can I possibly find one on my tablet?

> and see if Panos can glean anything useful from it. It helped me once 
> identifying and getting a crash fix implemented.
> 
> 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 Klaus major-k via use-livecode
> Sent: Thursday, September 14, 2023 7:01 AM
> To: How to use LiveCode
> Cc: Klaus major-k
> Subject: Android ANR (App not responding | Jacque was right :-)
> 
> Hi all,
> 
> yesterday it* happened again!
> 
> *Around one of twenty times I start my app on my Samsung tablet, I get 
> a black screen.
> 
> I started the tablet, opened my app -> OK quit the app and started 
> again -> OK quit the app and started again -> OK quit the app and 
> attached my USB footswitch started the app -> BLACK SCREEN That also 
> happens without the attached footswitch
> 
> Then I took Jacque's advice and waited a bit and after about
> 30 seconds I got the "Application not responding" alter with two options:
> -> Close app
> -> Wait
> 
> So I clicked "Quit" and could start the app anew without any problem!
> 
> I am really wondering why this happens?!
> 
> On the first card there are just two polygrids with < 10 entries each, 
> loaded "on openstack" on the fly from the folders and files in the 
> resources folder See screenshot here:
> <https://www.dropbox.com/scl/fi/vsm7c9nhankru3xqhil6p/leadsheeter_card
> _1.png ?rlkey=09o2ljter5hramdhv3gm5x786=0>
> (Ordner = folders)
> NO PDF is loaded yet!
> NO resizestack message, this is just for me and my tablet.
> NO "accelerated rendering" set for the stack
> 
> Any hints very welcome, not sure if I should open a bug report, since 
> this only happens from time to time, about 1 of twenty app starts.
> 
> macOS 12.6.9, LC 9.6.10, Android 8.1, Android API 33

Best

Klaus

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


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


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


RE: Android ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Ralph DiMola via use-livecode
Klaus,

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

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 Klaus major-k via use-livecode
Sent: Thursday, September 14, 2023 7:01 AM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Android ANR (App not responding | Jacque was right :-)

Hi all,

yesterday it* happened again!

*Around one of twenty times I start my app on my Samsung tablet, I get a
black screen.

I started the tablet, opened my app -> OK quit the app and started again ->
OK quit the app and started again -> OK quit the app and attached my USB
footswitch started the app -> BLACK SCREEN That also happens without the
attached footswitch

Then I took Jacque's advice and waited a bit and after about
30 seconds I got the "Application not responding" alter with two options:
-> Close app
-> Wait

So I clicked "Quit" and could start the app anew without any problem!

I am really wondering why this happens?!

On the first card there are just two polygrids with < 10 entries each,
loaded "on openstack" on the fly from the folders and files in the resources
folder See screenshot here: 
<https://www.dropbox.com/scl/fi/vsm7c9nhankru3xqhil6p/leadsheeter_card_1.png
?rlkey=09o2ljter5hramdhv3gm5x786=0>
(Ordner = folders)
NO PDF is loaded yet!
NO resizestack message, this is just for me and my tablet.
NO "accelerated rendering" set for the stack

Any hints very welcome, not sure if I should open a bug report, since this
only happens from time to time, about 1 of twenty app starts.

macOS 12.6.9, LC 9.6.10, Android 8.1, Android API 33



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: Sorting by item ... of each and item ... of each

2023-09-05 Thread Ralph DiMola via use-livecode
You can at least detect if the sorting function has failed using a global
variable.

global s1

command test1
   local t1
   
   --put "10,9,8,7,6,5,4,3,2,1" into t1 -- This line will not show an error
   put "10,9,8,7a,6,5,4,3,2,1" into t1 -- This line will show an error
   
   put 0 into s1
   sort items of t1 numeric by f1(each)
   
   if s1 <> the number of items in t1 then answer "Sort Function failed"
   put t1 & cr & s1
   
end test1


function f1 pEach
   local tEach
   put pEach into tEach
   add 1 to tEach
   add 1 to s1
   return tEach
end f1

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 matthias rebbe via use-livecode
Sent: Saturday, September 02, 2023 9:03 PM
To: How to use LiveCode
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: Sorting by item ... of each and item ... of each

Of course my "not working" sort code look like this

set the itemdelimiter to  ";"
sort lines of tList numeric by item 3 of each and item 2 of each.




> Am 03.09.2023 um 02:59 schrieb matthias_livecode_150...@m-r-d.de:
> 
> Maybe i do not see the forest for the trees
> 
> I have a tab delimited list which i want to sort. I am using this code to
sort it by item 3 and  item 2
> 
> set the itemdelimiter to tab
> sort lines of tList numeric by item 3 of each and item 2 of each.
> 
> But that code does not sort as i expected it. Column 2 is not sorted
correctly.
> The following list is the result. 
> 
> 113254;8420;3016365
> 113254;8423;3016365
> 113254;8422;3016365
> 113254;8420;3016365
> 113254;8420;3016365
> 113254;8420;3016365
> 113254;8421;3016365
> 203212;8420;3016366
> 203212;8423;3016366
> 203212;8422;3016366
> 203212;8420;3016366
> 
> 
> My expectation for example  was that for value 3016365 in column 3 the
values in Col 2 would be sorted like this
> 
> 113254;8423;3016365
> 113254;8422;3016365
> 113254;8421;3016365
> 113254;8420;3016365
> 113254;8420;3016365
> 113254;8420;3016365
> 113254;8420;3016365
> 
> Tried also'by item 2 of each and item 3 of each', but the sort result
is the same?
> 
> Am i missing something?
> 
> 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: Has anyone experimented with using Python within LC?

2023-07-20 Thread Ralph DiMola via use-livecode
Late to the game... I use the same method for PHP. I needed to batch minify
html/js/css files. There is a great PHP script to do it. Batch it up with LC
and one button did it all. There is a ton of open source useful PHP that can
be integrated with ease to LC. I'll remember this if I need some Python in
the future.

Thanks Geoff.

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 Geoff Canyon via use-livecode
Sent: Thursday, July 20, 2023 3:34 PM
To: How to use LiveCode
Cc: Geoff Canyon
Subject: Has anyone experimented with using Python within LC?

I've now figured out that calling a Python file from within LC is as easy
as:

put shell(quote & "" & quote && quote &
"" & quote)

Then whatever gets print()'ed in Python gets returned to LC. Has anyone done
work this way and has ideas on best practices for some sort of

1. generate python code
2. write python code to a file
3. write data to a (separate?) file
4. call the code
5. process the results

...loop?

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


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


RE: Check connection and timeout

2023-07-14 Thread Ralph DiMola via use-livecode
Bob,

I use this function to return an array of the timeouts.

function EIStsNetGetTimeouts
   local tTimeouts, tTsNetTimeoutArray
   put tsNetGetTimeouts() into tTimeouts
   put item 1 of tTimeouts into tTsNetTimeoutArray["DnsCacheTimeout"]
   put item 2 of tTimeouts into tTsNetTimeoutArray["RequestTimeoutMS"]
   put item 3 of tTimeouts into tTsNetTimeoutArray["ConnectTimeoutMS"]
   put item 4 of tTimeouts into tTsNetTimeoutArray["AcceptTimeoutMS"]
   put item 5 of tTimeouts into tTsNetTimeoutArray["LowSpeedTime"]
   put item 6 of tTimeouts into tTsNetTimeoutArray["LowSpeedLimit"]
   return tTsNetTimeoutArray
end EIStsNetGetTimeouts

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 Bob Sneidar via use-livecode
Sent: Friday, July 14, 2023 11:47 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Check connection and timeout

Thanks Ralph, very handy, but is there a way to get the timeout to see if
the command to set the timeout worked? I change networks frequently, and if
I do not disconnect and reconnect to my SQL database, I run the risk of
using a stale connection, and then I face the dreaded 60 second stall before
I can proceed.

Bob S


On Jul 14, 2023, at 8:36 AM, Ralph DiMola via use-livecode
 wrote:

Sorry,

It was mine...

function GetNetworkType
  local tLibUrlDriver
  try
 put the behavior of stack"revLibUrl" into tLibUrlDriver
  end try
  if tLibUrlDriver is empty then
 return "libURL"
  else
 return "tsNet"
  end if
end GetNetworkType

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net<mailto:rdim...@evergreeninfo.net>

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


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


RE: Check connection and timeout

2023-07-14 Thread Ralph DiMola via use-livecode
Sorry,

It was mine...

function GetNetworkType
   local tLibUrlDriver
   try
  put the behavior of stack"revLibUrl" into tLibUrlDriver
   end try
   if tLibUrlDriver is empty then
  return "libURL"
   else
  return "tsNet"
   end if
end GetNetworkType

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 
Bob Sneidar via use-livecode
Sent: Friday, July 14, 2023 11:21 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Check connection and timeout

getNetwotkType() is not a valid function. 

Bob S


> On Jul 14, 2023, at 8:14 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Ludovic,
> 
> Make sure that tsNet is active:
> 
> command NetworkType
>   if GetNetworkType() = "libURL" then
>  answer"tsNet is disabled(LibURL)"
>   else
>  answer "tsNet in use"&"Version==>"& tsNetVersion()
>   end if
> end NetworkType
> 
> Did you initialize tsNet? ==> tsNetInit
> 
> Disable tsNet ==> dispatch "revunloadlibrary" to stack "tsnetliburl"
> To enable tsNet ==> dispatch "revloadlibrary" to stack "tsnetliburl"
> 
> 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 Ludovic THEBAULT via use-livecode
> Sent: Friday, July 14, 2023 3:51 AM
> To: How to use LiveCode
> Cc: Ludovic THEBAULT
> Subject: Re: Check connection and timeout
> 
> 
> 
>> Le 14 juil. 2023 à 08:26, Ludovic THEBAULT via use-livecode 
>>  a écrit :
>> 
>> Hello,
>> 
>> I use this code to check is there is an internet connection :
>> 
>> tsNETSETTIMEOUTS 60,0,2000,6,5,1000
>> 
>> put tsNetHeadSync("https://google.com/;, tHeaders, tResult, tBytes) into 
>> tRecvHeaders
>> 
>>  if tResult begins with "tsneterr:" then
>> return false 
>>  else
>> return true 
>>  end if
>> 
>> 
>> But the setting for the timeout of tsNETSETTIMEOUTS is not active, I always 
>> have a 30 seconds timeout.
>> 
>> Is there an other settings ?
>> 
> 
> 
> Addendum :  it happen when there is a connection (aka in 4G or Wifi) but no 
> enough network.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


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


RE: Check connection and timeout

2023-07-14 Thread Ralph DiMola via use-livecode
Ludovic,

Make sure that tsNet is active:

command NetworkType
   if GetNetworkType() = "libURL" then
  answer"tsNet is disabled(LibURL)"
   else
  answer "tsNet in use"&"Version==>"& tsNetVersion()
   end if
end NetworkType

Did you initialize tsNet? ==> tsNetInit

Disable tsNet ==> dispatch "revunloadlibrary" to stack "tsnetliburl"
To enable tsNet ==> dispatch "revloadlibrary" to stack "tsnetliburl"

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 
Ludovic THEBAULT via use-livecode
Sent: Friday, July 14, 2023 3:51 AM
To: How to use LiveCode
Cc: Ludovic THEBAULT
Subject: Re: Check connection and timeout



> Le 14 juil. 2023 à 08:26, Ludovic THEBAULT via use-livecode 
>  a écrit :
> 
> Hello,
> 
> I use this code to check is there is an internet connection :
> 
> tsNETSETTIMEOUTS 60,0,2000,6,5,1000
> 
> put tsNetHeadSync("https://google.com/;, tHeaders, tResult, tBytes) into 
> tRecvHeaders
> 
>   if tResult begins with "tsneterr:" then
>  return false 
>   else
>  return true 
>   end if
> 
> 
> But the setting for the timeout of tsNETSETTIMEOUTS is not active, I always 
> have a 30 seconds timeout.
> 
> Is there an other settings ?
> 


Addendum :  it happen when there is a connection (aka in 4G or Wifi) but no 
enough network.


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


___
use-livecode mailing list
use-livecode@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 ish] Visual Code Editor and Line Endings

2023-07-11 Thread Ralph DiMola via use-livecode
Bob,

Know what you mean. Another program that's been running for years failed last 
week because MS changed the behavior of Excel in 365. Customer received the 
very useful error "Run-time error '1004' Unable to update the FreezePanes 
property of the windows class".

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 
Bob Sneidar via use-livecode
Sent: Monday, July 10, 2023 4:09 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: [OT ish] Visual Code Editor and Line Endings

Code is not the only editor to “assume” you want to change out all the line 
endings. Microsoft has been doing this for years. Just OPENING a file where the 
platform defaults differ from the document results in Microsoft Word altering 
the file, despite a user closing without saving. 

It is in my opinion a serious violation of trust on Microsoft’s part. Who made 
them the gods of data formatting that they think they can take this license 
with files that do not belong to them? 

Toshiba has an address book export function with line endings of a certain 
kind. If I open them in Word for Windows, edit the file and save it, everything 
works fine. If I just open the file on Word for MacOS it will “corrupt” the 
file, and I do mean corrupt! The file will become unusable even if it is not 
edited or saved. 

One of a hundred things that upset me about Microsoft. 

Bob S

> On Jul 10, 2023, at 9:25 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Beware!
> 
> 
> 
> I moved from Atom to Code 6-9 months ago. Didn't look back until yesterday.
> 
> Code does not support CR line endings. I received a text file that was 
> output from InDesign(latest version). I made a minor change in the 
> text file. I processed it with a program that had been around for 
> years. I sent the processed file to the customer and results were 
> disastrous. Unknown to me all the LFs in the file were changed without 
> warning to line endings.
> Apparently VC only has 2 line ending options LF and CRLF but not CR.
> Apparently I'm not the first to get bitten by this. An enhancement 
> request to support CR line endings has been around for 5 years and not 
> addressed.
> Seem like a simple fix, but what do I know about VC's internals.
> 
> 
> 
> Hope this prevents one of you from getting bitten..
> 
> 
> 
> 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


[OT ish] Visual Code Editor and Line Endings

2023-07-10 Thread Ralph DiMola via use-livecode
Beware!

 

I moved from Atom to Code 6-9 months ago. Didn't look back until yesterday.

Code does not support CR line endings. I received a text file that was
output from InDesign(latest version). I made a minor change in the text
file. I processed it with a program that had been around for years. I sent
the processed file to the customer and results were disastrous. Unknown to
me all the LFs in the file were changed without warning to line endings.
Apparently VC only has 2 line ending options LF and CRLF but not CR.
Apparently I'm not the first to get bitten by this. An enhancement request
to support CR line endings has been around for 5 years and not addressed.
Seem like a simple fix, but what do I know about VC's internals.

 

Hope this prevents one of you from getting bitten..

 

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


RE: Installing MySQL on Windows

2023-06-23 Thread Ralph DiMola via use-livecode
I was going to suggest that. On-Rev(LiveCode Hosting) started using MariaDB a 
while back. I had no compatibility issues with existing DBs.

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 
matthias rebbe via use-livecode
Sent: Friday, June 23, 2023 1:55 PM
To: How to use LiveCode
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: Installing mySQL on Windows

Couldn't you use MariaDB Server instead? As far as i know it is MySQL 
compatible.
MariaDB Server is available as .msi Installer.

Regards,
Matthias

> Am 23.06.2023 um 18:01 schrieb Bob Sneidar via use-livecode 
> :
> 
>  NVM. I think I found it. Unfortunately it looks live there is an 
> installer only for the 32 bit version. I was hoping to install a 64 bit 
> version on a 64 bit server. Oh well. 
> 
> Bob S
> 
> 
>> On Jun 23, 2023, at 8:50 AM, Bob Sneidar  wrote:
>> 
>> Hi all. 
>> 
>> The PC running mySQL server I’ve been using for some time took a dump. 
>> Thankfully I’ve been running a daily backup. Now I am trying to install 
>> mySQL server 64 bit on a new server, but it seems there is no installer! 
>> Instructions tell my to run some console commands. Is that the only way to 
>> do it?? I don’t remember jumping through all those hoops before, but it was 
>> many years ago. 
>> 
>> 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: Inclusions or Provisioning question

2023-06-23 Thread Ralph DiMola via use-livecode
I use MySQL in iOS app. I also included "SSL & Encryption" and "tsNet"

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Phone: 518-636-3998 Ex:11
Cell: 518-796-9332

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
prothero--- via use-livecode
Sent: Friday, June 23, 2023 1:00 PM
To: JJS via use-livecode
Cc: proth...@earthlearningsolutions.org
Subject: Re: Inclusions or Provisioning question

Also: I’ve tried “Internet, mySQL" inclusions. No luck.
Bill

> On Jun 23, 2023, at 9:48 AM, prothero--- via use-livecode 
>  wrote:
> 
> Folks:
> I have my app loading to my iPhone, but the last step is to be able to access 
> my mySql database that is resident on my web server. This all works on my 
> development computer. However, when I load the app to my iPhone, it won’t 
> connect to the internet.
> 
> So: my question is:
> Do I set this privilege on the “Inclusions” settings on the Livecode 
> “Standalone Application Settings”, or do I need to also go to Xcode or the 
> Development site and somehow add that capability to the provisioning profile? 
> Also, could I just add that capability to my existing profile (in XCode?), or 
> will I need to create a new provisioning profie?
> 
> If you can point me in the right direction to solve this, I would be VERY 
> appreciative. It’s my last hurdle.
> 
> Thanks,
> Bill Prothero
> 
> William A. Prothero, Ph.D.   (Emeritus)
> UCSB Dept. of Earth Sciences
> Santa Barbara, CA. 93105
> http://earthlearningsolutions.org/
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: Android Signing

2023-06-21 Thread Ralph DiMola via use-livecode
I'm sorry, I don't exactly remember. I think that came from the developer
console when I selected the pepk option when signing. You can always
"Request upload key reset" on the developer console in Setup==>App Integrity
in the "App signing" tab.

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 Dan Friedman via use-livecode
Sent: Wednesday, June 21, 2023 11:51 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: Android Signing

Ralph,

Thank you for the reply.  I have an old version of the pepk.jar from about a
year ago. didn't even try it as I figured it could not be used.  I'll give
it a try. but, where did you/I get the encryptionkey?
SomeVeryLongHexString?

-Dan


From: use-livecode  on behalf of
Ralph DiMola via use-livecode 
Date: Wednesday, June 21, 2023 at 8:18 AM
To: 'How to use LiveCode' 
Cc: Ralph DiMola 
Subject: RE: Android Signing
Dan,

This is how I did it. NOTE: pepk-v1.jar is just my name for the version that
worked. I can post this version if you would like to try it?

Actual output from win 10 command line: (names changed to protect the
innocent)
---
java -jar pepk-v1.jar --keystore=MyKeyStore.keystore
--alias=AppKeyStoreAilias --output=z:\SomPath\encryptedKey.key
--encryptionkey=SomeVeryLongHexString

Enter password for store 'MyKeyStore.keystore':

Enter password for key 'AppKeyStoreAilias':
--

I then had encryptedKey.key file created.


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Phone: 518-636-3998 Ex:11
Cell: 518-796-9332


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Dan Friedman via use-livecode
Sent: Wednesday, June 21, 2023 1:24 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: Android Signing

Jacqueline,

Thank you for the reply.  That is EXACLY what I am doing.  I downloaded the
public key and the PEPK tool.  Pointed the command to the existing keystore
file and got this error: "Cannot find any provider supporting
RSA/NONE/OAEPWithSHA1AndMGF1Padding..."  It looks like there is an error in
the PEPK tool.  "/NONE/" is not a supported encryption!   I would think it
would be "/AES/".

-Dan



From: use-livecode  on behalf of J.
Landman Gay via use-livecode 
Date: Tuesday, June 20, 2023 at 12:42 PM
To: How to use LiveCode 
Cc: J. Landman Gay 
Subject: Re: Android Signing
On 6/19/23 5:29 PM, Dan Friedman via use-livecode wrote:
> I am trying to update an Android app that was previously release on 
> the
Google Play Store.   When I went to upload the Bundle, I got this message:
>
> "To upload an Android App Bundle you must be enrolled in Play App
Signing."
>
> With a little research, I found the App Signing area under "App
Integrity".   I tried to follow the directions, but I just get errors.
Anyone done this?  If so, do you have any guidance on this?

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

Then look at this:
<https://developer.android.com/studio/publish/app-signing#enroll_existing>

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

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

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

Let us know where you get stuck, though I can't promise I can help. I
congratulate Google on making Android submissions nearly as difficult as
iOS. We need an LC lesson this this.

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

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


___
use-livecode mailing list
use-li

RE: Android Signing

2023-06-21 Thread Ralph DiMola via use-livecode
Dan,

This is how I did it. NOTE: pepk-v1.jar is just my name for the version that
worked. I can post this version if you would like to try it?

Actual output from win 10 command line: (names changed to protect the
innocent)
---
java -jar pepk-v1.jar --keystore=MyKeyStore.keystore
--alias=AppKeyStoreAilias --output=z:\SomPath\encryptedKey.key
--encryptionkey=SomeVeryLongHexString

Enter password for store 'MyKeyStore.keystore':

Enter password for key 'AppKeyStoreAilias':
--

I then had encryptedKey.key file created.


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
Phone: 518-636-3998 Ex:11
Cell: 518-796-9332


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Dan Friedman via use-livecode
Sent: Wednesday, June 21, 2023 1:24 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: Android Signing

Jacqueline,

Thank you for the reply.  That is EXACLY what I am doing.  I downloaded the
public key and the PEPK tool.  Pointed the command to the existing keystore
file and got this error: "Cannot find any provider supporting
RSA/NONE/OAEPWithSHA1AndMGF1Padding..."  It looks like there is an error in
the PEPK tool.  "/NONE/" is not a supported encryption!   I would think it
would be "/AES/".

-Dan



From: use-livecode  on behalf of J.
Landman Gay via use-livecode 
Date: Tuesday, June 20, 2023 at 12:42 PM
To: How to use LiveCode 
Cc: J. Landman Gay 
Subject: Re: Android Signing
On 6/19/23 5:29 PM, Dan Friedman via use-livecode wrote:
> I am trying to update an Android app that was previously release on the
Google Play Store.   When I went to upload the Bundle, I got this message:
>
> "To upload an Android App Bundle you must be enrolled in Play App
Signing."
>
> With a little research, I found the App Signing area under "App
Integrity".   I tried to follow the directions, but I just get errors.
Anyone done this?  If so, do you have any guidance on this?

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

Then look at this:
<https://developer.android.com/studio/publish/app-signing#enroll_existing>

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

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

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

Let us know where you get stuck, though I can't promise I can help. I
congratulate Google on making Android submissions nearly as difficult as
iOS. We need an LC lesson this this.

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

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


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


RE: Android Signing

2023-06-21 Thread Ralph DiMola via use-livecode
Dan,

Now this is starting to be familiar. As I remember it I got an error with
the tool. After many searches I found out there was some problem with the
most recent version of the PEPK tool. I had to download an older version. It
then worked as expected.

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 Dan Friedman via use-livecode
Sent: Wednesday, June 21, 2023 1:24 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: Re: Android Signing

Jacqueline,

Thank you for the reply.  That is EXACLY what I am doing.  I downloaded the
public key and the PEPK tool.  Pointed the command to the existing keystore
file and got this error: "Cannot find any provider supporting
RSA/NONE/OAEPWithSHA1AndMGF1Padding..."  It looks like there is an error in
the PEPK tool.  "/NONE/" is not a supported encryption!   I would think it
would be "/AES/".

-Dan



From: use-livecode  on behalf of J.
Landman Gay via use-livecode 
Date: Tuesday, June 20, 2023 at 12:42 PM
To: How to use LiveCode 
Cc: J. Landman Gay 
Subject: Re: Android Signing
On 6/19/23 5:29 PM, Dan Friedman via use-livecode wrote:
> I am trying to update an Android app that was previously release on the
Google Play Store.   When I went to upload the Bundle, I got this message:
>
> "To upload an Android App Bundle you must be enrolled in Play App
Signing."
>
> With a little research, I found the App Signing area under "App
Integrity".   I tried to follow the directions, but I just get errors.
Anyone done this?  If so, do you have any guidance on this?

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

Then look at this:
<https://developer.android.com/studio/publish/app-signing#enroll_existing>

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

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

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

Let us know where you get stuck, though I can't promise I can help. I
congratulate Google on making Android submissions nearly as difficult as
iOS. We need an LC lesson this this.

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

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


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


RE: Android Signing

2023-06-20 Thread Ralph DiMola via use-livecode
+1

1980: Programming 95% Security 5%
2023: Programming 5% Security 95%

This is an economic killer. Smashing rocks at Leavenworth too good.

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 
Bob Sneidar via use-livecode
Sent: Tuesday, June 20, 2023 5:03 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Android Signing

If we want digital security to become simpler, we will have to all agree to 
some significant degree of retaliation against the criminals who are constantly 
trying to take everything everyone has, and we are not going to do that. We 
call that, “uncivilized.” As I am wont to say, people do not change their 
behavior until it hurts not to. 

Bob S


> On Jun 20, 2023, at 1:57 PM, Mark Smith via use-livecode 
>  wrote:
> 
> On 20 Jun 2023, at 8:41 pm, J. Landman Gay via use-livecode 
>  wrote:
> 
> I congratulate Google on making Android submissions nearly as difficult as 
> iOS. We need a LC lesson on this.
> 
> 藍
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


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


RE: Code-Signing Frustration

2023-06-19 Thread Ralph DiMola via use-livecode
I did not have a problems deleting old ones. I have deleted them all in the 
past. In Xcode preferences I downloaded all the current profiles from the 
developer console and everything still worked for the current profiles but the 
folder (and LC choices) were cleaned up to current.

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 
prothero--- via use-livecode
Sent: Monday, June 19, 2023 1:36 PM
To: JJS via use-livecode
Cc: proth...@earthlearningsolutions.org
Subject: Re: Code-Signing Frustration

Thanks for the help. I did get it to load and thanks for the tip about setting 
“Developer Mode” on my iPhone, rather than searching around in the Apple 
Development site.

I must have failed to add a provision for the internet access (wifi), because 
it doesn’t now, but I’ll just have to check out “inclusions” in my profile and 
figure it out. At least I passed an obscure hurdle.

Are there any issues with obsolete provisions? I’m deleting them from the Apple 
./Library/MobileDevice/Provisioning Profiles/  folder. My question, though is:
Is this where the iOS build gets its provisioning profiles? Or, does it refer 
back to xCode? I am operating under the assumption that if I create a 
provisioning profile in the online Developer site, then download it, then, in 
the downloads folder, double click on it (with XCode running  .. or us xCode 
necessary?), it will get put in the correct place. AND I’m assuming that 
correct place is in the ./Library/MobileDevice/Provisioning Profiles/  folder.
Correct?

Thanks for your help and feedback. I hope it might serve as a wakeup for those 
documenting the code signing and provisioning process to be aware of roadblocks 
that folks who don’t do this often will face,.

Best,
Bill

> On Jun 19, 2023, at 9:56 AM, panagiotis m via use-livecode 
>  wrote:
> 
> Yay :)
> 
> @Bill
> I think you can enable Developer Mode from the Settings app of your iPhone.
> No need to rebuild/reinstall your iOS app.
> 
> Cheers,
> Panos
> 
> On Mon, 19 Jun 2023, 19:50 prothero--- via use-livecode, < 
> use-livecode@lists.runrev.com> wrote:
> 
>> Folks:
>> Thanks! That was the problem. I had the “Beta ..” mode selected. 
>> Seemed logical, but then I forgot about it. Wow, what a waste of time.
>> 
>> Now the app loads to my iPhone. However, when I activate it, it says 
>> “Developer Mode Required”. Since I have wasted so much time on this 
>> so far, I’ll ask:  “What’s the best way to set up Developer Mode”. Do 
>> I need to make a new provisioning profile or can I just edit the one I’m 
>> using now?
>> 
>> Thanks,
>> Bill
>> 
>>> On Jun 19, 2023, at 8:45 AM, J. Landman Gay via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Good catch Panos, I forgot about that tricky checkbox. It should be
>> relabeled, especially since its behavior is the opposite of what one 
>> would expect.
>>> 
>>> Change it to "TestFlight" or "Apple distribution" or something. If 
>>> Swami
>> hadn't mentioned it once I'd be here with the same frustrations.
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive 
>>> Software | http://www.hyperactivesw.com On June 19, 2023 9:29:52 AM 
>>> panagiotis m via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>>> Hello Bill,
>>>> 
>>>> Do you by any chance have the "beta version" checkbox checked in 
>>>> the iOS standalone settings?
>>>> 
>>>> Cheers,
>>>> Panos
>>>> 
>>>> On Mon, 19 Jun 2023, 17:25 prothero--- via use-livecode, < 
>>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>>> Panos:
>>>>> The UDID is the correct one for the new iPhone. I had updated it. 
>>>>> I get the error message when I’m loading the app for debug, 
>>>>> directly from the livecode IDE. It’s where you can choose to debug 
>>>>> in the simulator, or
>> if
>>>>> the iPhone is plugged in, directly on the iphone. If I try to just
>> build
>>>>> the iOS app, I don’t get an error message. I’m not loading it from
>> XCode
>>>>> directly, but am using the debug command in the Livecode IDE.
>>>>> 
>>>>> Best,
>>>>> Bill
>>>>> 
>>>>>> On Jun 18, 2023, at 9:34 PM, panagiotis m via use-livecode <
>>>>> use-livecode@lists.runrev.com>

RE: generate an Array using value for naming the keys?

2023-05-11 Thread Ralph DiMola via use-livecode
Mark,
I will start doing this. I have a headache just thinking of the last time I
had some complex keys and trying to read the code with the afore mentioned
quotes and ampersands. Learn something new every day. 

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 Mark Waddingham via use-livecode
Sent: Thursday, May 11, 2023 10:51 AM
To: How to use LiveCode
Cc: Mark Waddingham
Subject: Re: generate an Array using value for naming the keys?

On 2023-05-11 15:47, matthias rebbe via use-livecode wrote:
> Mark, thank you very much!
> 
> i didn't know or remember that the key name of an array can be created 
> directly using strings and variables
> 
> Maybe i even did that in the past, but could not remember anymore. I 
> really thought i have solved it that time with value()  :)

No problem - of course, I used & in my example - but when I'm doing stuff
like that I tend to use format:

put tFoo[format("wp_%s_%s", tMiddlePart, tSuffix)] into
tMiddlePartSuffixValue

It does the same job, but I find it more readable (as the structure of the
string can be seen immediately without having to wade through quotes and
ampersands :)

Warmest Regards,

Mark.

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

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


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


RE: Cannot make a standalone after upgrading to Mac Mini and Ventura

2023-05-10 Thread Ralph DiMola via use-livecode
I had this happen when I had more than one license. One old and a new with
"pro". I picked the one(default) without the "pro" features and had only a
couple of platforms. I relicensed selected "pro" and had all platforms.

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 Craig Newman via use-livecode
Sent: Wednesday, May 10, 2023 4:51 PM
To: How to use LiveCode
Cc: Craig Newman
Subject: Cannot make a standalone after upgrading to Mac Mini and Ventura

All.
Help
I got a new Mac Mini a month ago. Lovely. Working with LC on it. Lovely.

I tried to make a windows standalone from the same project I have for years.
In the Applications Settings I cannot select the Windows pane. It is
essentially disabled, and looks like it.

In fact, I cannot select any pane except the Mac one. The Mac standalone
proceeds as usual, but there is nothing done on the Windows side.

I made a brand new stack. Same issue; only the Mac pane is accessible.

Before I put the splash stack and the mainStack on a thumb drive and reload
them back on my old iMac to make an updated standalone, is it me or Ventura?

Craig

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


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


RE: opencard and visual effect

2023-05-02 Thread Ralph DiMola via use-livecode
The rendering get done after preOpenCard completes. In preOpenCard you can set 
up your data and geometry before the card is displayed. Try timing from the 
start of preOpenCard to start the openCard handlers.

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 
Klaus major-k via use-livecode
Sent: Tuesday, May 02, 2023 12:08 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: opencard and visual effect

Hi Håkan

> Am 02.05.2023 um 17:56 schrieb Håkan Liljegren via use-livecode 
> :
> 
> AFTER!
> 
> Create two cards
> Add a button or something on the first card with the code on mouseUp
>   visual effect dissolve slow
>   go to next card
> end mouseUp
> 
> On the second card add a control and the hide it and add the script to the 
> card:
> on opencard
>   show control 1
> end opencard
> 
> You will then clearly see that the first card dissolves slowly and 
> when the transition is done the control appears (no cross-dissolve) The 
> preOpenCard is run before and the openCard is run after.

hm, not sure, I made a test here by myself.

Button to go to next cd with a visual effect:
...
put the millisecs
## go_next is in the stack script and goes to the next card:
## lock screen for visual effect
## set the effectrate to 300
## go next cd
## unlock screen with visual wipe left very slow go_next ...
Then on the "next" cd I scripted:
---
on opencard
  put the millisecs into tMillisecs
  put CR & tMillisecs after msg
end opencard
---
And I ended with this in the msg:
1683043067873
1683043067877

Only 4 millisecs difference, but with the set effectrate the difference should 
be at least 300!?
So I guess "opencard" is already sent BEFORE the visual effect, at least 
according to the above data, right?

Molto mysterioso... :-)

Someone knows exactly?

> :-Håkan
> 
>> On 2 May 2023, at 15:06, Klaus major-k via use-livecode 
>>  wrote:
>> 
>> Hi friends,
>> 
>> quick question:
>> Will "opencard" be sent to a card AFTER the card was navigated to 
>> with a visual effect or already during the effect?
>> I cannot tell actually in my stack.

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: mySQL and primary key

2023-04-30 Thread Ralph DiMola via use-livecode
JBV,

This looks like a server timeout. There is a mySQL server ini file parameter
"ExecTimeLimit" There is also a phpMyAdmin ini file "LoginCookieValidity"
timeout parameter. If you can't get those changed(especially "ExecTimeLimit"
so you can do it by script) you will be forced to create a new table with a
primary key and copy the data over in chunks small enough to avoid a
timeout.

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 jbv via use-livecode
Sent: Saturday, April 29, 2023 7:40 AM
To: How to use LiveCode
Cc: j...@souslelogo.com
Subject: mySQL and primary key

Hi list,

I have a mySQL table with 1350 entries that weights almost 20 Gb.
I need to create a primary key on the "id" column.
I have tried in phpMyAdmin as well as in a script with "ALTER TABLE myTable
ADD PRIMARY KEY(id)", but each time I get a "504 Gateway Timeout" error, and
no index is created.

What else can I try ?

Thank you in advance.
jbv

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


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


RE: error while signing Android app

2023-04-20 Thread Ralph DiMola via use-livecode
I've always used "Keystore Explorer". It's Java based so it runs on any
platform. Lots of options and a decent GUI. Give it a shot and see what's in
your keystore file.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Thursday, April 20, 2023 12:12 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: error while signing Android app

I did a search for the first few words of the error message and got a lot of
hits. Here's one:

https://stackoverflow.com/users/login?ssrc=head=https%3a%2f%2fstac
koverflow.com%2fquestions%2f23750259%2fcertificate-chain-not-found-how-to-fi
x-and-publish-to-google-play-store

There are several solutions but it sounds like the keystore file can't be
found, or else the alias name doesn't match the keystore fillename. It may
be that the keystore tool you're using assigned a different alias name.

I wonder if diacriticals or foreign characters may interfere. Name your
alias and keystore with a single word using only plain ascii, no spaces or
punctuation. The outside world will never see it.

It's not hard to just use Terminal to generate your own keystore. That way
you know what's in there.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
http://www.hyperactivesw.com On April 20, 2023 4:16:55 AM Klaus major-k via
use-livecode  wrote:

> Hi all,
>
>> Am 19.04.2023 um 22:08 schrieb Klaus major-k via use-livecode
>> :
>>
>> Hi Jacque,
>>
>>> Am 19.04.2023 um 21:43 schrieb J. Landman Gay via use-livecode
>>> :
>>> On 4/19/23 10:56 AM, Klaus major-k via use-livecode wrote:
>>>> Hi friends,
>>>> I created a selfsigning keystore with the app "Keymaker.app", which 
>>>> worked fine for my last app created with LC 9.6.8.
>>>> But with LC 9.6.9 I get this LC error:
>>>> ---
>>>> There was an error while saving the standalone application signing 
>>>> failed - Certificate chain not found for: (PWD here) (PWD here) 
>>>> must reference a valid KeyStore key entry containing a private key 
>>>> and corresponding public key certificate chain
>>>> 
>>>> <https://www.dropbox.com/s/tgoqh4wh6cetbhl/keystore%20error.png?dl=
>>>> 0> Do I need to crewate the key with Android Studio?
>>> Could this be related to the dialog box error that misplaces the 
>>> insertion point when you type?
>> no, that looks like it has been fixed in LC 9.6.9 stable.
>>> Or did you get the error before it asked for the password?
>> No, that happens after I had entered all the passwords.
>
> I don't even know what the dialog ist trying to tell me.
> Any ideas? Thank you.
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




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


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


RE: How to loop through stacks with same name?

2023-04-05 Thread Ralph DiMola via use-livecode
Use "filter". It is blazingly fast.

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: Wednesday, April 05, 2023 12:49 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: How to loop through stacks with same name?

It should be fairly instant, I use a similar handler routinely. It doesn't
check all the mainstacks, only determines if the name is in the list. Then
it deletes the named stack directly.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
http://www.hyperactivesw.com On April 5, 2023 10:17:31 AM Bob Sneidar via
use-livecode  wrote:

> Whoa! No I'm not! There's over 300 mainstacks just from Livecode!
>
> Bob S
>
>
> On Apr 5, 2023, at 08:07, Bob Sneidar via use-livecode 
>  wrote:
>
> Oooh Pro Tip #276 from Jacque. I'm gonna use that one.
>
> 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: Debugging LiveCode Builder scripts (widgets)

2023-03-30 Thread Ralph DiMola via use-livecode
Ben,

You could try to dispatch messages to LCS. They may be buffered also, it's
worth a shot.

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 Ben Rubinstein via use-livecode
Sent: Thursday, March 30, 2023 12:33 PM
To: Use LiveCode
Cc: Ben Rubinstein
Subject: Debugging LiveCode Builder scripts (widgets)

I'm trying to track down an obscure crashing bug in a widget.

With thanks to Mikey for
https://github.com/macMikey/LCB-missing-manual/wiki/debugging, I've mostly
been able to get by using 'log' as my primary debugging method, for all my
simple scripting errors.

However in this case the problem is that under certain circumstances
LiveCode/the widget hangs when new data is set. In this case (I'm reasonably
certain) the log messages that are issued are never reported. The standard
things seems to be that messages sent by 'log' are buffered, and reported
when idle.

Are there any tips for putting out debugging info from a widget that can
either be displayed/reported _immediately_ in LiveCode, or to some other app
so that I can get them up to the point that it hangs?

TIA, Ben

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


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


RE: [[ ANN ]] Release 9.6.9 RC-3

2023-03-29 Thread Ralph DiMola via use-livecode
Thanks!

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 panagiotis m via use-livecode
Sent: Wednesday, March 29, 2023 11:25 AM
To: How to use LiveCode
Cc: panagiotis m
Subject: Re: [[ ANN ]] Release 9.6.9 RC-3

Hello Ralph,

The public downloads page only contains the latest stable version - no DPs
or RCs there.

You can access the release notes from the LC 9.6.9 rc3 IDE:

Help -> Release Notes

Also, in your account area, at the left hand side there is a Downloads page,
which does have the release notes.

Kind regards.
Panos


On Wed, 29 Mar 2023 at 18:19, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I see the old download page only has the current production version. I 
> went to my account and was able to download the installers but I don't 
> see a link for the release notes?
>
> 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 panagiotis merakos via use-livecode
> Sent: Wednesday, March 29, 2023 10:08 AM
> To: How to use LiveCode
> Cc: panagiotis merakos
> Subject: [[ ANN ]] Release 9.6.9 RC-3
>
> Dear list members,
>
> We are pleased to announce the release of LiveCode 9.6.9 RC-3.
>
> LiveCode 9.6.9 RC-3 comes with more than 25 bugfixes and improvements, 
> including support for building with Xcode 14.2 and the iOS 16.2 SDK to 
> meet the new requirements of the Apple AppStore.
>
> You can find more details on the bug fixes and improvements of this 
> new release here:
>
> https://livecode.com/9-6-9-rc-3-released-support-for-ios-16/
>
> You can find the release in your LiveCode account area or get it via 
> the automatic updater.
>
> Enjoy!
>
> Kind regards
> The LiveCode Team
> --
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: [[ ANN ]] Release 9.6.9 RC-3

2023-03-29 Thread Ralph DiMola via use-livecode
I see the old download page only has the current production version. I went
to my account and was able to download the installers but I don't see a link
for the release notes?

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 panagiotis merakos via use-livecode
Sent: Wednesday, March 29, 2023 10:08 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: [[ ANN ]] Release 9.6.9 RC-3

Dear list members,

We are pleased to announce the release of LiveCode 9.6.9 RC-3.

LiveCode 9.6.9 RC-3 comes with more than 25 bugfixes and improvements,
including support for building with Xcode 14.2 and the iOS 16.2 SDK to meet
the new requirements of the Apple AppStore.

You can find more details on the bug fixes and improvements of this new
release here:

https://livecode.com/9-6-9-rc-3-released-support-for-ios-16/

You can find the release in your LiveCode account area or get it via the
automatic updater.

Enjoy!

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


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


RE: LCB development

2023-03-14 Thread Ralph DiMola via use-livecode
For debugging I dispatch a message to a LCS handler with an answer box.

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 Ben Rubinstein via use-livecode
Sent: Tuesday, March 14, 2023 1:09 PM
To: Use LiveCode
Cc: Ben Rubinstein
Subject: LCB development

I last dabbled with LCB about five years ago - but now I have a need to get
in there again.

Are there any tips that you-all can share?

In particular:

- what if anything is available for debugging LCB widgets?

- I've found a reference to a LiveCode Builder CLM module developed by James
Hale - where might I find this?

- a really basic question - if I make a change to an LCB widget, defined in
~/Documents/LiveCode/Extensions; what's the quickest route to testing it?
Can I delete and re-add the widget? Or do close+remove-from-memory the
stack, and then reopen it? Or do I need to quit and relaunch LiveCode in
order to see the change?

- any other pointers or suggestions gratefully received.

TIA,

Ben

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


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


RE: diagnosing android crash at launch

2023-03-06 Thread Ralph DiMola via use-livecode
Are you using the correct build type for the device? Maybe get rid of all the 
inclusions and see if that changes things.

Panos, any thoughts on the top of the logcat?

-- Forwarded message --
From: Mike Kerner 
Date: Mar 6, 2023 9:43 AM
Subject: Re: diagnosing android crash at launch
To: rdimo...@evergreeninfo.net

No joy on the preOpenStack handler.
remember i'm a droid n00b, so i am doing one or more things wrong.
logcat starts throwing errors with the linker, and there are many:
first line:
library "/system/lib64/libandroid_runtime.so" 
("/system/lib64/libandroid_runtime.so") needed or dlopened by 
"/data/app/com.appjobshop.myShop-uo72Q28_SKmocZ-1MUD1tw==/lib/arm64/librevandroid.so"
 is not accessible for the namespace: [name="classloader-namespace", 
ld_library_paths="", 
default_library_paths="/data/app/com.appjobshop.myShop-uo72Q28_SKmocZ-1MUD1tw==/lib/arm64:/data/app/com.appjobshop.myShop-uo72Q28_SKmocZ-1MUD1tw==/base.apk!/lib/arm64-v8a",
 permitted_paths="/data:/mnt/expand:/data/data/com.appjobshop.myShop"]

On Sun, Mar 5, 2023 at 8:29 PM  wrote:
Mike,

Start with an answer box at the top of the preopenstack handler just to see if 
it gets there. Doing a logcat from adb at the command prompt will show what's 
crashing. I don't know if the debugger will help.

This email address will probably not make it to the list.

Ralph DiMola
Evergreen Information Services


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 
Mike Kerner via use-livecode
Sent: Sunday, March 05, 2023 3:52 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: diagnosing android crash at launch

i have an app thad works fine on ios. i just built it for android to test it 
out. at launch i get a black screen, and then the app crashes.
do we have any tricks for diagnosing this behavior?

--
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: Livecode Hosting

2023-02-27 Thread Ralph DiMola via use-livecode
David,

I currently use it for production. Its had 99.99% up time. The emergency help 
desk response time is usually within 15 to 30 minutes. Also provides 
preinstalled/help for LC server.

My two cents...

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 
David Bovill via use-livecode
Sent: Monday, February 27, 2023 9:42 AM
To: How to use LiveCode
Cc: David Bovill
Subject: Livecode Hosting

I’m wondering what the current status and plans are with Livecode hosting?

I have / had lifetime On-Rev hosting - but never really used it preferring to 
host myself. Is there still a Livecode hosting option available?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

2023-02-21 Thread Ralph DiMola via use-livecode
Paul,

This is a bug in the ask dialog. Watch as you type the password and you will
notice the first character typed will be at the end because the cursor moves
preceding the first character typed. I went nuts getting the "key password
was incorrect or key associated with  not a private key"
See bug 24013.

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 Paul Richards via use-livecode
Sent: Tuesday, February 21, 2023 3:36 PM
To: How to use LiveCode
Cc: Paul Richards
Subject: Android build 

Hi , all.

Has anybody else had issues creating an existing app in 9.6.9 RC 2 for
Android only ?

In 9.6.8 I am able to push the app straight to my tablet from the IDE
without issue, I can also save as standalone without issue.

In 9.6.8 RC2 when I try to push app to device from the IDE I get
"installation of app failed: [BT:1.8.0] Error: File
C:\users\paul\appdata\local\temp\tmp15.apks' was not found.
Java.lang.illegalArgumentException: File
c:\users\paul\appdata\ocal\temp\tmp15.apks' was not found.
At
com.google.common.base.preconditions.checkArgument(preconditions.java:217)

In 9.6.9 RC2 - If I try to save as a standalone application, I am prompted
to enter the keystore alias and password (same details entered when in
9.6.8) - This results in "There was an error while saving the standalone
application signing failed - key password was incorrect or key associated
with  not a private key"

Go back into 9.6.8 and everything works perfectly.

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


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


RE: Standalone riddle

2023-01-20 Thread Ralph DiMola via use-livecode
Already snoozing.
Thanks Mark!

From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Friday, January 20, 2023 4:47 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Standalone riddle

On 1/20/23 2:36 AM, Mark Waddingham via use-livecode wrote:
> On 2023-01-17 21:39, J. Landman Gay via use-livecode wrote:
>> That's true, but is there a way to avoid including the remote 
>> debugger in a test app when the device is cabled to the computer?
> 
> I think you just need to ensure 'Script Debug Mode' is turned off 
> before clicking Test. (The remote debugger adds and removes itself 
> from an internal list of things to include when using test as the
preference/option changes).

Perfect, thank you. Now Ralph can rest easy. :)

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


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


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


RE: Maximum field size

2023-01-19 Thread Ralph DiMola via use-livecode
Craig,

You are probably exceeding the 32k pixel limit of the field height.

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 
Craig Newman via use-livecode
Sent: Thursday, January 19, 2023 2:00 PM
To: How to use LiveCode
Cc: Craig Newman
Subject: Re: Maximum field size

Guys, (and Jacque)

I made my test with lines of 14 chars. Lots of lines.   LC crashes.

Craig

> On Jan 19, 2023, at 10:10 AM, Craig Newman  wrote:
> 
> The stack I made to test this became corrupted after a couple of runs. I 
> guess the way to do this is to increase the length until a crash, not 
> decrease.
> 
>> On Jan 19, 2023, at 10:09 AM, Craig Newman  
>> wrote:
>> 
>> But I assume that there is a value where a field can be loaded and display a 
>> large amount of text. It would be simple to find that value if LC didn’t 
>> crash each time it was attempted along the way.
>> 
>> Craig
>> 
>>> On Jan 19, 2023, at 10:06 AM, Craig Newman  
>>> wrote:
>>> 
>>> David.
>>> 
>>> You want to display 1.39 GB in a field? Will it scroll?
>>> 
>>> I made a quick test stack that created a variable with a length of 1.4 GB. 
>>> No problem.
>>> 
>>> But when I tried to put that variable into a field, LC crashed. When I 
>>> tried to put 140 MB into a field, same crash. I did not continue to reduce 
>>> the length of that variable until the field could be loaded.
>>> 
>>> Craig
>>> 
>>>> On Jan 18, 2023, at 7:46 PM, Paul Dupuis via use-livecode 
>>>>  wrote:
>>>> 
>>>> I thought the theoretical limit was 4GB (32bits of characters) but I may 
>>>> be wrong or there may be practical limits below that threshold.
>>>> 
>>>> 
>>>> On 1/18/2023 7:29 PM, David Epstein via use-livecode wrote:
>>>>> How many rows or columns or characters can reasonably be displayed in a 
>>>>> LiveCode field?  A 1.39 GB text file seems pretty clearly to surpass the 
>>>>> limit, but how much do I need to subdivide it?
>>>>> 
>>>>> David Epstein
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>>> 
>>>> ___
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
> 


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


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


RE: Maximum field size

2023-01-19 Thread Ralph DiMola via use-livecode
David,

I believe the field limit for X and Y is 32767 pixels. Or is it 65535? 32767
sticks in my head. I have run into this limit a few times and had to chunk
the data in/out the field as the user scrolls. As Craig noted variables
don't have this limit.

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 Craig Newman via use-livecode
Sent: Thursday, January 19, 2023 10:07 AM
To: How to use LiveCode
Cc: Craig Newman
Subject: Re: Maximum field size

David.

You want to display 1.39 GB in a field? Will it scroll?

I made a quick test stack that created a variable with a length of 1.4 GB.
No problem.

But when I tried to put that variable into a field, LC crashed. When I tried
to put 140 MB into a field, same crash. I did not continue to reduce the
length of that variable until the field could be loaded.

Craig

> On Jan 18, 2023, at 7:46 PM, Paul Dupuis via use-livecode
 wrote:
> 
> I thought the theoretical limit was 4GB (32bits of characters) but I may
be wrong or there may be practical limits below that threshold.
> 
> 
> On 1/18/2023 7:29 PM, David Epstein via use-livecode wrote:
>> How many rows or columns or characters can reasonably be displayed in a
LiveCode field?  A 1.39 GB text file seems pretty clearly to surpass the
limit, but how much do I need to subdivide it?
>> 
>> David Epstein
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: Standalone riddle

2023-01-16 Thread Ralph DiMola via use-livecode
Can we turn off remote debugger for a test build so we can, how can I say
it, hmm... I got it! Test?

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: Sunday, January 15, 2023 6:58 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Standalone riddle

On 1/15/23 2:44 PM, Ralph DiMola via use-livecode wrote:
> I'd be interested to see if what difference there is between the test 
> apk and the standalone builder apk. This has me a bit worried. If you 
> want to send me the 2 apks I will dive in and see at least what 
> file(s) are different.

I think I've figured it out; the files won't be any different. Test builds
always include the remote debugger, standalones do not unless you
specifically select it in Inclusions. I didn't do that, and I have an
errorDialog handler in the stack, so I think that's causing the appearance
of the error dialog in the standalone. In the test app the error seems to be
ignored (but don't ask me why...)

I've submitted a bug report:
<https://quality.livecode.com/show_bug.cgi?id=24075>

The stack is for my own use, a very (not so attractive) minimal LC
dictionary lookup so I can check syntax when I'm not at my computer. You can
download it from the report. Maybe someone else will find it useful. It uses
James Hale's docset for reference. I couldn't get his Docset Reader to work
reliably on Android, and I didn't need all the extra LC Builder and Guides
documentation, so this is just a stripped-down list of dictionary terms.

The fix is mentioned in the report. Just comment out line 71 and uncomment
the line with the fix. Checking the current card before initiating a search
is the workaround.

-- 
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: Standalone riddle

2023-01-15 Thread Ralph DiMola via use-livecode
I'd be interested to see if what difference there is between the test apk
and the standalone builder apk. This has me a bit worried. If you want to
send me the 2 apks I will dive in and see at least what file(s) are
different.

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: Saturday, January 14, 2023 6:25 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Standalone riddle

On 1/14/23 1:55 AM, Geoff Canyon via use-livecode wrote:
> This doesn't solve the puzzle, but: use a stack property to store the 
> value instead?

The value is entered correctly and displays after I dismiss the error
dialog. I have finally found where the issue is, but I don't know why it
happens. The normal sequence is pretty simple:

1. Enter a search term and hit the return key on the virtual keyboard. This
triggers the inputReturnKey message.

2. InputReturnKey calls handler doSearch, which looks up the definition,
populates a browser widget on card 2, and goes to card 2.

What is happening is that inputReturnKey is being sent twice. The first time
it works as expected, but the second time we are already on card 2 and the
controls on card 1 are no longer available. Ergo, I get the "no such object"
error. I found this by inserting "checkCd the params" at the beginning of
doSearch. CheckCd does this:

on checkCd pParams -- track inputReturnKey error
   put pParams  into tData -- the calling handler params
   put the executionContexts after tData
   answer tData
end checkCd

...and I got two dialogs in a row. I could see card 2 behind the second one,
which was a debug errorDialog instead of an answer dialog.

So the burning question is why does a single tap on the return key send two
duplicate inputReturnKey messages, and why does that happen only in a built
standalone?

Maybe I won't embarrass myself if I enter a bug report now.

-- 
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: Standalone riddle

2023-01-13 Thread Ralph DiMola via use-livecode
I would try to install the "Test version" on another Android device and see
if it runs OK. Then it would narrow it to the building process.
The "test" apk will be in some temp folder. I will look for it you can't
find it.

Ralph DiMola
IT Director
Evergreen Information Services

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Friday, January 13, 2023 4:42 PM
To: LiveCode Mailing List
Cc: J. Landman Gay
Subject: Standalone riddle

I have a 2-card stack, very simple. The first card has a plain text list
field and an editable search field. The user types in a string and the
resulting match is displayed on card 2 with definitions. The stack requires
no inclusions and scripts are extremely basic. I use a native Android field
for the search term, and since mobile controls will be removed when the card
closes, I place the search term into a hidden LC field for later reference.

I build for Android using LC 10 dp 4, signed for "development only". If I
cable the phone to the Mac and do a Test build, the apk runs perfectly. If I
build an independent standalone and install the apk from Google Drive, it
runs fine except when putting the search term into the LC field, where it
claims there is no such object. It is most certainly there on the card.

I can fix this instance by using "field x of me" but then I get the same
error in an unrelated line in a different handler. If I fix that one, it
moves again. The riddle is why does it happen in a standalone apk and not in
a cabled test run?

The script snippet from cd 1:

on doSearch pText -- pText extracted from native field
   put word 1 to -1 of pText into pText -- strip trailing spaces
   put pText into fld "searchTerm" -- for reference; ERROR: "no such object"
   ... 
   go cd 2

BTW, if I leave the test apk on the phone it continues to work correctly
after removing the cable. The odd behavior happens consistently on a Pixel 7
phone, an old Huawei tablet and a newish Samsung tablet.

If I use Nearby Share to move the working apk from a previously cabled build
to another device, it also works okay. So something is different when
building an independent standalone vs. 
building a test app.

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

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


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


RE: Sad news about Brahmanathaswami

2022-12-27 Thread Ralph DiMola via use-livecode
I worked with him on some mobile questions and he was very pleasant to 
correspond with.

A good heart will always "rest in peace"

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 
Andre Garzia via use-livecode
Sent: Sunday, December 25, 2022 12:00 PM
To: How to use LiveCode
Cc: Andre Garzia
Subject: Sad news about Brahmanathaswami

Dear LiveCoders,

Many of you here remember Sannyasin Brahmanathaswami (some of you met him as 
Sannyasin Sivakatirswami many years ago). Swami has always been a champion for 
LiveCode and together with other other monks in Kaua’i Hindu Monastery built 
what is probably the largest LiveCode-backed website available on the net. He’s 
been a constant fixture here on the list for many years and many here been at 
some time or another worked with him on various projects. I’m sad to say that 
Brahmanathaswami passed away this week on Hawaii. His life has been full of joy 
among his beloved monks in a paradise Island full of love and sunshine. 

I’ve worked with him there on and off for the best part of maybe 18 years 
(we’re not exactly sure when I started), he’s been a great friend and together 
we built many wondrous things with LiveCode. I’ll forever cherish those years, 
and I hope you all remember him fondly today as well.

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


___
use-livecode mailing list
use-livecode@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} Sunsetting Atom Editor 12/15/2022

2022-12-12 Thread Ralph DiMola via use-livecode
LCB?

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 Mark Wieder via use-livecode
Sent: Sunday, December 11, 2022 6:12 PM
To: Mark Wieder via use-livecode
Cc: Mark Wieder
Subject: Re: [OT} Sunsetting Atom Editor 12/15/2022

On 12/10/22 19:56, Mark Wieder via use-livecode wrote:

> I don't suppose you've written an LCS Lanuage Extension for VSCode?

nvm. I see Ferruslogic has already done it.

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


[OT} Sunsetting Atom Editor 12/15/2022

2022-12-06 Thread Ralph DiMola via use-livecode
I was wondering what editor the LC community is migrating to? I like Atom
with the LCS and LCB packages.

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


RE: correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Ralph DiMola via use-livecode
I did not have any problems on iPad Pro (11-inch) (3rd generation) simulator
using iphoneSafeAreaInsets(). One thing I did notice that when you change
rotation the resizestack handler is not firing. However it does work as
expected on the device. LC or simulator bug?

Other than that, I have nothing.

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 Klaus major-k via use-livecode
Sent: Wednesday, November 30, 2022 3:40 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: correct iphoneSafeAreaInsets in iPad simulator?

Sorry, here the link that does not automatically compresses an downloads the
two images
<https://www.dropbox.com/sh/x4165mhvr61ldsg/AADEsPdI_rbtJHzCVOMF6woMa?dl=0>


--
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: correct iphoneSafeAreaInsets in iPad simulator?

2022-11-30 Thread Ralph DiMola via use-livecode
Klaus,

I see what you mean.

I had my resizing SW using a table that I just kept adding to as new models
were released. I gave up on that after the iPhone 14 pro was released. I now
use iphoneSafeAreaInsets(). It seems to work OK.

I will do some testing of one of my apps on the iPad Pro (11-inch) (3rd
generation) simulator.

Film at 11

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 Klaus major-k via use-livecode
Sent: Wednesday, November 30, 2022 2:04 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: correct iphoneSafeAreaInsets in iPad simulator?

Additional info:
I resize the stack to proportionally to the devices screen dimensions.
And that works fine on all tested iPhone simulators.
These differences are only on these two iPad simualtors.

> Am 30.11.2022 um 19:59 schrieb Klaus major-k via use-livecode
:
> 
> Hi friends,
> 
> here two screenshots from my app in the Apple iPad simulator:
> <https://www.dropbox.com/sh/x4165mhvr61ldsg/AADEsPdI_rbtJHzCVOMF6woMa?
> dl=1>
> 
> Same app***, same scripting, same "resizestack" handler taking 
> iphoneSafeAreaInsets() into account and reposition objects accordingly.
> 
> ***Only difference is that I disabled the group of buttons in the middle
in one simulator.
> 
> Please notice the much larger area of empty space below the navigation 
> widget and above the text field at the top in the screenshot of the iPad
Pro (11-inch) (3rd generation).
> 
> Is this a bug, a feature or just some inconvenience of the simulator?
> 
> Any insight welcome, thank you!
--
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


[OT] Upgrade to Monterey from Big Sur Update Simulator/Multiple Xcode versions

2022-11-29 Thread Ralph DiMola via use-livecode
FYI: I was able to run Xcode 14.1 and invoke the iPhone 14 simulator. I
tested an LC app building against Xcode 13.2.1. Clicked the test button and
BOOM there was the app on the iPhone 14 simulator. Only one little hiccup. I
had to select the hardware keyboard then disable then re-enable to get the
keyboard to type into LC fields. After that I could test over and over with
no problems. Build time and simulator performance is amazingly fast.

M1 Mac Mini
LC 9.6.9 rc2

Thanks again to all for your help!

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


RE: [OT] Upgrade to Monterey from Big Sur

2022-11-29 Thread Ralph DiMola via use-livecode
Matthias,

That worked! Thank you so much. The link sent me to the app store. I clicked
"Get" and after the download finished the SW update pref appeared. Then the
installation dialog started. Not that it made any difference, the SW update
pref then spun for a second and showed the Ventura update again. But the
Monterey installer was still on the screen. I clicked "install" and I was
off to the races. I was done in about 30-40 minutes. I have an iPhone 14 pro
simulator running using Xcode 14.1. I'm now going to see if I can get LC to
install an app on it.

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 matthias rebbe via use-livecode
Sent: Monday, November 28, 2022 2:27 PM
To: How to use LiveCode
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: [OT] Upgrade to Monterey from Big Sur

I think under software updates only the newest os version is listed. The
older versions need to be downloaded from the App Store Does this link work
for you to download Monterey.
https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12

> Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode
:
> 
> Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did
some searches but I can't find anything. Software update only lists Ventura
as an upgrade option.
> 
> Thanks!
> 
> 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


RE: [OT] Upgrade to Monterey from Big Sur

2022-11-28 Thread Ralph DiMola via use-livecode
Matthias,
Thanks.

I will give the link a look. I need to run Xcode 14 for the iPhone 14
simulator to do some testing.

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 matthias rebbe via use-livecode
Sent: Monday, November 28, 2022 2:27 PM
To: How to use LiveCode
Cc: matthias_livecode_150...@m-r-d.de
Subject: Re: [OT] Upgrade to Monterey from Big Sur

I think under software updates only the newest os version is listed. The
older versions need to be downloaded from the App Store Does this link work
for you to download Monterey.
https://apps.apple.com/us/app/macos-monterey/id1576738294?mt=12

> Am 28.11.2022 um 20:09 schrieb Ralph DiMola via use-livecode
:
> 
> Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did
some searches but I can't find anything. Software update only lists Ventura
as an upgrade option.
> 
> Thanks!
> 
> 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


RE: [OT] Upgrade to Monterey from Big Sur

2022-11-28 Thread Ralph DiMola via use-livecode
Richmond,
Thanks.
I had heard of some Ventura issues so I wanted an established OS to update
to in order to run Xcode 14. I guess a time machine final backup and then
let Ventura rip as an update? Any issues you've seen?

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 Richmond Mathewson via use-livecode
Sent: Monday, November 28, 2022 2:16 PM
To: How to use LiveCode
Cc: Richmond Mathewson
Subject: Re: [OT] Upgrade to Monterey from Big Sur

You will have your own reasons for wanting to move to Big Sur and not up to
MacOS 13.

But, from my own experience after Catalina my experience with MacOS was
distinctly off-colour unti I hit MacOS 13, which, once you overlook the way
they mucked up the System Settings thing, does feel a whole lot more robust
that the beta-quality stuff Apple lobbed ourway after Catalina.

On Mon, 28 Nov 2022, 21:09 Ralph DiMola via use-livecode, <
use-livecode@lists.runrev.com> wrote:

> Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I 
> did some searches but I can't find anything. Software update only 
> lists Ventura as an upgrade option.
>
> Thanks!
>
> 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


[OT] Upgrade to Monterey from Big Sur

2022-11-28 Thread Ralph DiMola via use-livecode
Is it possible for me to upgrade my M1 Mac mini Big Sur to Monterey? I did some 
searches but I can't find anything. Software update only lists Ventura as an 
upgrade option.

Thanks!

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


RE: use-livecode Digest, Vol 230, Issue 17

2022-11-28 Thread Ralph DiMola via use-livecode
Bob,
Yes you can

"put the lockscreen"

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 
Bob Sneidar via use-livecode
Sent: Monday, November 28, 2022 11:25 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: use-livecode Digest, Vol 230, Issue 17

I can imagine a lock/unlock wrapper that registers every lock screen request 
and will only unlock the screen if called from the same handler or uses the 
same passed ID as the lock handler. You could have a property for each 
registered lock to allow or disallow override from another unlock. 

That may be too comlicated though. Is it possible to check if the screen is 
locked first? 

Bob S


> On Nov 23, 2022, at 09:42 , J. Landman Gay via use-livecode 
>  wrote:
> 
> I like to surprise people. :) Basically I was hoping to avoid brute force, 
> but it looks like import/export may be the best way. If I do the stacks only 
> a few at a time I'll only need a dozen passes or so.
> 
> Part of the problem was determining which locks need changing and which were 
> not visual effects, or which were locked in one handler and unlocked in a 
> handler that might be elsewhere, sometimes even in a different stack. Some 
> manual examination seems required. Fortunately the latter is rare.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software 
> | http://www.hyperactivesw.com On November 23, 2022 5:58:41 AM info--- 
> via use-livecode  wrote:
> 
>> Hallo Jacqueline,
>> Well I wouldn’t expect you asking such a question..!
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


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


RE: Lock screen challenge

2022-11-22 Thread Ralph DiMola via use-livecode
Not to be Johnny Rain Cloud... What if handler "A" locks and it calls either 
hander "B" OR handler "C" to unlock?

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: Monday, November 21, 2022 10:48 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Lock screen challenge

Thanks to both you and Craig. I couldn't think of any other way to do it 
either, but was hoping there was something other than brute force. Magic, 
maybe. It took LC's search/replace dialog a long time just to find all the 
instances, and actually editing them will be longer. But, it's just a one-off.

Craig, I posted here because I more comfortable with it, and because more 
old-timers tend to be on the list.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | 
http://www.hyperactivesw.com On November 21, 2022 3:45:16 PM Paul Dupuis via 
use-livecode  wrote:

> I was also going to suggest just brute forcing it. Something like: 
> (code not complete or syntax checked)
>
> repeat with i=1 to the number of stacks
>   repeat with j = 1 to the number of cards in stack i
> repeat with k= 1 to the number of controls of card j of stack i
>   put the script of control k of card j of stack i into tScript
>   -- look through the lines of tScript for "lock screen", note the 
> line number A, then search from there onward for "unlock screen" and 
> note the line number B
>   -- if line B begins with (after trimming spaces) "unlock screen 
> with" then
>  -- replace line B with "unlock screen with visual effect"
> -- and replace line A with "lock screen for visual effect"
> end repeat
>   end repeat
> end repeat
>
>
> On 11/21/2022 4:30 PM, Craig Newman via use-livecode wrote:
>> Jacque.
>>
>> Why aren’t you on the forum?
>>
>> Cant you just loop through each line in your handlers, and find the 
>> ones that contain “lock screen”, both with and without the visual effect 
>> thing.
>> Search downstream until you find the “unlock” line, That gives you 
>> the start and finish lines for each handler. Then you can just 
>> replace the start and finish lines with the new ones.
>>
>> Am I missing this?
>>
>> Craig
>>
>>> On Nov 21, 2022, at 4:24 PM, J. Landman Gay via use-livecode 
>>>  wrote:
>>>
>>> I'm updating a very old set of stacks that use old HC syntax for 
>>> "lock screen". A search with LC's Find utility says there are 723 
>>> instances that may need to be changed. Right now they look like this:
>>>
>>> lock screen
>>> -- do any number of things
>>> unlock screen with 
>>>
>>> These all need to be changed to:
>>>
>>> lock screen for visual effect
>>> -- do any number of things
>>> unlock screen with visual effect 
>>>
>>> The challenge is that not all "lock screen" commands use a visual 
>>> effect, some are simple lock/unlock pairs. I need to automate this. 
>>> The visual effects are not all the same. Some handlers have multiple 
>>> instances of locking the screen with or without a visual effect.
>>>
>>> I'd use a regex if I could, but back references aren't supported (or 
>>> are they now?) I really don't want to do this manually.
>>>
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




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


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


RE: Can we install "command Line Tools 14.1" on Mac?

2022-11-16 Thread Ralph DiMola via use-livecode
Didn't test but I don't see why not as long as there is a 13.2.1 to build LC
apps against.
Panos?

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 Klaus major-k via use-livecode
Sent: Wednesday, November 16, 2022 10:25 AM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: Can we install "command Line Tools 14.1" on Mac?

Hi Ralph,

> Am 16.11.2022 um 16:21 schrieb Ralph DiMola via use-livecode
:
> 
> You can install any number of Xcode versions. Just point the build 
> tools to 13.2.1.
> In terminal
> Xcode-select --print-path
> Will show the current selected path to xcode.app for building sudo 
> xcode-select --switch PathToXcode13 will set the build tools path

yes, thank you, but that was not my question. 8-) I was asking abou the
Xcode "Command Line Tools".

> 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 Klaus major-k via use-livecode
> Sent: Wednesday, November 16, 2022 6:48 AM
> To: How to use LiveCode
> Cc: Klaus major-k
> Subject: Can we install "command Line Tools 14.1" on Mac?
> 
> Hi all,
> 
> I know that LC is not compatible with Xcode 14.
> 
> But what about the command line tools?
> Is it safe to install the latest version 14.1?

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: Can we install "command Line Tools 14.1" on Mac?

2022-11-16 Thread Ralph DiMola via use-livecode
You can install any number of Xcode versions. Just point the build tools to
13.2.1.
In terminal
Xcode-select --print-path
Will show the current selected path to xcode.app for building
sudo xcode-select --switch PathToXcode13
will set the build tools path


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 Klaus major-k via use-livecode
Sent: Wednesday, November 16, 2022 6:48 AM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Can we install "command Line Tools 14.1" on Mac?

Hi all,

I know that LC is not compatible with Xcode 14.

But what about the command line tools?
Is it safe to install the latest version 14.1?


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


Ask Password Cursor Oddity

2022-11-10 Thread Ralph DiMola via use-livecode
Riddle me this..
I was building an Android Production app using 9.6.9 rc2 on Win 10. I kept 
getting errors that the keystore passwords not correct. I tried it 10 times 
until I noticed that when typing in the keystore and the private passwords when 
you type the first character the cursor is before not after the first "*". So 
if you type "test123" the data is entered as "est123T".
I tried this in the message box (ask password clear "Please provide the 
keystore password") the form used the in IDE.
Same error. But if you click into the answer's entry field before typing it 
works as expected. 
It works correctly in 9.6.7. The "clear" option seems to allow typing without 
having to click into the field.

Can anyone verify if they see the same thing? I also see it on Mac Big Sur. If 
so I will enter a QCC regression report.

Thanks

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


RE: Anyone any experience with Livecode under Ventura?

2022-11-10 Thread Ralph DiMola via use-livecode
+1
Or stop you car from charging.

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 Bob Sneidar via use-livecode
Sent: Wednesday, November 09, 2022 5:31 PM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Anyone any experience with Livecode under Ventura?

FYI I NEVER am going to consolidate all my documents in iCloud. That's like
hanging a copy of all my keys in the community center that's open 24 hours a
day to everyone. One day someone is going to lock the doors...

Bob S


On Nov 8, 2022, at 13:22 , Geoff Canyon via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:

I upgraded to Ventura over a week ago. No problems so far with one
exception: the OS suggested that I consolidate everything onto iCloud for
universal access and backups. I did so. That resulted in oddities like
cmd-shift-D now opening iCloud/Desktop instead of something in my home
directory. Or more accurately, there *is* a "Desktop" folder in my home
directory that appears not to be an alias, but is invisible?

Anyway, doing this caused the same thing to happen for the Documents folder.
LiveCode apparently can't find the invisible folder, so e.g. it defaulted
back to the copy of Navigator included with LiveCode -- which is ancient, no
one should use it -- instead of the copy in ~/Documents/My Livecode/Plugins.

So far, to fix it I hit cmd-shift-period in the Finder. That shows invisible
files. I'm sure there's a way to un-invisible a folder, and hopefully that
will fix the issue without causing any issues with what Ventura is trying to
do with iCloud.

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


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


RE: ENTER in scripts

2022-11-07 Thread Ralph DiMola via use-livecode
Well, you learn something exceedingly simple every day. OK I get it. Enter is 
the same as clicking "Apply". Very convenient! Saves time typing in the SE.

THANKS!


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 
Craig Newman via use-livecode
Sent: Monday, November 07, 2022 2:08 PM
To: How to use LiveCode
Cc: Craig Newman
Subject: Re: ENTER in scripts

All.

"Enter" has always worked for me. And focus has always been required to be in 
the SE for it to do so.

This seems logical to me. It would not do for actions specific to certain 
spaces to be affected, or effected, when not in that space.

Craig

> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Do you mean does pressing the ENTER key does the same thing as clicking the 
> ‘Apply’ button at the top left of the script editor?
> 
> The tool tip for the ‘APPLY’ button says.
> 
>   ‘compile and apply the current script (Enter, cmd+Return)’
> 
> I actually did not know there was a keyboard shortcut for the ‘Apply’ button. 
>  That is a handy tip.
> 
> I tried it out and at first it did not work.  That time the focus was on the 
> script field and the text cursor was there. 
> 
> If I clicked on part of the card outside of the script field then the 
> cmd+Return key combination worked.
> 
> If I clicked in another object like the ‘find’ text field or a handler in the 
> list to the left of the text field or on the ‘MatchCase’ checkbox   
> CMD+Return would not work.
> 
> So it looks like it only works when there is no focus on a field or other 
> object.
> 
> 
> In any case it sounds like a bug.   The key combination should work whether 
> the script field has focus or not.
> 
> 
> Since I have never used that key combo before I am not sure whether that 
> behaviour has changed or not.
> 
> 
> Martin Koob
> 
> 
>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode 
>>  wrote:
>> 
>> Klaus wrote
>> 
>> 
>> is it only me or does the ENTER key nothing after hitting while in 
>> script editor?
>> 
>> 
>> 
>> https://quality.livecode.com/show_bug.cgi?id=23999
>> 
>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. 
>> Some of them have some quirks.
>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report 
>> them.
>> 
>> Kind regards
>> Bernd
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


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


RE: LC Date Conversions post 2035 [OT ish]

2022-11-07 Thread Ralph DiMola via use-livecode
Interesting... On my Outlook the received date is used to sort emails but on
my phone the "date" field in the header is used for both sorting and
displaying in the list. So on my phone this email will be at the top until
31 Dec 2034.

This just reinforces that the interpretation of internet mail headers is
still not consistent. (and maybe should have had a little more thought
before the barn doors were opened)
 
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 Mark Clark via use-livecode
Sent: Sunday, December 31, 2034 9:25 PM
To: How to use LiveCode
Cc: Mark Clark
Subject: LC Date Conversions post 2035

I was testing one of the tools I use to handle licensing today and decided
to run the series through a few iterations adding 2 years at a time. I
noticed that my dates were reverting to the 20th c. Hmm, whoops.

After a bit of head scratching I decided it wasn't just my doing.

Date conversion sort of works but the output can lead to trouble in the
future. I've done a few tests and some lengthy, but if anyone cares to
perform the "short test," please do.

Change your date to 12/31/2034; then change to 2035. 



run this:  

put the date into test
convert test to dateitems

answer item 1 of test --works in 2034; broken in 2035


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


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


RE: Script Compiler

2022-11-02 Thread Ralph DiMola via use-livecode
Or in my case 5 o'clock somewhere

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 Sean Cole via use-livecode
Sent: Wednesday, November 02, 2022 12:54 PM
To: How to use LiveCode
Cc: Sean Cole
Subject: Re: Script Compiler

It's always Summer somewhere ;D

Sean Cole
*Pi Digital Productions Ltd*


On Wed, 2 Nov 2022 at 16:43, Glen Bojsza via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I haven't been following things for a few months and the Script 
> Compiler beta was coming out sometime in the summer.
>
> Has this happened?
>
> Is there any delivery date for it?
>
> regards,
>
> Glen
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: PDF Printing

2022-10-04 Thread Ralph DiMola via use-livecode
Your right... If all computers are doing it then font cache is probably not the 
issue.

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


-Original Message-
From: Dan Friedman [mailto:d...@clearvisiontech.com] 
Sent: Tuesday, October 04, 2022 1:16 PM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: PDF Printing

Thank you for your thoughts, but do you really think a font cache is the issue? 
  I have two computers in my office having this issue, and about a dozen Macs 
at my client's location -- that we know of so far!   If it were a font issue, 
do you think one print method would be successful, and another wouldn't?   If 
the font table was messed up, I would think it would be wacked for all methods. 
 No?

I could be wrong (I'm wrong all the time!) but, I think it's something in LC's 
internal PDF handling, or some property I need to set or reset.

-Dan
 

On 10/4/22, 9:51 AM, "use-livecode on behalf of Ralph DiMola via use-livecode" 
 wrote:

Dan,

How to delete Windows font cache:
https://www.tenforums.com/tutorials/54452-rebuild-font-cache-windows-10-a.ht
    ml

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 Dan Friedman via use-livecode
Sent: Tuesday, October 04, 2022 11:21 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: PDF Printing

I am getting different results using "open printing to pdf" vs standard
printing to a printer.   I have a card with a single field on it with some
formatted text in it.   If I print the card to a printer using "open
printing with dialog" it all looks perfect (even if I choose to save it to
PDF in the print dialog).   But, if I use the "open printing to pdf" method,
it get wrong fonts and inconsistent tab spacings.   Here is the EXACT code I
am using:

on mouseUp currSName
  put (the hilite of btn "printAsPDF" of stack "ReportOptions") into
printAsPDF

  if printAsPDF then
ask file "Save As PDF:" with (currSName & ".pdf")
put it into pdfPath
open printing to pdf pdfPath
  else
open printing with dialog
  end if

  if the result is "Cancel" then
exit mouseUp
  end if

  print card 1 of stack "GB_PReport"
  close printing
end mouseUp

Here are examples of the printouts (the PDFs):
Print to PDF - https://www.clearvisiontech.com/WORKING/PrintToPDF1.pdf
Print to Printer - https://www.clearvisiontech.com/WORKING/PrintToPDF2.pdf

Any thoughts or ideas?

LC 9.6.8

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


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



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


RE: PDF Printing

2022-10-04 Thread Ralph DiMola via use-livecode
Dan,

How to delete Windows font cache:
https://www.tenforums.com/tutorials/54452-rebuild-font-cache-windows-10-a.ht
ml

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 Dan Friedman via use-livecode
Sent: Tuesday, October 04, 2022 11:21 AM
To: How to use LiveCode
Cc: Dan Friedman
Subject: PDF Printing

I am getting different results using "open printing to pdf" vs standard
printing to a printer.   I have a card with a single field on it with some
formatted text in it.   If I print the card to a printer using "open
printing with dialog" it all looks perfect (even if I choose to save it to
PDF in the print dialog).   But, if I use the "open printing to pdf" method,
it get wrong fonts and inconsistent tab spacings.   Here is the EXACT code I
am using:

on mouseUp currSName
  put (the hilite of btn "printAsPDF" of stack "ReportOptions") into
printAsPDF
  
  if printAsPDF then
ask file "Save As PDF:" with (currSName & ".pdf")
put it into pdfPath
open printing to pdf pdfPath
  else
open printing with dialog
  end if
  
  if the result is "Cancel" then
exit mouseUp
  end if
  
  print card 1 of stack "GB_PReport"
  close printing
end mouseUp

Here are examples of the printouts (the PDFs):
Print to PDF - https://www.clearvisiontech.com/WORKING/PrintToPDF1.pdf
Print to Printer - https://www.clearvisiontech.com/WORKING/PrintToPDF2.pdf

Any thoughts or ideas?

LC 9.6.8

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


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


RE: NAVRAD was: lcb missing manual

2022-09-15 Thread Ralph DiMola via use-livecode
Docs aside... I still think that widgets and lcb is one of best additions to
LC. Community collaboration like this will make for better documentation and
more new/improved widgets. A robust library of widgets can only help LC to
penetrate the market. If only we had these when I started...

Shout out to Mike K. for all the help!

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


RE: NAVRAD was: lcb missing manual

2022-09-15 Thread Ralph DiMola via use-livecode
Also another new feature is the Icon Fill property. If enabled: 1)If there
is no label the icon is enlarged slightly and centered vertically 2) In the
PI the label can be deleted without the "New Item" inserted into the label.
I did this because among others the social media icons don't need labels.

All new features are fully documented.

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 Mike Kerner via use-livecode
Sent: Thursday, September 15, 2022 10:45 AM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: NAVRAD was: lcb missing manual

What's NavRAD? It's a better version of LiveCode's NavBar widget.
Why "RAD"? Cos Ralph A DiMola said so, since he added the first two nifty
updates to it:
* an autoHilite boolean, so you can intercept clicks before the selected
icon changes instead of after, and
* icon zoom
Now it's also got margins.
https://github.com/macMikey/LC-NavRad
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: [semi-OT] PDF on the fly

2022-09-14 Thread Ralph DiMola via use-livecode
How fortuitous...

I just ran into this while doing JavaScript xhttp network requests to LC
Server on Safari only. I just updated from LC Server 9.5.1. to 9.6.6. I saw
it in Safari in iOS. Chrome in iOS worked OK. I went back to 9.5.1 and
everything started working again in Safari. Do we possibly have the same
problem?

This might not be OT at all.

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 jbv via use-livecode
Sent: Wednesday, September 14, 2022 2:58 PM
To: How to use LiveCode
Cc: j...@souslelogo.com
Subject: [semi-OT] PDF on the fly

Hi list,

I have a web site on which end users can select several options, and then
click a button "show PDF", and a pdf containing various contents from a
remote DB with a sophisticated layout is built server side in a second and
automatically downloaded.

The link of the button is something like :
   https://domain.com/showPDF.lc?a=parameters
and the script sets the header of the pdf file as follows :
   put header "Content-Type: application/pdf"
   put header "Content-Length: " & number of chars of myPDF
   put header "Content-Disposition: attachment; filename=" &
myFileName 

This has been working fine for years, and still works on Chrome and FF, but
apparently the latest versions of Safari don't accept it:
the file is built and the download starts but quickly stalls and that's it.
And no error message van be found in the console.

As an alternative solution, I've been thinking of building the pdf server
side and writing it in a temporary folder, and then on the web page
displaying a prompt with a button containing the actual url of the file. But
that's not very elegant IMHO.

What other options do I have ?
Thank you in advance.

Best,
jbv

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


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


RE: NAVRAD was: lcb missing manual

2022-09-10 Thread Ralph DiMola via use-livecode
I also got rid of the 3 properties. I have a Icon Zoom percent that defaults
to 100 % for all icons just about finished.

I guess I'll have to understand github. I was hoping to avoid it until I
retire. Every time I go to github it's just so confusing just to get
something that's there. It's not intuitive at all. It gives me a headache
bigger than LCB if that's possible. Is there any place that explains how to
use it with some clarity?

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 Mike Kerner via use-livecode
Sent: Saturday, September 10, 2022 12:03 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: NAVRAD was: lcb missing manual

Update:
* Put it on github because I'm starting to tweak it, too (on the develop
branch - Ralph's original version is on the Deploy branch)
* Made several properties invisible in the Properties Inspector
* on to the next item on the list

On Fri, Sep 9, 2022 at 4:54 PM Mike Kerner 
wrote:

> Thanks for the help, guys.
> What about this list for a next-up wishlist?:
> * I think some of the properties in the PI are extraneous: "selected 
> item name", "pre Hilited item", "pre hilited name", so remove them 
> from the PI
> * Add borders/margins or offsets, because on mobile, there is 
> furniture, especially on the ipad pros, and especially in ipados 16.x, 
> which cover parts of the nav bar
> * icon size selection
> * support embedding raw svg paths
> * support new icon picker widget
>


--
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: NAVRAD was: lcb missing manual

2022-09-09 Thread Ralph DiMola via use-livecode
The .lce file is in zip format. Change the extension to .zip to easily examine 
contents.

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 
Matthias Rebbe via use-livecode
Sent: Friday, September 09, 2022 1:47 PM
To: How to use LiveCode
Cc: Matthias Rebbe
Subject: Re: NAVRAD was: lcb missing manual

If you would extract the .lce file, then you could copy the extracted folder to 
the extension folder. 

Von meinem iPhone gesendet

> Am 09.09.2022 um 19:05 schrieb Mike Kerner via use-livecode 
> :
> 
> Weird. I thought you could just toss it in the extensions folder.
> 
>> On Fri, Sep 9, 2022 at 10:33 AM Ralph DiMola via use-livecode < 
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Yes, And after the install you will the widget folder in your "My 
>> LiveCode"==>Extensions folder. It will appear the the tool palette 
>> and in the inclusions pane of the standalone settings.
>> 
>> 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 Brian Milby via use-livecode
>> Sent: Friday, September 09, 2022 9:54 AM
>> To: How to use LiveCode
>> Cc: Brian Milby
>> Subject: Re: NAVRAD was: lcb missing manual
>> 
>> You have to use the IDE to install widgets.
>> Tools… Extension Manager… + (icon, top right)
>> 
>> Brian Milby
>> br...@milby7.com
>> 
>>> On Sep 9, 2022, at 9:40 AM, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Throwing NavRAD into my extensions folder doesn't seem to install it.
>>> I wonder why.
>>> 
>>>> On Tue, Sep 6, 2022 at 4:19 PM Mike Kerner 
>>>> 
>>>> wrote:
>>>> 
>>>> by the way, isn't it crazy how much overhead is required with lcb
>> widgets?
>>>> there is so...much...stuff you have to put on top just to get to 
>>>> the heart of the thing.
>>>> and i'm never going to like the way lc embeds the comments in the 
>>>> source of anything.
>>>> or the way they spell "favourites", or pronounce "Aluminum". Do you 
>>>> see an extra "i" in there? No? It's invisible, that's why.
>>>> 
>>>> On Tue, Sep 6, 2022 at 4:00 PM Brian Milby via use-livecode < 
>>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>>> I think the user is going to need to code the width adjustment in 
>>>>> the resizeStack handler.  Widgets can’t change their rect on their 
>>>>> own.  It has to happen from the LCS side.
>>>>> 
>>>>> Brian Milby
>>>>> br...@milby7.com
>>>>> 
>>>>>> On Sep 6, 2022, at 3:29 PM, Ralph DiMola via use-livecode <
>>>>> use-livecode@lists.runrev.com> wrote:
>>>>>> 
>>>>>> Mike,
>>>>>> 
>>>>>> For future reference the source is in the .lce file. The .lce is 
>>>>>> in zip
>>>>> format. Temporarily change the extension to .zip. You will see the 
>>>>> lcb file in there. Also when you install it the source will be in 
>>>>> the extension folder. But since I posted .lce I have put in 
>>>>> comments starting with "RAD Change" to show where I have made 
>>>>> changes. Here is the link to the updated
>>>>> source==>https://www.dropbox.com/s/bv930usovpruo5e/navrad.lcb?dl=0
>>>>>> 
>>>>>> Thanks for taking a look!
>>>>>> 
>>>>>> Also I found that after I updated the docs that the docs are 
>>>>>> generated
>>>>> from the lcb file. I re-built the widget and boom my doc changes 
>>>>> were destroyed. No problem I just had redo the docs for my changes 
>>>>> in the lcb file. So many unknowns. I am trying to find a way to 
>>>>> resize it to the card width with a user setting for height percent 
>>>>> of card width. But the docs are so scant and confusing I feel the
>> giant headache coming on again.
>>>>>> 
>>>>>> 
>>>>>> Ralph DiMola
>>>>>> IT Director
>>>>>> Evergreen Information Services
>>>>>> rdim...@ever

RE: NAVRAD was: lcb missing manual

2022-09-09 Thread Ralph DiMola via use-livecode
Yes, And after the install you will the widget folder in your "My 
LiveCode"==>Extensions folder. It will appear the the tool palette and in the 
inclusions pane of the standalone settings. 

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 
Brian Milby via use-livecode
Sent: Friday, September 09, 2022 9:54 AM
To: How to use LiveCode
Cc: Brian Milby
Subject: Re: NAVRAD was: lcb missing manual

You have to use the IDE to install widgets.
Tools… Extension Manager… + (icon, top right)

Brian Milby
br...@milby7.com

> On Sep 9, 2022, at 9:40 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> Throwing NavRAD into my extensions folder doesn't seem to install it. 
> I wonder why.
> 
>> On Tue, Sep 6, 2022 at 4:19 PM Mike Kerner 
>> 
>> wrote:
>> 
>> by the way, isn't it crazy how much overhead is required with lcb widgets?
>> there is so...much...stuff you have to put on top just to get to the 
>> heart of the thing.
>> and i'm never going to like the way lc embeds the comments in the 
>> source of anything.
>> or the way they spell "favourites", or pronounce "Aluminum". Do you 
>> see an extra "i" in there? No? It's invisible, that's why.
>> 
>> On Tue, Sep 6, 2022 at 4:00 PM Brian Milby via use-livecode < 
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I think the user is going to need to code the width adjustment in 
>>> the resizeStack handler.  Widgets can’t change their rect on their 
>>> own.  It has to happen from the LCS side.
>>> 
>>> Brian Milby
>>> br...@milby7.com
>>> 
>>>> On Sep 6, 2022, at 3:29 PM, Ralph DiMola via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> Mike,
>>>> 
>>>> For future reference the source is in the .lce file. The .lce is in 
>>>> zip
>>> format. Temporarily change the extension to .zip. You will see the 
>>> lcb file in there. Also when you install it the source will be in 
>>> the extension folder. But since I posted .lce I have put in comments 
>>> starting with "RAD Change" to show where I have made changes. Here 
>>> is the link to the updated
>>> source==>https://www.dropbox.com/s/bv930usovpruo5e/navrad.lcb?dl=0
>>>> 
>>>> Thanks for taking a look!
>>>> 
>>>> Also I found that after I updated the docs that the docs are 
>>>> generated
>>> from the lcb file. I re-built the widget and boom my doc changes 
>>> were destroyed. No problem I just had redo the docs for my changes 
>>> in the lcb file. So many unknowns. I am trying to find a way to 
>>> resize it to the card width with a user setting for height percent 
>>> of card width. But the docs are so scant and confusing I feel the giant 
>>> headache coming on again.
>>>> 
>>>> 
>>>> 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 Mike Kerner via use-livecode
>>>> Sent: Tuesday, September 06, 2022 3:00 PM
>>>> To: How to use LiveCode
>>>> Cc: Mike Kerner
>>>> Subject: Re: NAVRAD was: lcb missing manual
>>>> 
>>>> Ralph,
>>>> got the source, somewhere? i'd like to learn from it.
>>>> testing to begin...now.
>>>> 
>>>>> On Thu, Sep 1, 2022 at 1:32 PM Ralph DiMola via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>>> 
>>>>> I took a major stab at LCB and created a new widget based on the 
>>>>> navbar widget. I have made 2 changes to the navbar and call it navrad.
>>>>> It does not modify the stock navbar. With almost no docs it was a 
>>>>> challenge. There were so many unknowns I got a few giant 
>>>>> headaches. It adds 4 new 
>>>>> properties(iconFill,autoRADHilite,preHilitedItem,
>>>>> preHilitedItemName) and 1 new message(preHiliteChanged). I updated 
>>>>> the documentation so the new properties and message show in the 
>>>>> dictionary with example(search for "navrad" or just "rad").
>>>>> One thing I ran into was that I had to call the "

RE: NAVRAD was: lcb missing manual

2022-09-06 Thread Ralph DiMola via use-livecode
Mike,

For future reference the source is in the .lce file. The .lce is in zip format. 
Temporarily change the extension to .zip. You will see the lcb file in there. 
Also when you install it the source will be in the extension folder. But since 
I posted .lce I have put in comments starting with "RAD Change" to show where I 
have made changes. Here is the link to the updated 
source==>https://www.dropbox.com/s/bv930usovpruo5e/navrad.lcb?dl=0

Thanks for taking a look!

Also I found that after I updated the docs that the docs are generated from the 
lcb file. I re-built the widget and boom my doc changes were destroyed. No 
problem I just had redo the docs for my changes in the lcb file. So many 
unknowns. I am trying to find a way to resize it to the card width with a user 
setting for height percent of card width. But the docs are so scant and 
confusing I feel the giant headache coming on again.


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 
Mike Kerner via use-livecode
Sent: Tuesday, September 06, 2022 3:00 PM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: NAVRAD was: lcb missing manual

Ralph,
got the source, somewhere? i'd like to learn from it.
testing to begin...now.

On Thu, Sep 1, 2022 at 1:32 PM Ralph DiMola via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> I took a major stab at LCB and created a new widget based on the 
> navbar widget. I have made 2 changes to the navbar and call it navrad. 
> It does not modify the stock navbar. With almost no docs it was a 
> challenge. There were so many unknowns I got a few giant headaches. It 
> adds 4 new properties(iconFill,autoRADHilite,preHilitedItem, 
> preHilitedItemName) and 1 new message(preHiliteChanged). I updated the 
> documentation so the new properties and message show in the dictionary 
> with example(search for "navrad" or just "rad").
> One thing I ran into was that I had to call the "autohilite" property 
> autoRADHilite because using any existing property causes a confilict 
> that I could not get around without sufficient docs. It does show in 
> the property inspector as "auto hilite". These changes allow 
> 1)enlarge/center the icon if there is no label 2)intercept a selection 
> before it is hilited and make a choice to hilite and send the stock 
> hiliteChanged message (or not). Why no label? For one social media icons 
> don’t need labels. Why a pre message?
> Someone suggested it and I thought it was a great idea. Backwards 
> compatible with existing navbar LCS code. The was an auto sizing to 
> card width request. I will look to see if I can do it without more docs(or 
> help).
>
> If anyone would like to try it and find any bugs it's at ==>
> https://www.dropbox.com/s/51zm4m8dip49jov/com.livecode.widget.navrad.2
> .0.0.lce?dl=0
>
>
> 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
>


--
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: Cross-platform font handling, and why you don't want to do it

2022-09-05 Thread Ralph DiMola via use-livecode
Solutions before I tell my tales of woe.

Measuretext is a great high speed tool using a field's properties to calculate 
the width in pixels that the string will occupy when rendered. This can solve 
many kerning issues. The font size can be adjusted as needed to fit the text 
into a field without clipping.
Measuretext is much faster than doing the measuring directly on the 
field(formattedWidth) if it has many lines.

Baseline and vertical position/size issues are different problems. Mac and 
Windows use their own font metrics tables for ascent and decent. Android uses 
Windows table. I don't know but I would assume that iOS uses the Mac(HHead) 
version. Don't know what Linux uses. 
Doing height calculations and adjusting the top/bottom field margins gets you 
there.
OR
If you have an open source font and font editor, one can diddle the 
ascent/decent values for Windows and HHead(Mac). This can get you 99%+ 
identical rendering on Win/Mac. A lot of work for sure.

Browsers are another challenge I've seen the need for media calls for specific 
browsers in the css to make sure text will fit as intended. If you just check 
Chrome you get 65% of the market. Add Safari you get to 83%. Edge and FireFox 
get you to 90%. So to get to 90% you need to test 4 browsers, some on at least 
5 platforms.



I've had headaches and sketchy workarounds for font issues since I got into 
composition in 1994 with win 3.1, ATM and TT/Type 1 fonts.

I had the version problem with I believe Helvetica. Customer used the Adobe v1 
version we had the latest vX version. We used their version of the font day one 
but then bought the entire Adobe font library. Our new users went to the 
library and suddenly one composer's text for this product flowed differently. 
WHAT??? After looking at everything else we discovered the version number was 
different(it was the file date that finally clued us in). The 2 versions(both 
from Adobe) did indeed kern slightly different.

We used InDesign and Word. One displayed the font family name and the other 
displayed the true font name on their respective font choosers. One would be 
"Bodini Heavy" the other was "Bodini 55". Confusing for sure.

Word will silently substitute a font for a close match on your system if you 
don’t have the exact font called for. If that person saves the file then when 
opened on a system with the proper font... the proper font is displayed on the 
screen but when creating a PDF the wrong font is used. The difference between 
screen and printed rendering might have been only on type 1 fonts? Don’t 
remember. The composer and I both try to forget that 10 hours we will never get 
back trying to figure that one out.

Roman Fonts with identical names is a constant issue.

Have a TT font and a font with the same name in another format(Type 1/OpenType) 
on your system(even if they are from the same foundry) and see how that works 
out. Not good...


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 
Quentin Long via use-livecode
Sent: Monday, September 05, 2022 3:02 AM
To: use-livecode@lists.runrev.com
Cc: Quentin Long
Subject: Cross-platform font handling, and why you don't want to do it

Cross-platform font compatibility is a hellacious rat's nest of mismatches. It 
may or may not be worse than handling time (Daylight Savings Time? leap years? 
leap *seconds*? etc, ad nauseum), but it's plenty bad enough on its own merits, 
or lack thereof.
* You can't be 100% confident that your user will have the same font(s) you do 
installed on their system.
* If your user has a font *of the same name* as your font installed on their 
system, you can't be 100% confident that *their* font came from the same font 
foundry as *your* font. Yes, font names are legally protected, but... 
Helvetica, anyone?
* If your user has a font *of the same name* as your font installed on their 
system, you can't be 100% confident that it's the *same* font you have. Again: 
Font names are legally protected. But what if you have version 15.0 of 
RandomFontFoundry's WhateverFont on your system, but your user only has version 
1.0 of RandomFontFoundry's WhateverFont? Who *knows* what tweaks 
RandomFontFoundry may have made to WhateverFont in between those two version 
numbers?
* Can you be 100% confident that version 15.0 of RandomFontFoundry's 
WhateverFont *for Mac* is going to render *exactly the same* as version 15.0 of 
RandomFontFoundry's WhateverFont *for Windows* or *for Linux*? No. You cannot. 
Different type rendering engines on different OSes *ensure* that rendering 
compatibility will be problematic at best.
* Assuming your user has exactly the same version of exactly the same font on 
exactly the same OS you do, you can't be 100% confident that your user has 
installed the font metrics data (kerning, sidebearings, etc)—which mea

NAVRAD was: lcb missing manual

2022-09-01 Thread Ralph DiMola via use-livecode
I took a major stab at LCB and created a new widget based on the navbar widget. 
I have made 2 changes to the navbar and call it navrad. It does not modify the 
stock navbar. With almost no docs it was a challenge. There were so many 
unknowns I got a few giant headaches. It adds 4 new 
properties(iconFill,autoRADHilite,preHilitedItem, preHilitedItemName) and 1 new 
message(preHiliteChanged). I updated the documentation so the new properties 
and message show in the dictionary with example(search for "navrad" or just 
"rad").
One thing I ran into was that I had to call the "autohilite" property 
autoRADHilite because using any existing property causes a confilict that I 
could not get around without sufficient docs. It does show in the property 
inspector as "auto hilite". These changes allow 1)enlarge/center the icon if 
there is no label 2)intercept a selection before it is hilited and make a 
choice to hilite and send the stock hiliteChanged message (or not). Why no 
label? For one social media icons don’t need labels. Why a pre message? Someone 
suggested it and I thought it was a great idea. Backwards compatible with 
existing navbar LCS code. The was an auto sizing to card width request. I will 
look to see if I can do it without more docs(or help).

If anyone would like to try it and find any bugs it's at ==> 
https://www.dropbox.com/s/51zm4m8dip49jov/com.livecode.widget.navrad.2.0.0.lce?dl=0


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


RE: lcb missing manual

2022-09-01 Thread Ralph DiMola via use-livecode
42

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 
Bob Sneidar via use-livecode
Sent: Thursday, September 01, 2022 11:11 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: lcb missing manual

Also, when it comes to performance, developers should ask not only is it 
faster, but would anyone notice the difference? I used to say, "A computer only 
needs to be fast enough." Some will ask, "Fast enough for what?" To which I 
reply, "Now you are asking the right question."

Bob S


On Aug 31, 2022, at 21:54 , Geoff Canyon via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Agreed -- I've put off LCB because I don't much bother with widgets. I suppose 
I could update Navigator, but it already works well, so ¯\_(ツ)_/¯

So if it isn't faster, dare I say it, why would I?

gc

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


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


RE: Svg Icon Tool

2022-08-26 Thread Ralph DiMola via use-livecode
I looked at the code and an auto hilite property could be added and the 
hiliteing could be disabled. It would be confusing but it would be allow one to 
control the hilite. I'm going to try it for laughs.

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 
Brian Milby via use-livecode
Sent: Friday, August 26, 2022 1:13 PM
To: How to use LiveCode
Cc: Brian Milby
Subject: Re: Svg Icon Tool

I think that if auto highlight is disabled then hiliteChanged would never get 
triggered.  Having the back end highlight change without it visually changing 
would probably lead to confusion.


> On Aug 26, 2022, at 11:55 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> What if the widget had a property to disable the auto hilite on click and 
> when the hiliteChanged message arrives you can set(or not) the hilite as 
> appropriate via setting a widget property? A pre-message would be cleaner but 
> this is not horrible.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net

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


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


RE: Svg Icon Tool

2022-08-26 Thread Ralph DiMola via use-livecode
What if the widget had a property to disable the auto hilite on click and when 
the hiliteChanged message arrives you can set(or not) the hilite as appropriate 
via setting a widget property? A pre-message would be cleaner but this is not 
horrible.

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 
Brian Milby via use-livecode
Sent: Friday, August 26, 2022 10:13 AM
To: How to use LiveCode
Cc: Brian Milby
Subject: Re: Svg Icon Tool

Ok, then we need a full spec on how this would work.  It is not just the 
addition of a message.

To get what you are desiring, it would be most consistent to just add the mouse 
messages and the autoHilite property.

I would still want the silent option since that works most in the grain of the 
current functionality.

In your use case, you wouldn’t even use the hiliteChanged message.  You would 
just act based on the mouseUp after your checks.

From a UI perspective, I think it makes more sense for the object to highlight 
on the touch and then revert on the mouseUp if not permitted.

> On Aug 26, 2022, at 9:28 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> you would have a property for autohilite, and if that is false, the 
> developer would be responsible for setting the hilite. that's the way 
> it's implemented with other controls.
> 
>> On Fri, Aug 26, 2022 at 9:23 AM Brian Milby via use-livecode < 
>> use-livecode@lists.runrev.com> wrote:
>> 
>> The silent update would allow that to happen in the hilitechanged handler.
>> 
>> I don’t know how you would implement a pre… message.  How would the 
>> widget know whether to proceed or not?  The two messages would fire 
>> almost simultaneously.  There also isn’t any way to tell the widget 
>> to cancel the highlight action, which would be needed.
>> 
>> A mouseDown message may work but would still need a way to cancel the 
>> highlight.  I think the silent change is the most seamless way to 
>> accomplish this task.
>> 
>> In general I think that normal mouse messages should be passed from 
>> widgets - even if they add specialized functionality with additional 
>> messages.  I don’t think they would solve this issue on their own though.
>> 
>> (I also did some work in this widget to add the nothing and multiple
>> selections)
>> 
>> 
>> 
>>> On Aug 26, 2022, at 9:03 AM, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> i don't think so. i want to be able to be able to intercept the 
>>> touch/click, and decide what to do. sometimes i want to ignore it.
>>> sometimes i want to throw up an error and not switch. sometimes i 
>>> want to do something else, first.
>>> 
>>>> On Thu, Aug 25, 2022 at 5:48 PM Brian Milby via use-livecode < 
>>>> use-livecode@lists.runrev.com> wrote:
>>>> 
>>>> 
>>>> I think what we probably need is simply:
>>>> 
>>>> set the hilitedItemSilently of widget 1 to 1 Or set the 
>>>> hilitedItemWithoutMessage of widget 1 to 1
>>>> 
>>>> This would allow more elegant solutions to many of the raised issues.
>>>> 
>>>> Thanks,
>>>> Brian
>>>> 
>>>> 
>>>> Sent from my iPhone
>>>> 
>>>>> On Aug 25, 2022, at 2:48 PM, Mike Kerner via use-livecode <
>>>> use-livecode@lists.runrev.com> wrote:
>>>>> 
>>>>> the two things that are glaring, imho are
>>>>> * [preHiliteChanged](
>> https://quality.livecode.com/show_bug.cgi?id=23207)
>>>> -
>>>>> someone taps on a selection. i do a check, throw up a "nope", and
>> nothing
>>>>> changes. this one is preventing me from moving off of the 
>>>>> tmControls
>>>> navbar.
>>>>> * autowidth to the card width.
>>>>> but there are several others, as well
>>>>> 
>>>> 
>> https://quality.livecode.com/buglist.cgi?quicksearch=navigation%20bar
>> _id=105904
>>>>> listen, i get it. i need to re-learn lcb and actually use it.
>>>>> but i also have force powers, so i know that someone is going to 
>>>>> do
>> these
>>>>> things, before i do, and then i won't have to.
>>>>> 
>>>>>> On Thu, Aug 25, 2022 at 2:39 PM Ralph DiMola via use-livecode < 
>>>>>> use-livecode@lists.runrev.com> wrote:
>>>>&g

RE: Svg Icon Tool

2022-08-26 Thread Ralph DiMola via use-livecode
Do widgets even have the capability to send a message and have it return back 
to the widget if it is "Pass"ed in the spirit of "Pre" messages?

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 
Mike Kerner via use-livecode
Sent: Friday, August 26, 2022 9:27 AM
To: How to use LiveCode
Cc: Mike Kerner
Subject: Re: Svg Icon Tool

you would have a property for autohilite, and if that is false, the developer 
would be responsible for setting the hilite. that's the way it's implemented 
with other controls.

On Fri, Aug 26, 2022 at 9:23 AM Brian Milby via use-livecode < 
use-livecode@lists.runrev.com> wrote:

> The silent update would allow that to happen in the hilitechanged handler.
>
> I don’t know how you would implement a pre… message.  How would the 
> widget know whether to proceed or not?  The two messages would fire 
> almost simultaneously.  There also isn’t any way to tell the widget to 
> cancel the highlight action, which would be needed.
>
> A mouseDown message may work but would still need a way to cancel the 
> highlight.  I think the silent change is the most seamless way to 
> accomplish this task.
>
> In general I think that normal mouse messages should be passed from 
> widgets - even if they add specialized functionality with additional 
> messages.  I don’t think they would solve this issue on their own though.
>
> (I also did some work in this widget to add the nothing and multiple
> selections)
>
>
>
> > On Aug 26, 2022, at 9:03 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > i don't think so. i want to be able to be able to intercept the 
> > touch/click, and decide what to do. sometimes i want to ignore it.
> > sometimes i want to throw up an error and not switch. sometimes i 
> > want to do something else, first.
> >
> >> On Thu, Aug 25, 2022 at 5:48 PM Brian Milby via use-livecode < 
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>
> >> I think what we probably need is simply:
> >>
> >> set the hilitedItemSilently of widget 1 to 1 Or set the 
> >> hilitedItemWithoutMessage of widget 1 to 1
> >>
> >> This would allow more elegant solutions to many of the raised issues.
> >>
> >> Thanks,
> >> Brian
> >>
> >>
> >> Sent from my iPhone
> >>
> >>> On Aug 25, 2022, at 2:48 PM, Mike Kerner via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> the two things that are glaring, imho are
> >>> * [preHiliteChanged](
> https://quality.livecode.com/show_bug.cgi?id=23207)
> >> -
> >>> someone taps on a selection. i do a check, throw up a "nope", and
> nothing
> >>> changes. this one is preventing me from moving off of the 
> >>> tmControls
> >> navbar.
> >>> * autowidth to the card width.
> >>> but there are several others, as well
> >>>
> >>
> https://quality.livecode.com/buglist.cgi?quicksearch=navigation%20bar;
> list_id=105904
> >>> listen, i get it. i need to re-learn lcb and actually use it.
> >>> but i also have force powers, so i know that someone is going to 
> >>> do
> these
> >>> things, before i do, and then i won't have to.
> >>>
> >>>> On Thu, Aug 25, 2022 at 2:39 PM Ralph DiMola via use-livecode < 
> >>>> use-livecode@lists.runrev.com> wrote:
> >>>>
> >>>> Mike,
> >>>> I have used my own version of the navbar widget for years. I 
> >>>> added an option to enlarge/vertically justify the icon if there 
> >>>> is no label and eliminated the "new item" thingy. I think the 
> >>>> stock widget already
> lets
> >> you
> >>>> select the zero option. I added that back before the stock widget 
> >>>> let
> >> you
> >>>> do it. What changes/enhancements are you looking for?
> >>>>
> >>>> I also have LCS routines to store the navbar options as a custom
> >> property
> >>>> array. I have handlers to add/delete/change option text and icons 
> >>>> via script for a contextual UI. They are not documented or 
> >>>> polished but if there is any interest I will look into it.
> >>>>
> >>>> Ralph DiMola
> >>>> IT Director
> >>

  1   2   3   4   5   6   7   8   9   10   >