Re: livecode website templates

2016-03-07 Thread stephen barncard
Look into revIgniter.. a great CMS written in Livecode Server... more than
a template...

http://revigniter.com/

First and foremost, a framework for your beloved coding language
A Model-View-Controller based framework
A framework with a small footprint
Excellent performance
A framework that requires virtually zero configuration
A framework that does not require you to stick to limiting coding rules
(almost)
A clear, detailed documentation

Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Sun, Mar 6, 2016 at 10:11 PM, Matt Maier  wrote:

> Does anyone know of any website templates that use Livecode? I want to set
> up a basic file hosting/sharing thing with logins. I've got space in what
> used to be the on-rev servers and it would be nice to continue using
> livecode on the web like I use it on the desktop.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Launcher Stack and Saving

2016-03-07 Thread J. Landman Gay
You'd think it should work since you followed the lesson exactly. But 
try putting the launcher stack in use before you close it. That will 
keep its resources available. Closing a stack generally removes it from 
the message path.


On 3/7/2016 3:26 PM, Randy Hengst wrote:

Hi All,

I’m working for the first time with the “launcher” stack process to be able to 
save in a livecode stack.

OSX 10.10.5 and LC 7.1.1

I’ve followed this lesson:
How do I save custom properties in a standalone application?
http://lessons.livecode.com/m/4071/l/17375-how-do-i-save-custom-properties-in-a-standalone-application

And have created a “launch” stack and “main” stack as outlined. So, this code 
is in the launcher:
on openStack
 open stack "Main Application.livecode"
 close stack "Launcher"
end openStack

And, in the main stack I have this code
on closeStack
save this stack
pass closeStack
end closeStack

The “main” stack opens just fine…  But, I’ve run into a couple bumps for which 
I haven’t found an answer in the lists or forum.

First, my “answer” calls don’t work when I open the “main” stack from the 
launcher. They work just fine in the IDE. Nothing appears at all. The script 
does run as if the “answer” call isn’t there… no error, etc.

Second, when I “quit” the launcher the changes made to the “main” stack are not 
saved. However, when I close by clicking the “red” dot of the “main” stack, the 
changes are saved.

Finally, is it possible to place the “main” stack in the OSX package rather 
than having the stack in the same folder as the launcher standalone?

be well,
randy

Randy Hengst
www.classroomFocusedSoftware.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




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


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

Re: livecode website templates

2016-03-07 Thread Matt Maier
Oh. So, when you use Livecode to put "Hello world" into the browser, is it
actually sending the browser something like Hello world from the
server?
On Mar 7, 2016 19:57, "Richard Gaskin"  wrote:

> Matt Maier wrote:
>
>> Has anybody actually built a website using Livecode, as in these examples?
>> http://samples.on-rev.com/index.irev
>>
>> I checked the code in all of these sites and, unless I'm missing
>> something,
>> everyone who knows Livecode is using javascript (or is just using
>> templates?).
>>
>
> JavaScript is the only language embedded in browsers, so it's no like
> anyone has a choice there.
>
> But JavaScript is also plain text, and LiveCode is very adept at
> manipulating text.  Many of us deliver that along with HTML and CSS from
> LiveCode running on the backend.
>
> Not for everything; static content needn't be slowed down by putting it
> into a dynamic content delivery system.  But most of us have at least some
> dynamic content and/or services made with LiveCode on our servers, and some
> of us even use LiveCode for part of our static content management.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for Desktop, Mobile, and Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.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: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-07 Thread Monte Goulding

> On 8 Mar 2016, at 10:32 AM, JB  wrote:
> 
> When you mention LCB is that the widget builder they
> imported Foundation for?

LCB is for more than just widgets

>  If it is and his main goal is
> speed wouldn’t he be better off using a external since
> they have better performance?

I’m not aware of speed comparisons. Perhaps the FFI is more of a bottleneck 
than the external api but it would be interesting to see the data.

Cheers

Monte
___
use-livecode mailing list
use-livecode@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 website templates

2016-03-07 Thread Richard Gaskin

Matt Maier wrote:

Has anybody actually built a website using Livecode, as in these examples?
http://samples.on-rev.com/index.irev

I checked the code in all of these sites and, unless I'm missing something,
everyone who knows Livecode is using javascript (or is just using
templates?).


JavaScript is the only language embedded in browsers, so it's no like 
anyone has a choice there.


But JavaScript is also plain text, and LiveCode is very adept at 
manipulating text.  Many of us deliver that along with HTML and CSS from 
LiveCode running on the backend.


Not for everything; static content needn't be slowed down by putting it 
into a dynamic content delivery system.  But most of us have at least 
some dynamic content and/or services made with LiveCode on our servers, 
and some of us even use LiveCode for part of our static content management.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: using imageSource in datagrid tables

2016-03-07 Thread Phil Davis

Thank you Zryip! This works nicely.

Phil



On 3/7/16 3:27 PM, zryip theSlug wrote:

Phil,

In the custom behavior of the column or in the custom column behavior
of your datagrid:

on FillInData pData
set the text of the long ID of me to pData
set the imageSource of char 1 of (the long id of me) to 1010
end FillInData


Best Regards,

On Mon, Mar 7, 2016 at 8:32 PM, Phil Davis  wrote:

Hi folks,

I want to set the imageSource of char 1 of a data grid table cell to an icon
ID. Has anyone succeeded in doing this? If so, could you post your code? I'm
struggling with it.

Thanks -

--
Phil Davis


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




--
Phil Davis


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

2016-03-07 Thread Matt Maier
Has anybody actually built a website using Livecode, as in these examples?
http://samples.on-rev.com/index.irev

I checked the code in all of these sites and, unless I'm missing something,
everyone who knows Livecode is using javascript (or is just using
templates?).
https://livecode.com/
http://activethought.net/
http://mergext.com/
http://www.fourthworld.com/index.html
http://livecodegamedeveloper.com/
http://livecodesupersite.com/
http://www.bluemangolearning.com/livecode/
http://on-rev.com/server-status/home/
https://www.fmpromigrator.com/services/php_to_livecode_service.html
http://www.gatewestcoin.com/

On Sun, Mar 6, 2016 at 10:43 PM, Phil Davis  wrote:

> Templates, no. Framework, yes:
>
> http://revigniter.com/
>
> Phil Davis
>
>
>
>
> On 3/6/16 10:11 PM, Matt Maier wrote:
>
>> Does anyone know of any website templates that use Livecode? I want to set
>> up a basic file hosting/sharing thing with logins. I've got space in what
>> used to be the on-rev servers and it would be nice to continue using
>> livecode on the web like I use it on the desktop.
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
> --
> Phil Davis
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-07 Thread JB
When you mention LCB is that the widget builder they
imported Foundation for?  If it is and his main goal is
speed wouldn’t he be better off using a external since
they have better performance?

John Balgenorth


> On Mar 7, 2016, at 2:47 AM, Monte Goulding  wrote:
> 
> 
>> On 7 Mar 2016, at 9:37 PM, Jonathan Lynch  wrote:
>> 
>> I am trying to figure out how to link it to LiveCode, now. Thanks for this
>> pointer.
> 
> You might be able to just compile the library and then hook what you need up 
> via LCB which would be nice. There does look to be rather heavy use of 
> structs which would probably make a LCB implementation more complicated than 
> an external implementation at this stage.
> 
> Cheers
> 
> Monte
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


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

Re: using imageSource in datagrid tables

2016-03-07 Thread zryip theSlug
Phil,

In the custom behavior of the column or in the custom column behavior
of your datagrid:

on FillInData pData
   set the text of the long ID of me to pData
   set the imageSource of char 1 of (the long id of me) to 1010
end FillInData


Best Regards,

On Mon, Mar 7, 2016 at 8:32 PM, Phil Davis  wrote:
> Hi folks,
>
> I want to set the imageSource of char 1 of a data grid table cell to an icon
> ID. Has anyone succeeded in doing this? If so, could you post your code? I'm
> struggling with it.
>
> Thanks -
>
> --
> Phil Davis
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
Zryip TheSlug
http://www.aslugontheroad.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


Launcher Stack and Saving

2016-03-07 Thread Randy Hengst
Hi All,

I’m working for the first time with the “launcher” stack process to be able to 
save in a livecode stack.

OSX 10.10.5 and LC 7.1.1

I’ve followed this lesson: 
How do I save custom properties in a standalone application?
http://lessons.livecode.com/m/4071/l/17375-how-do-i-save-custom-properties-in-a-standalone-application

And have created a “launch” stack and “main” stack as outlined. So, this code 
is in the launcher:
on openStack
open stack "Main Application.livecode"
close stack "Launcher"
end openStack

And, in the main stack I have this code
on closeStack
   save this stack
   pass closeStack
end closeStack

The “main” stack opens just fine…  But, I’ve run into a couple bumps for which 
I haven’t found an answer in the lists or forum.

First, my “answer” calls don’t work when I open the “main” stack from the 
launcher. They work just fine in the IDE. Nothing appears at all. The script 
does run as if the “answer” call isn’t there… no error, etc.

Second, when I “quit” the launcher the changes made to the “main” stack are not 
saved. However, when I close by clicking the “red” dot of the “main” stack, the 
changes are saved. 

Finally, is it possible to place the “main” stack in the OSX package rather 
than having the stack in the same folder as the launcher standalone?

be well,
randy

Randy Hengst
www.classroomFocusedSoftware.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

using imageSource in datagrid tables

2016-03-07 Thread Phil Davis

Hi folks,

I want to set the imageSource of char 1 of a data grid table cell to an 
icon ID. Has anyone succeeded in doing this? If so, could you post your 
code? I'm struggling with it.


Thanks -

--
Phil Davis


___
use-livecode mailing list
use-livecode@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] An XFCE launcher that will hide behind Livecode standalones

2016-03-07 Thread Tore Nilsen
You could also have LiveCode check the folder automatically, in timed 
intervals, put the files of the folder into a variable, filter out unwanted 
files and put the variable into the field. Then all you would have to take care 
of was to add the apps to the folder.

Tore

> 7. mar. 2016 kl. 19.22 skrev Tore Nilsen :
> 
> Or you could just read in the actual stacks to use from a document, put the 
> info into a field, and put a mouseUp handler in the field that responds to 
> the clickLine to launch the chosen stack. Then all you would have to do is to 
> add or change information in the document. You could hav the launcher read 
> from the document automatically in time, or at start up.
> 
> Tore
> 
>> 7. mar. 2016 kl. 19.17 skrev RM :
>> 
>> That's all very fine in theory until you realise that new standalones will be
>> continually added, so one will have to be continually rewriting the launcher 
>> and
>> reinstalling it, along with the new standalones, on all the machines in my 
>> school.
>> 
>> I have subsequently tired out using an XFCE panel with 6 rows that hides 
>> 'always' or 'intelligently',
>> which, while not ideal, will probably have to do for the moment.
>> 
>> In a perfect world (Ha, Ha, Ha) as standalones were added to a folder there 
>> would be symbolic links
>> added to some sort of blanket launcher/desktop that, on a standalone being 
>> launched would not 'hide' or somesuch, but would just remain behind the 
>> standalone.
>> 
>> This can be done by setting up launchers on the XFCE desktop and not having 
>> any panels, but
>> this has to be done on a machine-by-machine basis which is a 'major fag' 
>> frankly.
>> 
>> Richmond.
>> 
>> On 7.03.2016 02:08, [-hh] wrote:
>>> Why don't you write a stack, that has a launch button for each standalone, 
>>> and minimizes to a small square at topRight after each launch?
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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] An XFCE launcher that will hide behind Livecode standalones

2016-03-07 Thread Tore Nilsen
Or you could just read in the actual stacks to use from a document, put the 
info into a field, and put a mouseUp handler in the field that responds to the 
clickLine to launch the chosen stack. Then all you would have to do is to add 
or change information in the document. You could hav the launcher read from the 
document automatically in time, or at start up.

Tore

> 7. mar. 2016 kl. 19.17 skrev RM :
> 
> That's all very fine in theory until you realise that new standalones will be
> continually added, so one will have to be continually rewriting the launcher 
> and
> reinstalling it, along with the new standalones, on all the machines in my 
> school.
> 
> I have subsequently tired out using an XFCE panel with 6 rows that hides 
> 'always' or 'intelligently',
> which, while not ideal, will probably have to do for the moment.
> 
> In a perfect world (Ha, Ha, Ha) as standalones were added to a folder there 
> would be symbolic links
> added to some sort of blanket launcher/desktop that, on a standalone being 
> launched would not 'hide' or somesuch, but would just remain behind the 
> standalone.
> 
> This can be done by setting up launchers on the XFCE desktop and not having 
> any panels, but
> this has to be done on a machine-by-machine basis which is a 'major fag' 
> frankly.
> 
> Richmond.
> 
> On 7.03.2016 02:08, [-hh] wrote:
>> Why don't you write a stack, that has a launch button for each standalone, 
>> and minimizes to a small square at topRight after each launch?
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@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] An XFCE launcher that will hide behind Livecode standalones

2016-03-07 Thread RM
That's all very fine in theory until you realise that new standalones 
will be
continually added, so one will have to be continually rewriting the 
launcher and
reinstalling it, along with the new standalones, on all the machines in 
my school.


I have subsequently tired out using an XFCE panel with 6 rows that hides 
'always' or 'intelligently',

which, while not ideal, will probably have to do for the moment.

In a perfect world (Ha, Ha, Ha) as standalones were added to a folder 
there would be symbolic links
added to some sort of blanket launcher/desktop that, on a standalone 
being launched would not 'hide' or somesuch, but would just remain 
behind the standalone.


This can be done by setting up launchers on the XFCE desktop and not 
having any panels, but
this has to be done on a machine-by-machine basis which is a 'major fag' 
frankly.


Richmond.

On 7.03.2016 02:08, [-hh] wrote:

Why don't you write a stack, that has a launch button for each standalone, and 
minimizes to a small square at topRight after each launch?

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



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


LCB: Inline documentation not showing up in LCB

2016-03-07 Thread Stephen MacLean
Hi All,

I’m using the inline documentation method for rsIsValid and I am not seeing it 
in the API listing or User Guide although I’m not sure it’s supposed to be 
there for the user guide.

Any ideas? 

Thanks,

Steve MacLean

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

[ANN] This Week in LiveCode 23

2016-03-07 Thread Peter TB Brett

Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

 Read issue #23 here: https://goo.gl/dD3Ub8


This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project.  New issues will be
released weekly on Mondays.  We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.

  Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

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


Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-07 Thread Monte Goulding

> On 7 Mar 2016, at 9:37 PM, Jonathan Lynch  wrote:
> 
> I am trying to figure out how to link it to LiveCode, now. Thanks for this
> pointer.

You might be able to just compile the library and then hook what you need up 
via LCB which would be nice. There does look to be rather heavy use of structs 
which would probably make a LCB implementation more complicated than an 
external implementation at this stage.

Cheers

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


Re: I need to write an external for LiveCode in C++, but I doubt my ability to do it.

2016-03-07 Thread Jonathan Lynch
I have been reading about OpenCV. It sounds quite extensive!!! Can it make
my morning coffee? Given all of the other functions built into it, I would
not be entirely surprised. OpenCV includes facial recognition functions,
which seems substantially more difficult.

I am trying to figure out how to link it to LiveCode, now. Thanks for this
pointer.

On Sun, Mar 6, 2016 at 10:35 PM, Mark Wieder  wrote:

> On 03/06/2016 06:10 PM, Monte Goulding wrote:
>
> I might be inclined to look at an OpenCV external. I believe with OpenCV
>> you can green screen live camera feeds so it’s pretty fast.
>>
>
> I second the suggestion for OpenCV. It's blazingly fast and probably
> already has much of what you need prepackaged for you. I use it, for
> example, to determine pulse rate from live webcam streams.
>
> --
>  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
>



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