Re: Quick and simple web demos?

2022-09-30 Thread Mark Wieder via use-livecode

On 9/30/22 17:11, Alex Tweedly via use-livecode wrote:


and the poor indexing/naming makes it tedious to try to find.


...and speaking of poor indexing etc...
I was looking for a way to point the svgicon widget to an external svg 
file and finding that for some reason this isn't built into the widget. 
So I want online to livecodeshare and typed "svg" into the search field. 
Upper case.

Lower case.
Didn't matter - I still got zero results, even though I know there are 
several stacks to deal with svg files.


Thank you so much for your Sample Stacks plugin, which does the job SO 
much better than that stupid web site. Still don't have an answer to my 
problem, but at least I can search properly. Over time I've gradually 
been replacing parts of my development environment with improvements: 
tinyDictionary, etc. Waiting for someone to build a better Proj Browser.


BTW... I typed "Sample stacks" into the web search field and got 57 
hits, only one of which had anything to do with sample stacks.


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


Re: Quick and simple web demos?

2022-09-30 Thread Alex Tweedly via use-livecode

Short answers:

1. Yes

2. Yes, but probably not.

3. Yes.

Long answers.

1. Yes, absolutely, it's ideal for quick, easy-to-distribute apps or 
demo samples.


2. Yes, you'll need somewhere to store/give access to the files. But it 
probably won't be Google Drive - you want the files of the app to each 
be accessible via https: (and there are assumptions about their relative 
position in the default build version - may be possible to over-ride 
them and use Google Drive, but I suspect lots more work. Easiest is to 
just have a web server and put the bundle created by  build-for-web up 
there.


3. Yes.

4. There are a few samples, etc.

https://lessons.livecode.com/m/4071/l/1496056-how-do-i-put-my-first-app-on-the-web-lc-10-and-later

Note this uses the default-built HTML file, which is pretty unappealing. 
The discussion on the comments says something about replacing it, or 
there have been other examples on the uselist and (more) on the forums 
about this. In one of the LC Global conferences fairly recently, Steve 
Crighton and Michael Macreary did a web app, with custom html/LCS to 
interact to handle resizing etc. Sorry - don't know which one it was, 
and the poor indexing/naming makes it tedious to try to find. It's all a 
bit complex and barely documented for now, but will improve before 
actual release.


Alex.


On 30/09/2022 20:12, Geoff Canyon via use-livecode wrote:

Back in the day, I would create quick and simple demos of something I was
building as a concept, create standalones, and send them to the people I
wanted to demonstrate to. As an example of an example, suppose I wanted to
build a simple Eliza-like chatbot. I could throw a field on a card, put a
"start chat" button on it, and build logic in the field or the card to get
the job done. A few message handlers for EnterInField and ReturnInField
would get the job done.

These days there are at least two flaws with that approach:

1. Often the people I want to demo to are using work computers that are
locked down from random app installs.
2. Sometimes I want to build a demo the world at large can see, and clearly
installing an app from some random person is not the way to do that anymore.

SO: is it accurate to say:

1. The above is possible
2. I'd need a web-accessible place to store the files -- would google drive
be sufficient?
3. I'd need to add an HTML5 license to my account

Any best references for steps to follow?

Thanks,

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


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


Re: RegEx to convert standard date to sql date

2022-09-30 Thread Bob Sneidar via use-livecode
Well it's like this. I am working in a document management system, and when I 
capture a date, I want to convert it to an sql date. I am not working in 
Livecode for this. 

Bob S


> On Sep 30, 2022, at 10:38 , Jacques Clavel via use-livecode 
>  wrote:
> 
> Why not :
> set itemdel to "/"
> get tDate
> put item 3 of it & item 1 of it & item 2 of it into tSql
> 
> JC
> 
> Le ven. 30 sept. 2022 à 19:13, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> a écrit :
> 
>> I'm trying to convert a date format like mm/dd/ to an sql date format
>> mmdd. Any ideas? Nothing I found on the interwebs seems to work.
>> 
>> 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
>> 
> 
> 
> -- 
> Jacques Clavel
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Quick and simple web demos?

2022-09-30 Thread Geoff Canyon via use-livecode
Back in the day, I would create quick and simple demos of something I was
building as a concept, create standalones, and send them to the people I
wanted to demonstrate to. As an example of an example, suppose I wanted to
build a simple Eliza-like chatbot. I could throw a field on a card, put a
"start chat" button on it, and build logic in the field or the card to get
the job done. A few message handlers for EnterInField and ReturnInField
would get the job done.

These days there are at least two flaws with that approach:

1. Often the people I want to demo to are using work computers that are
locked down from random app installs.
2. Sometimes I want to build a demo the world at large can see, and clearly
installing an app from some random person is not the way to do that anymore.

SO: is it accurate to say:

1. The above is possible
2. I'd need a web-accessible place to store the files -- would google drive
be sufficient?
3. I'd need to add an HTML5 license to my account

Any best references for steps to follow?

Thanks,

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


Re: RegEx to convert standard date to sql date

2022-09-30 Thread Tom Glod via use-livecode
Regex is overkill for this . i would handcode the translation like
Keith mentioned.

On Fri, Sep 30, 2022 at 1:42 PM Keith Clarke via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If it's always this standard string 'tDate' why not avoid Regex and just
> set the delimiters of tDate to "/" and then put item 3 of tDate & item 2 of
> tDate and put item 1 of tDate?
> Best,
> Keith
>
> > On 30 Sep 2022, at 18:13, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I'm trying to convert a date format like mm/dd/ to an sql date
> format mmdd. Any ideas? Nothing I found on the interwebs seems to work.
> >
> > 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: RegEx to convert standard date to sql date

2022-09-30 Thread Keith Clarke via use-livecode
If it's always this standard string 'tDate' why not avoid Regex and just set 
the delimiters of tDate to "/" and then put item 3 of tDate & item 2 of tDate 
and put item 1 of tDate?
Best,
Keith 

> On 30 Sep 2022, at 18:13, Bob Sneidar via use-livecode 
>  wrote:
> 
> I'm trying to convert a date format like mm/dd/ to an sql date format 
> mmdd. Any ideas? Nothing I found on the interwebs seems to work. 
> 
> 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: RegEx to convert standard date to sql date

2022-09-30 Thread Jacques Clavel via use-livecode
Why not :
set itemdel to "/"
get tDate
put item 3 of it & item 1 of it & item 2 of it into tSql

JC

Le ven. 30 sept. 2022 à 19:13, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> a écrit :

> I'm trying to convert a date format like mm/dd/ to an sql date format
> mmdd. Any ideas? Nothing I found on the interwebs seems to work.
>
> 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
>


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


RegEx to convert standard date to sql date

2022-09-30 Thread Bob Sneidar via use-livecode
I'm trying to convert a date format like mm/dd/ to an sql date format 
mmdd. Any ideas? Nothing I found on the interwebs seems to work. 

Bob S


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


Re: one field to rule them all

2022-09-30 Thread Tom Glod via use-livecode
Mike, if you have the bundle and the appstarterstack, you can view the
examples there.

On Mon, Sep 26, 2022 at 4:36 PM Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Is there any advantage to using the android widget vs. creating them
> with the commands? I'd like to make the ios and android versions of this
> app as close as possible, since there's already going to be a tablet and
> a phone version.
> I just wonder why all the field widgets weren't all combined into a single
> widget. You've got the commands to build something by hand, the android
> widget, the mac widget, and several field objects. I can understand having
> various objects if you have a situation like you do with the field objects,
> where the settings are different because the use-cases are different.
>
> On Mon, Sep 26, 2022 at 3:46 PM Mike Kerner 
> wrote:
>
> > does anyone know why we don't have a single field widget?
> > i am just dipping a toe in the android waters, so do the mobilecontrol
> > commands not work in android? the dictionary seems to say that they do.
> >
> > --
> > 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