Widgets' Use Cases and Bytes Added to App

2016-04-04 Thread Sannyasin Brahmanathaswami
Just putting my little pinky into the widget world.

Frequently we use small groups to instantiate "objects" which are made of of 
several controls grouped together. These are then replicated across some card 
for whatever purpose. I think that is the underlying model for the DataGrid.

Would such a small group be better created as a widget?

Put another way, can we, in generalized "framework speak" define what uses 
cases best call for a widget and when they are best *not* used?

In the case of any given widget, if it were is duplicated 50 times. Is all that 
code added X 50  added to the total overhead/size of the app? or is a "class" 
whose code reused and only the content the presentation layer is adding the 
file size?




___
use-livecode mailing list
use-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: Design Challenge -- Round Corner mask on images

2016-04-04 Thread Sannyasin Brahmanathaswami
Indeed.. thank you.. not only for the widget but for a good example of what can 
be done.


On April 4, 2016 at 8:32:16 AM, William Prothero 
(proth...@earthednet.org) wrote:

Trevor:
Very nice! Thanks for the widget.
Best,
Bill
___
use-livecode mailing list
use-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 Only Stack Architecture

2016-04-04 Thread Sannyasin Brahmanathaswami
I'm just working on the next issue of Hinduism Today and checking articles in 
and out of version control system dedicated to Indesign that I built... we have 
been using it for 8 years, team loves it..super, super easy, never lost a 
single file... having finally bailed on Adobe's ridiculously complicated and 
error prone VersionCue which they killed (thank god) I said to the team, "We 
don't need to waste any more time or money on any DAM software, let me build 
it." (smile)

In house app here are used to post to our blog daily; and volunteers around the 
world use an LC stand alone to pull audio files from our server and transcript 
them and post the transcript back. That thing has been running flawlessing 
since 2001 (really!) I get auto notifications. Another app, built by Andre is 
also used globally by everyone from "your little sister" to our team work on 
the upload media and enter the metadata of media on our web server.

And here at my desk, if I have to do something twice, I will do it twice; if I 
have to do something three times I will use Livecode. e.g. get the rect and 
filenames of 5,000 images, write out data to a tab delimited file, upload the 
images to the web server and use RevIgniter to read the metadata and add 
records to the database. I don't see how it could be any better or more 
efficient.

But i don't this this is so unusual, I bet there are a lot of such user stories 
hidden away

BR


On April 4, 2016 at 11:23:49 AM, Mark Wieder 
(mwie...@ahsoftware.net) wrote:

> HAP stands for Himalayan Academy Publication (http://himalayanacademy.com/).
> Where we use LC everyday

Sometimes twice a day, I'll bet.

--
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: Script Only Stack Architecture

2016-04-04 Thread Mark Wieder

On 04/04/2016 01:59 PM, Andre Garzia wrote:


HAP stands for Himalayan Academy Publication (http://himalayanacademy.com/).
Where we use LC everyday


Sometimes twice a day, I'll bet.

--
 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: Script Only Stack Architecture

2016-04-04 Thread Andre Garzia
Hey Richard,

I miss you and the gang everyday! I am trying to be more present and want
to learn all the goodies from LC8.

HAP stands for Himalayan Academy Publication (http://himalayanacademy.com/).
Where we use LC everyday

:-D

On Mon, Apr 4, 2016 at 5:10 PM, Richard Gaskin 
wrote:

> Andre Garzia wrote:
>
> > Hey Friends,
> >
> > Long time no see! Loved this thread! In the spirit of working in
> > the open and sharing unfinished (and potentially broken) stuff,
> > I'd welcome you all to take a look into some documentation we're
> > putting into place at:
> >
> >   https://bitbucket.org/hapdevelopers/devdocs/wiki/Home
> >
> > We welcome feedback, advise, suggestions and comments! :D Give use
> > your two livecents! :D
> >
> > PS: The objective is to have a bit of documentation on best practices
> > that we can point developers (internal and external) to.
>
> I have no idea what "HAP" stands for, but I'm very glad to see you back on
> this list!
>
> Hope we'll be seeing more of you.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the 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
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-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 Only Stack Architecture

2016-04-04 Thread Richard Gaskin

Andre Garzia wrote:

> Hey Friends,
>
> Long time no see! Loved this thread! In the spirit of working in
> the open and sharing unfinished (and potentially broken) stuff,
> I'd welcome you all to take a look into some documentation we're
> putting into place at:
>
>   https://bitbucket.org/hapdevelopers/devdocs/wiki/Home
>
> We welcome feedback, advise, suggestions and comments! :D Give use
> your two livecents! :D
>
> PS: The objective is to have a bit of documentation on best practices
> that we can point developers (internal and external) to.

I have no idea what "HAP" stands for, but I'm very glad to see you back 
on this list!


Hope we'll be seeing more of you.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the 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: Script Only Stack Architecture

2016-04-04 Thread Andre Garzia
Hey Friends,

Long time no see! Loved this thread! In the spirit of working in the open
and sharing unfinished (and potentially broken) stuff, I'd welcome you all
to take a look into some documentation  we're putting into place at:

  https://bitbucket.org/hapdevelopers/devdocs/wiki/Home

We welcome feedback, advise, suggestions and comments! :D Give use your two
livecents! :D

PS: The objective is to have a bit of documentation on best practices that
we can point developers (internal and external) to.

Cheers
andre

On Mon, Apr 4, 2016 at 5:32 AM, Ali Lloyd  wrote:

> localPath() &
> "main-stack-scripts/generic-mobile-functions_behavior.livecode" is not a
> valid stack reference - it's just a path. Try:
>
> on assignBehaviors
>
> set the behavior of stack "siva-portal-links_behavior" to the long id of
> stack (localPath() &
> "main-stack-scripts/generic-mobile-functions_behavior.livecode")
>
> end assignBehaviors
>
> On Mon, Apr 4, 2016 at 5:42 AM Sannyasin Brahmanathaswami <
> bra...@hindu.org>
> wrote:
>
> > But FWIW.. this does not work
> >
> > on assignBehaviors
> >
> > set the behavior of stack "siva-portal-links_behavior" to (localPath() &
> > "main-stack-scripts/generic-mobile-functions_behavior.livecode")
> >
> > end assignBehaviors
> >
> > OTOH: if you assign the behavior via the inspector to the script-only
> > stack it *does* work..
> >
> > So there must be a syntax for that that we can use also.
> >
> > What is it?
> >
> > On March 31, 2016 at 12:30:50 PM, Ali Lloyd (ali.ll...@livecode.com
> > ) wrote:
> >
> > My solution to this:
> >
> > Stack "MyTestStack" has a field, which is assigned stack
> > "MyBehaviorStack" as its behavior property.
> >
> > Stack "MyBehaviorStack" is a separate stack file.
> >
> > would be to also include the behavior *setting* in the preOpenStack
> handler
> > of "MyTestStack".
> >
> > on preOpenStack
> > set the behavior of field "FieldWithBehavior" of me to  > MyBehaviorStack>
> > end preOpenStack
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-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: snapshot from rect XXX without card?

2016-04-04 Thread Alejandro Tejada
This works. Just copy the alphadata from
an imported snapshot of the graphic
into the snapshot of the graphic with
ink effects applied:

put the windowID of this stack into CHOP 
put the rect of graphic 1 into REKT 
import snapshot from grc 1
set the name of last img to "grc_snapshot_with_alpha"
import snapshot from rect REKT of window CHOP
set the name of last img to "grc_snapshot_with_inks"
set the alphadata of img "grc_snapshot_with_inks" to the alphadata of img
"grc_snapshot_with_alpha"
delete img "grc_snapshot_with_alpha"

Alejandro




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/snapshot-from-rect-XXX-without-card-tp4703100p4703106.html
Sent from the Revolution - User mailing list archive at Nabble.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: Design Challenge -- Round Corner mask on images

2016-04-04 Thread William Prothero
Trevor:
Very nice! Thanks for the widget.
Best,
Bill

> On Apr 3, 2016, at 8:17 PM, William Prothero  wrote:
> 
> Trevor:
> Never tried to install a widget before. I downloaded your zip folder and 
> copied the folder with its contents to the “extensions” folder. I don’t see 
> it in the extensions manager. I’m in dp15. Any suggestions?
> Bill
> 
> 
>> On Apr 3, 2016, at 2:50 PM, Trevor DeVore  wrote:
>> 
>> On Sun, Mar 27, 2016 at 6:26 PM, Sannyasin Brahmanathaswami <
>> bra...@hindu.org> wrote:
>> 
>>> Our design team finished a design for a mobile app. The used rounded
>>> corners everywhere.
>>> 
>>> see
>>> 
>>> http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>>> 
>>> Something I wished we had in LC for all controls (groups included) is
>>> corner radius, but is is only available for graphics objects.
>>> 
>> 
>> I thought this would make an interesting widget. I put together a widget
>> that does the following:
>> 
>> 1. Allows you to turn on/off rounded corners for each corner of the widget.
>> 2. Allows you to set the radius.
>> 3. Allows you to set a filename of an image that will be displayed within
>> the widget. Default is to draw the widget using the background color.
>> 
>> The source code can be found in my github repository under
>> "rounded_corners".
>> 
>> https://github.com/trevordevore/livecode-extensions
>> 
>> I tried to package up an .lce version of the extension but then I couldn't
>> find a way to install a packaged widget in the IDE. The only way I can see
>> is to use the Extension Manager to install a widget that you are working
>> on. So for now I've zipped up the folder that you should install in ~/My
>> LiveCode/extensions.
>> 
>> https://www.dropbox.com/s/3o6m6uq6suj5wvs/community.livecode.trevordevore.roundedCorners.1.0.0.zip?dl=0
>> 
>> Let me know if this does what you need.
>> 
>> -- 
>> Trevor DeVore
>> ScreenSteps
>> www.screensteps.com-www.clarify-it.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: 7.1.3 installer failure

2016-04-04 Thread Mark Smith
Robert, advice was to download it directly from
http://downloads.livecode.com/

It worked on my second try.

Mark



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/7-1-3-installer-failure-tp4702798p4703104.html
Sent from the Revolution - User mailing list archive at Nabble.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: Design Challenge -- Round Corner mask on images

2016-04-04 Thread Jim Lambert
Trevor,

Thanks for the Rounded Corners widget.
Very nice!

Jim Lambert

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


Re: Design Challenge -- Round Corner mask on images

2016-04-04 Thread RM



On 4.04.2016 18:21, RM wrote:
Here's the next step; using absolutely the most *bog-basic* code you 
can imagine


(all you purists can check out the button script in "Export Image" and 
get upset)


will export the image with rounded corners AND ink effects.

http://forums.livecode.com/viewtopic.php?f=10&t=26933&p=140584#p140584

Love, Richmond.


My "next tricks" have to be:

1. Graphic effects.

2. Batch processing.

R.
___
use-livecode mailing list
use-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: Design Challenge -- Round Corner mask on images

2016-04-04 Thread RM
Here's the next step; using absolutely the most *bog-basic* code you can 
imagine


(all you purists can check out the button script in "Export Image" and 
get upset)


will export the image with rounded corners AND ink effects.

http://forums.livecode.com/viewtopic.php?f=10&t=26933&p=140584#p140584

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


snapshot from rect XXX without card?

2016-04-04 Thread RM

So there I am, with my happy little stack making pictures
with rounded corners using the simplest code possible (take note of that
last bit people), and to obtain a snapshot of my graphic with rounded
corners with my picture inside it, and any ink effects I have to
do this sort of thing:

put the windowID of stack "CHOPPER" into CHOP
put the rect of graphic "g1" into REKT
export snapshot from rect REKT of window CHOP to file "stinkyCheese.png" 
as PNG


AND I end up with solid colour (the colour of the stack/card) outwith my 
rounded

edges . . .

'bummer' ( hey, look, Richmond learnt at least something other than
Hypercard while he was in the States)

I am unable to understand the Documentation on alphaData.

Richmond.

___
use-livecode mailing list
use-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: Difficulty using Livecode.com

2016-04-04 Thread Trevor DeVore
On Fri, Apr 1, 2016 at 8:26 PM, Mark Wieder  wrote:

> On 04/01/2016 03:13 PM, J. Landman Gay wrote:
>
> Our Linux users can answer that better than I can, but for now bookmark
>> this:  I could find no way to get there by
>> clicking around the web site. That's a grave oversight.
>>
>
> NET::ERR_CERT_COMMON_NAME_INVALID
>
> This server could not prove that it is lessons.livecode.com; its security
> certificate is from *.screenstepslive.com. This may be caused by a
> misconfiguration or an attacker intercepting your connection.


The link should not have the https:// protocol. It should be
http://lessons.livecode.com.

-- 
Trevor DeVore
ScreenSteps
www.screensteps.com-www.clarify-it.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: Design Challenge -- Round Corner mask on images

2016-04-04 Thread Trevor DeVore
On Monday, April 4, 2016, J. Landman Gay  wrote:
>
>
> Trevor, this is SO COOL. Not just the work you've produced, which is
> really neat stuff, but also how anyone can make LC into anything they want.
> I hope Kevin is right and that we get lots more of these little gems.
>

 I'm glad you like it Jacque. I believe Kevin is right. I've been so
impressed with widgets as I've used them in a big project. I just started
beta testify a new project built in LC 8 and I use over 10 custom widgets.
It made the project so much easier from a UI perspective.

-- 
Trevor
___
use-livecode mailing list
use-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: Design Challenge -- Round Corner mask on images

2016-04-04 Thread Trevor DeVore
On Sunday, April 3, 2016, William Prothero  wrote:

> Trevor:
> Never tried to install a widget before. I downloaded your zip folder and
> copied the folder with its contents to the “extensions” folder. I don’t see
> it in the extensions manager. I’m in dp15. Any suggestions?
>

Try updating to DP-16. I use some features that were introduced in DP-16
(color inheritance).

-- 
Trevor
___
use-livecode mailing list
use-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 Only Stack Architecture

2016-04-04 Thread Ali Lloyd
localPath() &
"main-stack-scripts/generic-mobile-functions_behavior.livecode" is not a
valid stack reference - it's just a path. Try:

on assignBehaviors

set the behavior of stack "siva-portal-links_behavior" to the long id of
stack (localPath() &
"main-stack-scripts/generic-mobile-functions_behavior.livecode")

end assignBehaviors

On Mon, Apr 4, 2016 at 5:42 AM Sannyasin Brahmanathaswami 
wrote:

> But FWIW.. this does not work
>
> on assignBehaviors
>
> set the behavior of stack "siva-portal-links_behavior" to (localPath() &
> "main-stack-scripts/generic-mobile-functions_behavior.livecode")
>
> end assignBehaviors
>
> OTOH: if you assign the behavior via the inspector to the script-only
> stack it *does* work..
>
> So there must be a syntax for that that we can use also.
>
> What is it?
>
> On March 31, 2016 at 12:30:50 PM, Ali Lloyd (ali.ll...@livecode.com
> ) wrote:
>
> My solution to this:
>
> Stack "MyTestStack" has a field, which is assigned stack
> "MyBehaviorStack" as its behavior property.
>
> Stack "MyBehaviorStack" is a separate stack file.
>
> would be to also include the behavior *setting* in the preOpenStack handler
> of "MyTestStack".
>
> on preOpenStack
> set the behavior of field "FieldWithBehavior" of me to  MyBehaviorStack>
> end preOpenStack
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-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: Female form of 'guru'?

2016-04-04 Thread RM

Not much chance of that. The last time I met an Iraqi was in a parking lot
outside a strip mall in Al Ain in the United Arab Emirates: he came 
right up to me

and hit me in the face stating that I, personally, was responsible for the
Western Allies attitude towards Sodom Hussein and Weapons of M.D.

This was in 1999.

So, as far as I', concerned I have a "thing" about the "Q" people:

Iraqis, Qataris, and North Qoreans (whoops, something not quite right 
there).




While I'm here; what does everyone think about the . . .

"Ubuntu on Windows" things?

https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/

1. Has "Mr Slugworth" gone one step beyond the Heavy, Heavy Monster Show?

2. Is Richard Stallman's voice going to shriek even more gratingly and 
stridently than it

has been doing for the last X years with little or no result?

3. Does this mean that lots of would-be converters from Windows to Linux 
are now

going to stay in the Windows camp?

4. How will this affect Cross-platform development using Livecode?

Richmond.


On 4.04.2016 10:24, J. Landman Gay wrote:

On April 4, 2016 2:00:01 AM RM  wrote:


How does one pronounce a 'q' without its dependent 'u' ?


Check with the Iraqis. ;)

--
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: Female form of 'guru'?

2016-04-04 Thread J. Landman Gay

On April 4, 2016 2:00:01 AM RM  wrote:


How does one pronounce a 'q' without its dependent 'u' ?


Check with the Iraqis. ;)

--
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: Female form of 'guru'?

2016-04-04 Thread RM

How does one pronounce a 'q' without its dependent 'u' ?

Rather like 'guru' reduced to "Gr" I suppose ?

Love, Richmond.

On 4.04.2016 08:38, J. Landman Gay wrote:

On 4/3/2016 6:26 PM, Dr. Hawkins wrote:

On Sun, Apr 3, 2016 at 1:52 PM, -hh  wrote:



Is there also a designation for a "female guru" in use here?
'Lady guru'?



I've never thought that "guru" implied gender.

But then, "guress" could be cool . . .

gurista?

gurque?

Jacu?


:) You guys are too kind. Actually, my husband (and a lot of other 
people) call me "Jaq". 






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