Re: export variables to launched process?

2016-02-04 Thread Peter TB Brett

On 04/02/2016 08:36, Mark Waddingham wrote:

On 2016-02-04 02:57, Richard Gaskin wrote:

I've successfully exported variables to a process run with shell, e.g.:

put shell("export somevar='Hello!'; ./test.sh")

...where test.sh simply echoes somevar to verify that it got it.

Now I have a process I need to read and write to, but I don't know how
to export variables to it - clues?


A process that gets launched either via shell or open process will
inherit the environment variables set by the engine... So I think doing:

put "Hello!" into $somevar

put shell("./test.sh")
   or
open process ... for ...

Should both have the effect that the launched process will see 'somevar'
as specified.


Of course, it's a good idea to be able to construct a specific 
environment for a subprocess, so please go ahead and file a bug report 
asking us to extend "open process" to allow passing in an array of 
environment variables!


  Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit: https://reddit.com/r/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: AW: How to create a hyperlink within a text field?

2016-02-04 Thread BNig
Tiemo Hollmann TB wrote
> Thanks Jacque,
> 
>>>Create or import a transparent 1x1 pixel image. Hide it. Make each line
in
>>>the table of contents into linked text. The html of each line looks like
> this:

> Chapter one

> 
> In the body text of the field, place a marker character before the chapter
> heading. I'm using "#", like this:
> 
> #Chapter One
> 
> Then set the imagesource of char 1 of the line to the ID of the
> transparent
> image. You won't be able to see the first character after that but the
> text
> is still there. The htmltext of that line looks like this:
> 
<1036> 
> Chapter One
> 
> The line will be slightly indented by one pixel, but it shouldn't be
> noticeable. If you center the heading, it is imperceptible.
> 
> In the field script:
> 
> on linkclicked pURL
>put "#" before pURL
>put lineoffset(pURL, the formattedtext of me) into tLineNum
>set the scroll of me to the effective textheight of me * (tLineNum-1)
> end
> linkclicked
> 
> If you choose a marker character that doesn't exist in the body text,
> lineoffset will always return the correct line.

I like Jaques solution too because it is unequivocal because of the hash.

But Tiemo allows the user to change the width of the field, see his
crossposting to the forum
http://forums.livecode.com/viewtopic.php?f=9=26468

That is where Jaque's solution can fail because of wrapping.

This code is a small change to Jacques solution that should not fail since
words don't wrap


on linkClicked pLink
   put "#" before pLink
   put the formattedText of me into tFormatData 
   
   put lineOffset(pLink,the text of me) into tFound
   
   -- check against the number of words in formattedText later
   -- they don't change compared to regular text
   put the number of words of line 1 to  tFound-1 of me +1 into tNoOfWords
   
   -- now get the number of lines to the first word of the found line
   put the number of lines of word 1 to tNoOfWords of tFormatData into
tApparentLines
   put (tApparentLines - 1) * the effective textHeight of me into tvScroll
   set the vScroll of me to tvScroll
end linkClicked
-

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700711.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


impossible datagrid trouble

2016-02-04 Thread Klaus major-k
Hi all,

I have a datagrid of type form and its template group contains 
a group namded „meu“ which consists of:

graphic „one“
graphic „two“
graphic „three“
field „one“
field „two“
field „three“

Now in my behaviour script I can do:
…
put „one,two,three" into tGCs
repeat for each item i in tGCs

## Works:
 set the backgroundcolor of grc i of grp "meu" of me to 255,255,255

## Error: No such object?
hide fld i of grp "meu" of me
...
But the field(s) are defintiviely there!

I even let me answer all object names -> of grp „meu“ of me
and of course the fields are in that list!?

Quitting and restarting LC a couple of times did not bring any relief.
At some points I even get an error from some LC library with a handler name 
„movestack“???

Any clever hints?


Best

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


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

Re: AW: How to create a hyperlink within a text field?

2016-02-04 Thread BNig
I posted 5 stacks with different solutions to Tiemo's problem


> I want to create a kind of text hyperlink in a resizable scrolling field
> with word wrap.
> 
> I have a long text field with a table of contents at the beginning and
> headlines for chapters and I would like to make the table of content
> clickable as hyperlinks, so that the user is forwarded to the wanted
> chapter in the same field. I can set the textstyle of each chapter in the
> table of content to "link"

among others Jacque's solution and my slight change to it.

http://forums.livecode.com/viewtopic.php?f=9=26468

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700712.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: Release 8.0 DP 14

2016-02-04 Thread RM



On 4.02.2016 22:36, Ali Lloyd wrote:

Yes, 6 and 7 will be EOLed when 8.0 GM is released - at the moment they are
being updated only for critical reasons (eg SSL update, or XCode
compatibility).

So yes, you should be considering wholesale transfer to 8 ASAP. The vast
majority of further work on 8.0 will be LiveCode Builder or IDE related, so
the core engine is pretty stable and has many improvements over the 7.1
engine.


Well, I'll transfer just as soon as the Dictionary has been sorted out.

Richmond.



On Thu, 4 Feb 2016 at 19:23, RM  wrote:



On 4.02.2016 21:18, Ali Lloyd wrote:

On Thu, Feb 4, 2016 at 5:49 PM Dr. Hawkins  wrote:


On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd 

wrote:

*Script Editor Performance*
The script editor's performance with large scripts has been improved.


Is there any way that this can make it into 7?  I lose amazing amounts

of

time on a daily bases to my 10k line scripts . . .

I'm afraid not - even if
the current crop of 7.1 RCs weren't intended to be
the last ones,

Hmm? Does that mean that the LiveCode 7 series is very nearly EOL, and
we should
be considering wholesale transfer to LiveCode 8?

This seems a bit odd when a new LiveCode 6 series has just been released.

Richmond.

and the 8.0 script editor weren't forked, there were several
changes in the engine facilitating the performance boost which cannot be
easily backported.

Can I encourage you to give 8.0 a try instead?
___
use-livecode mailing list
use-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: Ken Burn's Effect Library for Livecode

2016-02-04 Thread Mark Wieder

On 02/01/2016 08:58 AM, Sannyasin Brahmanathaswami wrote:

If anyone knows of html5 IDE that have the same breadth and depth as LiveCode


Well, it's not an IDE, and I know I've mentioned this before on this 
list, but for putting things on the web, especially graphics, you really 
should look into famous.org.


Check out the 3d physics engine.

--
 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: Release 8.0 DP 14

2016-02-04 Thread Dr. Hawkins
On Thu, Feb 4, 2016 at 12:36 PM, Ali Lloyd  wrote:

> So yes, you should be considering wholesale transfer to 8 ASAP. The vast
> majority of further work on 8.0 will be LiveCode Builder or IDE related, so
> the core engine is pretty stable and has many improvements over the 7.1
> engine.
>

Umm, "pretty stable"?  What does that mean?  "can safely ship to paying
clients?"

7 became usable before there was a 6 I could use without major problems.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-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: AW: How to create a hyperlink within a text field?

2016-02-04 Thread BNig
J. Landman Gay wrote
> The formattedtext returns the correct metrics for me even when the field 
> size is changed and the text re-wraps. Do you get different results?

If you make the field not wide enough it it can happen that the chapter
title breaks. The same if you give the user the option to increase text size
or choose a different font



http://forums.livecode.com/viewtopic.php?f=9=26468

number 4 is the stack that uses your code and is set to be admittedly
ridiciously narrow. It shows the problem

There is also Mark Waddinghams suggestion of using the formattedHeight. That
would actually be the way to do a generalised solution including text that
has non-fixed textHeight.

Kind regards

Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700736.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: AW: How to create a hyperlink within a text field?

2016-02-04 Thread Peter Haworth
This might be something I need to do in a different context.  I had been
thinking of using the metadata property of the lines referenced by the
links as a means to locate the correct line. Is that a plausible solution?


On Thu, Feb 4, 2016 at 1:29 PM BNig  wrote:

> J. Landman Gay wrote
> > The formattedtext returns the correct metrics for me even when the field
> > size is changed and the text re-wraps. Do you get different results?
>
> If you make the field not wide enough it it can happen that the chapter
> title breaks. The same if you give the user the option to increase text
> size
> or choose a different font
>
>
>
> http://forums.livecode.com/viewtopic.php?f=9=26468
>
> number 4 is the stack that uses your code and is set to be admittedly
> ridiciously narrow. It shows the problem
>
> There is also Mark Waddinghams suggestion of using the formattedHeight.
> That
> would actually be the way to do a generalised solution including text that
> has non-fixed textHeight.
>
> Kind regards
>
> Bernd
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/How-to-create-a-hyperlink-within-a-text-field-tp4700650p4700736.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
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Can't Get LC Server to fire

2016-02-04 Thread Sannyasin Brahmanathaswami
A bit OT because this seems to be something to do with the web server config

for CGI that runs livecode-community-server  (Linux 64 on Ubuntu 14) we 
typically use a full path to the engine like this if the script is inside the 
cgi-bin


#!/home/htoday/cgi-bin/livecode-community-server
put the keys of $_SERVER into tCGIVars
repeat for each line x in tCGIVars
put x & ": " &  $_SERVER[x] & (""& cr) after tGlobals
end repeat
put "Hello, Livecode Server is Up and Running" & "" & tGlobals



inside the public_html folder you use the .htaccess method  fo setting the 
actions

AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-community-server


"& cr) after tGlobals
end repeat
put "Hello, Livecode Server is Up and Running" & "" & tGlobals



same result… I use this for testing new installs and server upgrades


I just installed Livecode server on our Hinduism Today cloud instance at linode 
which is running the same version of Ubuntu/apache as our Himalayan Academy 
site… also on a Linode cloud instance..

But as you can see the engine is no being triggered here:

http://www.hinduismtoday.com/cgi-bin/echo.lc

Nor on public_html

http://www.hinduismtoday.com/echo.lc

The requested URL /cgi-bin/livecode-community-server/echo.lc was not found on 
this server.

but it works here:

http://www.himalayanacademy.com/cgi-bin/echo.lc
from public-html
http://www.himalayanacademy.com/echo.lc


exact same script; exact same version of the server, permissions are all an 
exact match on both instances.  I don’t see anything specific in the httpd 
directive for the HA site where it works vs the Hinduism Today httpd directives.

clue:

I get the same problem using bash

http://hinduismtoday.com/cgi-bin/full_usage.cgi



and, I faced and solved this once before but did not document it.. ouch

BR
___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread Ali Lloyd
We are currently in a DP cycle, and I know it will come back to bite me if
I say I think it is very stable, so forgive me for being cautious.

Richmond, I may have missed it - did you answer my question? The error you
posted was nothing to do with the dictionary. It was an error in the
menubar, a stack which you have been making changes to. If there is a
problem with the dictionary, could you please describe the problem with the
dictionary?

On Thu, 4 Feb 2016 at 21:11, Dr. Hawkins  wrote:

> On Thu, Feb 4, 2016 at 12:36 PM, Ali Lloyd  wrote:
>
> > So yes, you should be considering wholesale transfer to 8 ASAP. The vast
> > majority of further work on 8.0 will be LiveCode Builder or IDE related,
> so
> > the core engine is pretty stable and has many improvements over the 7.1
> > engine.
> >
>
> Umm, "pretty stable"?  What does that mean?  "can safely ship to paying
> clients?"
>
> 7 became usable before there was a 6 I could use without major problems.
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> use-livecode mailing list
> use-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: Graphic effects - Feather Edges of Rects

2016-02-04 Thread Howard Bornstein
Thanks. I get it now. I had used a black to white gradient, but white to
white gives a better feather result. What do you have the blending ink set
to?

On Thu, Feb 4, 2016 at 12:03 PM, Scott Rossi  wrote:

> Hi Howard:
>
> I was referring to the opacity of the inner color stop of the gradient.
> Use two colors in the radial gradient, such as white to white, and set the
> opacity of the color stop assigned to the inner color of the gradient to 0.
>
> The result looks like this:
> http://tactilemedia.com/download/gradient-feather.jpg
>
> You can also pull in the position of the outer color stop so you get more
> blending at the edge of the oval shape.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 2/4/16, 11:28 AM, "use-livecode on behalf of Howard Bornstein"
>  bornst...@designeq.com> wrote:
>
> >Scott,
> >
> >I don't quite follow this. I made an oval graphic, set up a radial
> >gradient
> >with both colors set to white and made the fill color clear (is this what
> >you mean by the inner color?—nothing shows at all if you set the opaque to
> >false). I got a radial gradient that covered the image, but I'm not sure
> >how you make that a mask that feathers the image. What blending ink did
> >you
> >use? Are you using any graphic effects? What am I not understanding here?
> >
> >On Wed, Feb 3, 2016 at 11:03 PM, Scott Rossi 
> >wrote:
> >
> >> I'm guessing you guys want the final result to be rectangular and not
> >> oval-shaped.  That's too bad because you could use a radial gradient
> >>using
> >> a single color (i.e. white to white) in a graphic with the inner color
> >>set
> >> to 100% transparent -- this makes a near-perfect mask but only in oval
> >> shape.
> >>
> >> Regards,
> >>
> >> Scott Rossi
> >> Creative Director
> >> Tactile Media, UX/UI Design
> >>
> >>
> >>
> >>
> >> On 2/3/16, 9:50 PM, "use-livecode on behalf of Howard Bornstein"
> >>  >> bornst...@designeq.com> wrote:
> >>
> >> >>You can achieve a feather effect using multiple objects stacked on
> >>top of
> >> >>each other, but then you have to ask is that worth doing.  If you
> >>have to
> >> >>do anything with the set of objects, such as move it around or scale
> >>it,
> >> >>then the effect is probably too much trouble, especially on mobile.
> >> >>
> >> >
> >> >This is how we did it‹using multiple graphic objects stacked. However,
> >>I
> >> >used a gradient for each edge and used Outer Glow. I think it would be
> >>a
> >> >lot of work to script this for general work but Brahmanathaswami seems
> >>to
> >> >think it will be worthwhile to try it. I'm interested to see what he
> >>comes
> >> >up with.
> >>
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> >
> >--
> >Regards,
> >
> >Howard Bornstein
> >---
> >www.designeq.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
>



-- 
Regards,

Howard Bornstein
---
www.designeq.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: Can Handler Know What Params It Should Have

2016-02-04 Thread Mark Wieder

On 02/03/2016 03:38 AM, Mark Waddingham wrote:

On 2016-02-02 17:05, Bernard Devlin wrote:

I know the params can be called to find out what parameters were
passed to
the handler when it is called. However, I'm wondering if a handler has a
way of knowing what parameters it had at the time it was defined.


There isn't currently a way to get this information, no.

We currently have 'the params' which returns a string form of the
handlers invocation (which, is somewhat flawed as you can have array
valued parameters, and strings containing quote), paramCount() which
returns the number of parameters actually passed, and param(i) which
returns the value (not converted to a string) of the i'th parameter
passed to the current call.

Perhaps something like a 'paramName(i)' function?

Can you give more information about your use-case?

Warmest Regards,

Mark.



Bernard-

If I'm understanding what you want to do (and like Mark says, a use-case 
would be useful here), then here's what I do in glx2 to get the 
declaration context:


at the start of an editing session, get the list of scripts in the path: 
frontscripts, backscripts, object, card, stack, group, behaviors.
For each script in that list, filter with "end *". Stash those away 
somewhere with the type of script ("frontscript", "behavior", etc) and 
the location of the script object.


Then when I need the declaration for clairvoyance type-ahead, I match 
the handler I'm looking for with the lists I have previously stored, 
working my way down the path the way the engine would. If I find a 
match, I grab the specified script and find the declaration line.


It sounds like a lot of work, but the filter function makes it very 
responsive.


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


Make a Group Bereft of All Layout Properties

2016-02-04 Thread Sannyasin Brahmanathaswami
Am I the only one who frequently wishes that groups could be made as a kind of 
class or abstraction? By this I mean, I want to establish a group that would, 
by default,

 take the rect of the card (dynamically if it were resized)
have no border or any graphical properties of any kind as an “object”
i.e. the group is an abstactions: a collection of objects, while itself not 
having any UI props at all.



use case is: You want to place objects into a group, but the objects are not 
bounded, graphical by any rect. You will never be placing this particular group 
to a location as such, only it’s members.

Currently if you create, for example, a field, set graphic effects etc. and 
want to make it a group so that it can be placed on multiple cards, you have to 
struggle to ward off the group border, the group rect acts as a mask that cuts 
the outglow effect etc.  any attempts to change the size of the group using 
handles then “messes” with the object inside it…

Is there a way to have a group be just a class of objects? with no properties 
that will interfere at all with the objects it contains?

BR
___
use-livecode mailing list
use-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: calling Livecode from other languages

2016-02-04 Thread Monte Goulding

> On 5 Feb 2016, at 5:20 PM, Matt Maier  wrote:
> 
> So there isn't any special standalone option to compile a *.livecode file
> into a command line app like *.exe. I just compile a standalone for the
> appropriate system, somehow get rid of the GUI, and tell it how to
> read/write STDIN/STDOUT?
> 
> Is that as simple as compiling a script-only stack into a standalone, or
> maybe setting the visible of the mainstack to false?

The way to get rid of the GUI is use the -ui command line option. It would be 
nice if command line app were an option in standalone settings and we didn’t 
need to use -ui. As script only stacks don’t retain custom properties between 
sessions and the standalone settings are saved as custom properties I expect it 
would get a bit tedious to use a script only stack as the standalone 
mainstack…. not that I’ve tested to see if it works. The main annoyance other 
than -ui is extracting the binary from a mac app bundle but you can script that.
___
use-livecode mailing list
use-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't Get LC Server to fire

2016-02-04 Thread Charles Warwick

On 5/02/2016 8:00 am, Sannyasin Brahmanathaswami wrote:

inside the public_html folder you use the .htaccess method  fo setting the 
actions

AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-community-server
The contents of the .htaccess file here tell the server to process ".lc" 
files using the livecode-community-server executable in the /cgi-bin/ 
directory.


Do you have the livecode-community-server executable in the cgi-bin 
directory?

I just installed Livecode server on our Hinduism Today cloud instance at linode 
which is running the same version of Ubuntu/apache as our Himalayan Academy 
site… also on a Linode cloud instance..

But as you can see the engine is no being triggered here:

http://www.hinduismtoday.com/cgi-bin/echo.lc
That is because the .htaccess file you have above is in the public_html 
directory, which doesn't get processed for files in the /cgi-bin/ directory.


Cheers,

Charles


___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread Monte Goulding

> On 5 Feb 2016, at 12:49 AM, Ali Lloyd  wrote:
> 
> The selected object is now indicated in the project browser by a dotted
> line.

I like this new feature Ali both on the project browser and the selected 
object. Now that there’s a dashed line though I can’t help wondering if the 
selection handles and dashed lines could be drawn above all other layers so 
that if you have selected an object that is partly obscured you can see the 
obscured outline and grab its handle. I’m not sure how that would work with 
multiple selection though… I haven’t looked at the code to see whether it is 
feasible at all...
___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread Ali Lloyd
Funny you should say that, as I started working on that very thing
yesterday. The drawing part is relatively easy, but I'm encountering a few
issues getting the focus part to work. Should hopefully have it finished
today though.

http://quality.livecode.com/show_bug.cgi?id=16756, if you want to track it
(reported as something related but slightly different)


On Fri, Feb 5, 2016 at 6:38 AM Monte Goulding  wrote:

>
> > On 5 Feb 2016, at 12:49 AM, Ali Lloyd  wrote:
> >
> > The selected object is now indicated in the project browser by a dotted
> > line.
>
> I like this new feature Ali both on the project browser and the selected
> object. Now that there’s a dashed line though I can’t help wondering if the
> selection handles and dashed lines could be drawn above all other layers so
> that if you have selected an object that is partly obscured you can see the
> obscured outline and grab its handle. I’m not sure how that would work with
> multiple selection though… I haven’t looked at the code to see whether it
> is feasible at all...
> ___
> use-livecode mailing list
> use-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: Make a Group Bereft of All Layout Properties

2016-02-04 Thread Scott Rossi
The group can always clip the objects within it. If you give the group
margins and do the math to scale the object/s within to stay within the
inner rect, you can maintain the objects' graphic effects.  If you don't
want to do the math and move the contained objects independently of the
group, you could try enabling clipsToRect property of the group.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 2/4/16, 10:57 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>Am I the only one who frequently wishes that groups could be made as a
>kind of class or abstraction? By this I mean, I want to establish a group
>that would, by default,
>
> take the rect of the card (dynamically if it were resized)
>have no border or any graphical properties of any kind as an ³object²
>i.e. the group is an abstactions: a collection of objects, while itself
>not having any UI props at all.
>
>
>
>use case is: You want to place objects into a group, but the objects are
>not bounded, graphical by any rect. You will never be placing this
>particular group to a location as such, only it¹s members.
>
>Currently if you create, for example, a field, set graphic effects etc.
>and want to make it a group so that it can be placed on multiple cards,
>you have to struggle to ward off the group border, the group rect acts as
>a mask that cuts the outglow effect etc.  any attempts to change the size
>of the group using handles then ³messes² with the object inside itŠ
>
>Is there a way to have a group be just a class of objects? with no
>properties that will interfere at all with the objects it contains?
>
>BR
>___
>use-livecode mailing list
>use-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: Release 8.0 DP 14

2016-02-04 Thread Richard Gaskin

Dr. Hawkins wrote:
> On Thu, Feb 4, 2016 at 11:18 AM, Ali Lloyd wrote:
>
>> I'm afraid not - even if the current crop of 7.1 RCs weren't
>> intended to be the last ones, and the 8.0 script editor weren't
>> forked, there were several changes in the engine facilitating
>> the performance boost which cannot be easily backported.
>>
>> Can I encourage you to give 8.0 a try instead?
>
> My project is used on a daily basis for my own cases, and will soon be
> available for sale to others.
>
> 8 isn't even close to ready production use, is it?

"Developer Preview" is not "Stable", but the purpose of a DP is to allow 
everyone the opportunity to make sure "Stable" is stable.


So start testing with v8 today.

LC is both broad and deep.  Testing a new engine version with your 
specific project is the only way to ensure that version will meet your 
project's specific needs.


--
 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: Using Imagemagick

2016-02-04 Thread James Hale
IDraw is now called AutoDesk Graphic, http://graphic.com

And yes, it is really quite good.

James

___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread Roger Eller
I installed it in Win 7 64-bit.  When it starts, a bunch of errors are
shown, and the message box ui text is overlapping.  It is unusable.
On Feb 4, 2016 7:14 PM, "Richard Gaskin"  wrote:

> Dr. Hawkins wrote:
> > On Thu, Feb 4, 2016 at 11:18 AM, Ali Lloyd wrote:
> >
> >> I'm afraid not - even if the current crop of 7.1 RCs weren't
> >> intended to be the last ones, and the 8.0 script editor weren't
> >> forked, there were several changes in the engine facilitating
> >> the performance boost which cannot be easily backported.
> >>
> >> Can I encourage you to give 8.0 a try instead?
> >
> > My project is used on a daily basis for my own cases, and will soon be
> > available for sale to others.
> >
> > 8 isn't even close to ready production use, is it?
>
> "Developer Preview" is not "Stable", but the purpose of a DP is to allow
> everyone the opportunity to make sure "Stable" is stable.
>
> So start testing with v8 today.
>
> LC is both broad and deep.  Testing a new engine version with your
> specific project is the only way to ensure that version will meet your
> project's specific needs.
>
> --
>  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
>
___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread Mark Wieder

On 02/04/2016 05:33 PM, Dr. Hawkins wrote:


I've already reduced my law practice to accommodate this; adding testing
time for the ext version (with a different file format) would mean cutting
into the bone on my income; my kids need to eat.


Other issues aside (I wouldn't switch to 8 at this point with a 
commercial product to bring to market)... the 8.0 file format should 
only come into play if you've got 8.0 widgets in the stack, otherwise 
the new save command saves in 7.0 format by default. And you can 
override that in a couple of different ways if necessary.


--
 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: Graphic effects - Feather Edges of Rects

2016-02-04 Thread Scott Rossi
The ink is default: srcCopy.  No need to set it otherwise.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 2/4/16, 2:11 PM, "use-livecode on behalf of Howard Bornstein"
 wrote:

>Thanks. I get it now. I had used a black to white gradient, but white to
>white gives a better feather result. What do you have the blending ink set
>to?
>
>On Thu, Feb 4, 2016 at 12:03 PM, Scott Rossi 
>wrote:
>
>> Hi Howard:
>>
>> I was referring to the opacity of the inner color stop of the gradient.
>> Use two colors in the radial gradient, such as white to white, and set
>>the
>> opacity of the color stop assigned to the inner color of the gradient
>>to 0.
>>
>> The result looks like this:
>> http://tactilemedia.com/download/gradient-feather.jpg
>>
>> You can also pull in the position of the outer color stop so you get
>>more
>> blending at the edge of the oval shape.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>> On 2/4/16, 11:28 AM, "use-livecode on behalf of Howard Bornstein"
>> > bornst...@designeq.com> wrote:
>>
>> >Scott,
>> >
>> >I don't quite follow this. I made an oval graphic, set up a radial
>> >gradient
>> >with both colors set to white and made the fill color clear (is this
>>what
>> >you mean by the inner color?—nothing shows at all if you set the
>>opaque to
>> >false). I got a radial gradient that covered the image, but I'm not
>>sure
>> >how you make that a mask that feathers the image. What blending ink did
>> >you
>> >use? Are you using any graphic effects? What am I not understanding
>>here?
>> >
>> >On Wed, Feb 3, 2016 at 11:03 PM, Scott Rossi 
>> >wrote:
>> >
>> >> I'm guessing you guys want the final result to be rectangular and not
>> >> oval-shaped.  That's too bad because you could use a radial gradient
>> >>using
>> >> a single color (i.e. white to white) in a graphic with the inner
>>color
>> >>set
>> >> to 100% transparent -- this makes a near-perfect mask but only in
>>oval
>> >> shape.
>> >>
>> >> Regards,
>> >>
>> >> Scott Rossi
>> >> Creative Director
>> >> Tactile Media, UX/UI Design
>> >>
>> >>
>> >>
>> >>
>> >> On 2/3/16, 9:50 PM, "use-livecode on behalf of Howard Bornstein"
>> >> > >> bornst...@designeq.com> wrote:
>> >>
>> >> >>You can achieve a feather effect using multiple objects stacked on
>> >>top of
>> >> >>each other, but then you have to ask is that worth doing.  If you
>> >>have to
>> >> >>do anything with the set of objects, such as move it around or
>>scale
>> >>it,
>> >> >>then the effect is probably too much trouble, especially on mobile.
>> >> >>
>> >> >
>> >> >This is how we did it‹using multiple graphic objects stacked.
>>However,
>> >>I
>> >> >used a gradient for each edge and used Outer Glow. I think it would
>>be
>> >>a
>> >> >lot of work to script this for general work but Brahmanathaswami
>>seems
>> >>to
>> >> >think it will be worthwhile to try it. I'm interested to see what he
>> >>comes
>> >> >up with.
>> >>
>> >>
>> >>
>> >> ___
>> >> use-livecode mailing list
>> >> use-livecode@lists.runrev.com
>> >> Please visit this url to subscribe, unsubscribe and manage your
>> >> subscription preferences:
>> >> http://lists.runrev.com/mailman/listinfo/use-livecode
>> >>
>> >
>> >
>> >
>> >--
>> >Regards,
>> >
>> >Howard Bornstein
>> >---
>> >www.designeq.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
>>
>
>
>
>-- 
>Regards,
>
>Howard Bornstein
>---
>www.designeq.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: Release 8.0 DP 14

2016-02-04 Thread Roger Eller
I installed it and launched it just before leaving work for the day.  There
wasn't time to file a report, but hey, apparently RunRev didn't care enough
to even try it in Windows 7 64-bit.  Therefore, I don't feel too bad about
my share of effort in testing thus far.

I'll have a closer look tomorrow, unless my job gets in the way.
On Feb 4, 2016 9:21 PM, "Richard Gaskin"  wrote:

> Roger Eller wrote:
>
>> I installed it in Win 7 64-bit.  When it starts, a bunch of errors are
>> shown, and the message box ui text is overlapping.  It is unusable.
>>
>
> Thanks for testing.  What's your bug report number?
>
> --
>  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
>
___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread Peter Haworth
I saw that this release includes "better desktop theming" for desktop apps,
but should all my stacks be displayed with a grey background on OSX?  I
know I can override this but is that really the way native apps look on
OSX?  I'm having a hard time finding one that does.

On Thu, Feb 4, 2016 at 6:35 PM Roger Eller 
wrote:

> I installed it and launched it just before leaving work for the day.  There
> wasn't time to file a report, but hey, apparently RunRev didn't care enough
> to even try it in Windows 7 64-bit.  Therefore, I don't feel too bad about
> my share of effort in testing thus far.
>
> I'll have a closer look tomorrow, unless my job gets in the way.
> On Feb 4, 2016 9:21 PM, "Richard Gaskin" 
> wrote:
>
> > Roger Eller wrote:
> >
> >> I installed it in Win 7 64-bit.  When it starts, a bunch of errors are
> >> shown, and the message box ui text is overlapping.  It is unusable.
> >>
> >
> > Thanks for testing.  What's your bug report number?
> >
> > --
> >  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
> >
> ___
> use-livecode mailing list
> use-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: Release 8.0 DP 14

2016-02-04 Thread Dr. Hawkins
On Thu, Feb 4, 2016 at 4:14 PM, Richard Gaskin 
wrote:

> "Developer Preview" is not "Stable", but the purpose of a DP is to allow
> everyone the opportunity to make sure "Stable" is stable.
>
> So start testing with v8 today.
>
> LC is both broad and deep.  Testing a new engine version with your
> specific project is the only way to ensure that version will meet your
> project's specific needs.
>

Time is an issue here; that's why I'm paying for a commercial product.

I've already reduced my law practice to accommodate this; adding testing
time for the ext version (with a different file format) would mean cutting
into the bone on my income; my kids need to eat.

hawk




-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread Richard Gaskin

Dr. Hawkins wrote:

> On Thu, Feb 4, 2016 at 4:14 PM, Richard Gaskin wrote:
>
>> "Developer Preview" is not "Stable", but the purpose of a DP is to
>> allow everyone the opportunity to make sure "Stable" is stable.
>>
>> So start testing with v8 today.
>>
>> LC is both broad and deep.  Testing a new engine version with your
>> specific project is the only way to ensure that version will meet
>> your project's specific needs.
>>
>
> Time is an issue here; that's why I'm paying for a commercial product.
>
> I've already reduced my law practice to accommodate this; adding
> testing time for the ext version (with a different file format) would
> mean cutting into the bone on my income; my kids need to eat.

Suit yourself.

I regard testing new software my business relies on as part of the 
ongoing cost of developing and maintaining my products.


You know better than most that given the combinatorial explosion of 
possible syntax and feature options that it's not possible for anyone 
but you to test the specific combinations your software relies on.


The rest of us will do some of your testing for you in the course of 
testing our own work, and if you're in a gambling mood you're free to 
bet on the possibility that how we use LC is exactly the same as how you 
use it.


Personally, I wouldn't take that bet myself, but I'm not much of a gambler.

--
 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: Release 8.0 DP 14

2016-02-04 Thread Richard Gaskin

Roger Eller wrote:

I installed it in Win 7 64-bit.  When it starts, a bunch of errors are
shown, and the message box ui text is overlapping.  It is unusable.


Thanks for testing.  What's your bug report number?

--
 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: impossible datagrid trouble

2016-02-04 Thread Neil Roger

Hi Klaus,

Tried to re-create this but your scripts seem to be working fine in the 
sample stack I created


Do you have a sample stack that I can test with?

Kind Regards,

Neil




LiveCode Technical Support and Content Creation Lead
n...@livecode.com 

LiveCode
+44 (0) 845 219 8923.
25A Thistle Street Lane South West, Edinburgh, EH2 1EW
http://www.livecode.com

Facebook  
Twitter  Youtube 
 Linkedin 




On 04/02/2016 12:47, Klaus major-k wrote:

Hi all,

I have a datagrid of type form and its template group contains
a group namded „meu“ which consists of:

graphic „one“
graphic „two“
graphic „three“
field „one“
field „two“
field „three“

Now in my behaviour script I can do:
…
put „one,two,three" into tGCs
repeat for each item i in tGCs

## Works:
  set the backgroundcolor of grc i of grp "meu" of me to 255,255,255

## Error: No such object?
hide fld i of grp "meu" of me
...
But the field(s) are defintiviely there!

I even let me answer all object names -> of grp „meu“ of me
and of course the fields are in that list!?

Quitting and restarting LC a couple of times did not bring any relief.
At some points I even get an error from some LC library with a handler name 
„movestack“???

Any clever hints?


Best

Klaus
--
Klaus Major
http://www.major-k.de
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: impossible datagrid trouble

2016-02-04 Thread Klaus major-k
Sorry, I meant "Hello Neil", of course!

> Am 04.02.2016 um 15:17 schrieb Klaus major-k :
> 
> Hi Ali,
> 
>> Am 04.02.2016 um 14:09 schrieb Neil Roger :
>> 
>> Hi Klaus,
>> 
>> Tried to re-create this but your scripts seem to be working fine in the 
>> sample stack I created
> 
> Not surprised… 8-)
> 
>> Do you have a sample stack that I can test with?
> 
> yes, I can strip down my stack a bit, create some instructions and then send 
> it to your mail address?
> It is a NDA project, thanks!
> 
>> Kind Regards,
>> 
>> Neil
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> 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

--
Klaus Major
http://www.major-k.de
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

Release 8.0 DP 14

2016-02-04 Thread Ali Lloyd
Dear list members,

We are pleased to announce the release of LiveCode 8.0 DP 14.

Warning: this is not a stable release. Please ensure you back up your
stacks before testing them.

*IMPORTANT*: It is especially vital that you back up your stacks before
testing them in 8.0 DP 14, as there has been a change to the save
command in DP 13. The IDE has been updated to accommodate this change,
but we strongly recommend making back-ups in case there is unforeseen data
loss.

*IMPORTANT*: Your stacks may appear different on first opening in 8.0 DP
14, due to the improvement in theming for desktop OSs as described below.
The theming can be reverted to legacy on a per-object basis using the new
*theme* property. For more information, see the release notes.

*Release contents*

*Better Desktop Theming*
The default appearance of stacks on desktop platforms has been updated to
more
closely match the appearance of native apps.

*Script Editor Performance*
The script editor's performance with large scripts has been improved.

*Unicode Text Performance*
The engine's core unicode text processing functions have been sped up by
approximately 25%.

*HTML5 Engine Performane*
The performance of the HTML5 engine has been restored to its former
standard by removing the blocking syntax which was added in DP 13.

*Menubar Icons*
The menubar icons have been revamped, including high-res versions for
retina displays.

*Project Browser Selected Object*
The selected object is now indicated in the project browser by a dotted
line.

*50 bug fixes*

*Known Issues*
- Windows 10 theming causes display issues with the dictionary, script
editor and
property inspector.
- Cef Browser (and therefore the dictionary and browser widget) does not
currently work on 32-bit Linux
- HTML 5 standalones do not currently function when they contain extensions
with dependencies.

*Getting the release*
You can get the release at http://downloads.livecode.com/livecode/

LiveCode 8 is still in development so we’d love to hear any
feedback you have on it. There are a number of features that we’d like to
implement but aren’t ready yet and the existing features are subject to
change during development - we can’t guarantee that extensions written in
Developer Previews will continue to work the same way in later versions.

Please report any bugs encountered on our Bugzilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93

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

Re: Release 8.0 DP 14

2016-02-04 Thread Richard Gaskin

Roger Eller wrote:
> I installed it and launched it just before leaving work for the day.
> There wasn't time to file a report, but hey, apparently RunRev didn't
> care enough to even try it in Windows 7 64-bit.

Sometimes what may seem "apparent" may be more a matter of inference. 
Have you considered the possibility that the issue you experienced may 
be less common than you had imagined?


I just downloaded and installed v8dp14 on my 64-bit Win 7 machine, and 
it runs okay.


If you include the Windows crash log with your report the team seems to 
be able to fix things like that pretty quickly.


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

2016-02-04 Thread William Prothero
James:
Yeah, I knew that. Actually, I forgot. I have Graphic. Haven’t used it much, 
but since Fireworks got too expensive, I got iDraw, the Graphic. It’s probably 
a better solution
than ImageMagick because it has an actual user interface and can do drawing,

Thanks for the reminder.

Best,
Bill

> On Feb 4, 2016, at 4:15 PM, James Hale  wrote:
> 
> IDraw is now called AutoDesk Graphic, http://graphic.com
> 
> And yes, it is really quite good.
> 
> James
> 
> ___
> use-livecode mailing list
> use-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: calling Livecode from other languages

2016-02-04 Thread Mark Wieder

On 02/04/2016 09:02 PM, Matt Maier wrote:


Is there a way to write a Python file (or whatever) that reaches out to
Livecode, uses its text processing, or maybe hands it a livecode script,
then returns the result to be used by the Python file?


Indeed. I have a commercial middleware layer where a database writes a 
text file and then launches an invisible LiveCode application that 
formats an xml query and hands it off to a C++ application, which 
processes the xml data and passes the information back to LiveCode, 
parses the returned xml, creates a text file and informs the database 
that there's new info.


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


calling Livecode from other languages

2016-02-04 Thread Matt Maier
Can I call Livecode from other languages?

I found this, which if I'm following it is a proof of concept that you can
install livecode server, then tell it to turn on from the shell, then have
it run scripts and return the output. That doesn't seem like quite the same
thing, but maybe it's close enough?
https://livecode.com/a-livecode-shell/

Is there a way to write a Python file (or whatever) that reaches out to
Livecode, uses its text processing, or maybe hands it a livecode script,
then returns the result to be used by the Python file?
___
use-livecode mailing list
use-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: calling Livecode from other languages

2016-02-04 Thread Monte Goulding

> On 5 Feb 2016, at 4:02 PM, Matt Maier  wrote:
> 
> Can I call Livecode from other languages?
> 
> I found this, which if I'm following it is a proof of concept that you can
> install livecode server, then tell it to turn on from the shell, then have
> it run scripts and return the output. That doesn't seem like quite the same
> thing, but maybe it's close enough?
> https://livecode.com/a-livecode-shell/
> 
> Is there a way to write a Python file (or whatever) that reaches out to
> Livecode, uses its text processing, or maybe hands it a livecode script,
> then returns the result to be used by the Python file?

Yes you can write a command line app in LiveCode and read from STDIN and write 
to STDOUT then use whatever method there is in your other language to open a 
process with the -ui option.

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: calling Livecode from other languages

2016-02-04 Thread Matt Maier
So there isn't any special standalone option to compile a *.livecode file
into a command line app like *.exe. I just compile a standalone for the
appropriate system, somehow get rid of the GUI, and tell it how to
read/write STDIN/STDOUT?

Is that as simple as compiling a script-only stack into a standalone, or
maybe setting the visible of the mainstack to false?

On Thu, Feb 4, 2016 at 9:09 PM, Monte Goulding  wrote:

>
> > On 5 Feb 2016, at 4:02 PM, Matt Maier  wrote:
> >
> > Can I call Livecode from other languages?
> >
> > I found this, which if I'm following it is a proof of concept that you
> can
> > install livecode server, then tell it to turn on from the shell, then
> have
> > it run scripts and return the output. That doesn't seem like quite the
> same
> > thing, but maybe it's close enough?
> > https://livecode.com/a-livecode-shell/
> >
> > Is there a way to write a Python file (or whatever) that reaches out to
> > Livecode, uses its text processing, or maybe hands it a livecode script,
> > then returns the result to be used by the Python file?
>
> Yes you can write a command line app in LiveCode and read from STDIN and
> write to STDOUT then use whatever method there is in your other language to
> open a process with the -ui option.
>
> 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: Graphic effects - Feather Edges of Rects

2016-02-04 Thread Terry Judd
OK - given that an image is involved (I think I missed that bit) and
assuming you are feathering to a solid background colour, the best result
that I got was overlaying two identically sized transparent graphics with
a one or two pixel white border and an outer glow. The second graphic has
different parameters to the first and is needed to remove the hint of an
edge of the image that shows though the first graphic’s glow.

Terry...

On 4/02/2016 4:52 pm, "use-livecode on behalf of Howard Bornstein"
 wrote:

>On Wed, Feb 3, 2016 at 9:45 PM, Terry Judd 
>wrote:
>
>> OK, what about thisŠ
>>
>> Transparent (non opaque) graphic object with a 1 pixel linesize. Apply
>>an
>> outer glow - this will display equally on either side of the border.
>>Then
>> alter the border colour to match the glow where it adjoins the border.
>>The
>> border Œdisappears¹ but it may or may not simulate the effect you are
>> looking for.
>>
>
>This is exactly what I did and it works pretty well. Unfortunately, while
>it works fine for creating a feathered rectangle (or oval), it doesn't
>really work for feathering an image, because you don't want the glow to be
>on the inside of the image.
>
>>
>> Terry...
>>
>> On 4/02/2016 3:44 pm, "use-livecode on behalf of Scott Rossi"
>> > sc...@tactilemedia.com> wrote:
>>
>> >The way one *should* be able to do this is using the innerGlow effect.
>> >However, by itself, using the basic setting is not strong enough, and
>>the
>> >spread effect is backwards (increases outward, rather than inward --
>>bug)
>> >so that's useless.
>> >
>> >You can achieve a feather effect using multiple objects stacked on top
>>of
>> >each other, but then you have to ask is that worth doing.  If you have
>>to
>> >do anything with the set of objects, such as move it around or scale
>>it,
>> >then the effect is probably too much trouble, especially on mobile.
>> >
>> >You can create a feather effect by grouping the source image with a
>>mask
>> >image that contains a painted rectangular inner glow effect.  If you
>>set
>> >the centerRect of the mask image to appropriate dimensions (the radius
>>of
>> >glow at each corner of the image), you can resize the group and keep
>>the
>> >glow effect intact with no loss of quality.
>> >
>> >FYI, you can create a transparent graphic with innerGlow using an ink
>> >effect.  For example, set the backColor of the graphic to black, apply
>>a
>> >white innerGlow (255 opacity), and set the ink of the graphic to
>> >blendScreen.  This will make all black in the graphic transparent while
>> >keeping the white intact.  But again, the innerGlow is fairly weak.
>> >
>> >Regards,
>> >
>> >Scott Rossi
>> >Creative Director
>> >Tactile Media, UX/UI Design
>> >
>> >
>> >
>> >
>> >On 2/3/16, 7:38 PM, "use-livecode on behalf of Howard Bornstein"
>> >> >bornst...@designeq.com> wrote:
>> >
>> >>Yes this is true and understood. However, I've been working with
>> >>Brahmanathswami to find a solution for a transparent object because,
>>as
>> >>he
>> >>says, "Any inner glow or outer glow leaves a sharp edge on the object
>>no
>> >>matter what we do." (with an opaque object)
>> >>
>> >>He was looking for a way to feather images within LC and an opaque
>> >>graphic
>> >>object won't do that (as far as I can tell).
>> >>
>> >>On Wed, Feb 3, 2016 at 5:19 PM, Terry Judd 
>> >>wrote:
>> >>
>> >>> Hi Howard - the outerglow (and innerglow) of an object display fine
>>for
>> >>>me
>> >>> on both a field and an (and this bit is important) *opaque* graphic
>> >>>object
>> >>> when their borderWidth and lineSize properties are respectively set
>>to
>> >>>0.
>> >>>
>> >>> Terry...
>> >>>
>> >>> On 4/02/2016 11:26 am, "use-livecode on behalf of Howard Bornstein"
>> >>> > >>> bornst...@designeq.com> wrote:
>> >>>
>> >>> >As did I. What happened when you set the linesize to 0?
>> >>> >
>> >>> >On Mon, Feb 1, 2016 at 12:42 PM, Devin Asay 
>> >>>wrote:
>> >>> >
>> >>> >>
>> >>> >> > On Feb 1, 2016, at 11:53 AM, Howard Bornstein
>> >>>> >>> >
>> >>> >> wrote:
>> >>> >> >
>> >>> >> > If you set the line size to 0, the outer glow disappears.
>> >>> >>
>> >>> >> For what kind of object? I tested it on a graphic object.
>> >>> >>
>> >>> >> Devin
>> >>> >>
>> >>> >> Devin Asay
>> >>> >> Office of Digital Humanities
>> >>> >> Brigham Young University
>> >>> >>
>> >>> >>
>> >>> >> ___
>> >>> >> use-livecode mailing list
>> >>> >> use-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: Release 8.0 DP 14

2016-02-04 Thread Ali Lloyd
On Thu, Feb 4, 2016 at 5:49 PM Dr. Hawkins  wrote:

> On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd  wrote:
>
> >
> >
> > *Script Editor Performance*
> > The script editor's performance with large scripts has been improved.
> >
>
> Is there any way that this can make it into 7?  I lose amazing amounts of
>time on a daily bases to my 10k line scripts . . .

I'm afraid not - even if the current crop of 7.1 RCs weren't intended to be
the last ones, and the 8.0 script editor weren't forked, there were several
changes in the engine facilitating the performance boost which cannot be
easily backported.

Can I encourage you to give 8.0 a try instead?
___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread RM



On 4.02.2016 21:18, Ali Lloyd wrote:

On Thu, Feb 4, 2016 at 5:49 PM Dr. Hawkins  wrote:


On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd  wrote:



*Script Editor Performance*
The script editor's performance with large scripts has been improved.


Is there any way that this can make it into 7?  I lose amazing amounts of
time on a daily bases to my 10k line scripts . . .

I'm afraid not - even if



the current crop of 7.1 RCs weren't intended to be
the last ones,


Hmm? Does that mean that the LiveCode 7 series is very nearly EOL, and 
we should

be considering wholesale transfer to LiveCode 8?

This seems a bit odd when a new LiveCode 6 series has just been released.

Richmond.

and the 8.0 script editor weren't forked, there were several
changes in the engine facilitating the performance boost which cannot be
easily backported.

Can I encourage you to give 8.0 a try instead?
___
use-livecode mailing list
use-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: Graphic effects - Feather Edges of Rects

2016-02-04 Thread Howard Bornstein
Scott,

I don't quite follow this. I made an oval graphic, set up a radial gradient
with both colors set to white and made the fill color clear (is this what
you mean by the inner color?—nothing shows at all if you set the opaque to
false). I got a radial gradient that covered the image, but I'm not sure
how you make that a mask that feathers the image. What blending ink did you
use? Are you using any graphic effects? What am I not understanding here?

On Wed, Feb 3, 2016 at 11:03 PM, Scott Rossi  wrote:

> I'm guessing you guys want the final result to be rectangular and not
> oval-shaped.  That's too bad because you could use a radial gradient using
> a single color (i.e. white to white) in a graphic with the inner color set
> to 100% transparent -- this makes a near-perfect mask but only in oval
> shape.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 2/3/16, 9:50 PM, "use-livecode on behalf of Howard Bornstein"
>  bornst...@designeq.com> wrote:
>
> >>You can achieve a feather effect using multiple objects stacked on top of
> >>each other, but then you have to ask is that worth doing.  If you have to
> >>do anything with the set of objects, such as move it around or scale it,
> >>then the effect is probably too much trouble, especially on mobile.
> >>
> >
> >This is how we did it‹using multiple graphic objects stacked. However, I
> >used a gradient for each edge and used Outer Glow. I think it would be a
> >lot of work to script this for general work but Brahmanathaswami seems to
> >think it will be worthwhile to try it. I'm interested to see what he comes
> >up with.
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
Regards,

Howard Bornstein
---
www.designeq.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: Release 8.0 DP 14

2016-02-04 Thread RM



So, here I am on Xubuntu 15.10 64-bit, having just installed LiveCode 
8.0 DP 14:


1. All the coloured icons in the menuBar stack are now in black 
(possibly this is intentional).


2. Clicking on the Dictionary I get a large, empty, white stack and an 
error message:


ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
89,736,9
77,736,40
456,736,9
465,736,9
490,736,9
241,734,1,revCacheGeometry
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript"

573,67,1,revCacheGeometry
253,67,1
241,66,1,revUpdateGeometry
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript"


Re: impossible datagrid trouble

2016-02-04 Thread Klaus major-k
Hi Ali,

> Am 04.02.2016 um 14:09 schrieb Neil Roger :
> 
> Hi Klaus,
> 
> Tried to re-create this but your scripts seem to be working fine in the 
> sample stack I created

Not surprised… 8-)

> Do you have a sample stack that I can test with?

yes, I can strip down my stack a bit, create some instructions and then send it 
to your mail address?
It is a NDA project, thanks!

> Kind Regards,
> 
> Neil

Best

Klaus

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


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

Re: Launching a PDF file stored within a desktop app

2016-02-04 Thread Charles Szasz
Paul,

Thanks! I will try you script in one of my projects. 

Sent from my iPad

___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread RM

Bug Number:  16848

I do hope this helps. Richmond.

On 4.02.2016 18:51, RM wrote:



So, here I am on Xubuntu 15.10 64-bit, having just installed LiveCode 
8.0 DP 14:


1. All the coloured icons in the menuBar stack are now in black 
(possibly this is intentional).


2. Clicking on the Dictionary I get a large, empty, white stack and an 
error message:


ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
449,529,10
535,529,1
253,529,1
490,529,1
241,516,1,layoutMenu
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

573,249,1,layoutMenu
241,249,1,ideActiveStacksChanged
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/palettes/menubar/revmenubar.livecodescript"

675,1729,1,ideActiveStacksChanged
162,1730,1,dispatch tMessage to tObjectID
line: 1742
handler: ideMessageSendWithParameters
script object: stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revidelibrary.8.livecodescript"

ERROR: Error when sending message ideActiveStacksChanged:
89,736,9
77,736,40
456,736,9
465,736,9
490,736,9
241,734,1,revCacheGeometry
353,0,0,stack 
"/home/rm/.runrev/components/livecodecommunity-8.0.0-dp-14.x86_64/Toolset/libraries/revgeometrylibrary.livecodescript"

573,67,1,revCacheGeometry
253,67,1
241,66,1,revUpdateGeometry
353,0,0,stack 

Re: Release 8.0 DP 14

2016-02-04 Thread Trevor DeVore
On Thu, Feb 4, 2016 at 8:49 AM, Ali Lloyd  wrote:

>
>
> We are pleased to announce the release of LiveCode 8.0 DP 14.
>
> *Script Editor Performance*
> The script editor's performance with large scripts has been improved.
>

Considerably. Thank you!

-- 
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: export variables to launched process?

2016-02-04 Thread Richard Gaskin

Mark Waddingham wrote:
> On 2016-02-04 02:57, Richard Gaskin wrote:
>> I've successfully exported variables to a process run with shell,
>> e.g.:
>>
>> put shell("export somevar='Hello!'; ./test.sh")
>>
>> ...where test.sh simply echoes somevar to verify that it got it.
>>
>> Now I have a process I need to read and write to, but I don't know
>> how to export variables to it - clues?
>
> A process that gets launched either via shell or open process will
> inherit the environment variables set by the engine... So I think
> doing:
>
> put "Hello!" into $somevar
>
> put shell("./test.sh")
>or
> open process ... for ...
>
> Should both have the effect that the launched process will see
> 'somevar' as specified.

Indeed it does.  I had thought that was how it should work, but 
apparently I had a problem in the bash script I was running as the 
launched process, and that led me astray.


So simple!  Nice.  Will that work on Windows as well?

Here's what I'm up to:  I've been writing a simple HTTP server for local 
testing of web stuff, particularly CGIs like LC Server and standalones 
made with LC run with -ui.


With variable exporting I can recreate pretty much all the things a CGI 
needs from the Apache environment, with one exception which is my next 
task:  POST data.


When running a CGI that uses POST, the CGI will read stdin to obtain the 
POST data.  My understanding is that LC Server does this for us and puts 
the parsed data into the array $_POST, as does PHP.  But other CGIs, 
like standalones or bash scripts or others that don't offer that 
convenience, the process will need to read stdin to obtain that data.


So my aim is to open the CGI process for append, write the POST data 
that I'd previously read from the socket to the opened process, read 
whatever comes back, and then close it and return the processes' output 
back over the socket to the client.


For GET this is working now using "shell"; I haven't used "open process" 
in so long that I have no experience with how reading and writing work 
with regard to stdin in the child.


I should have some time to experiment with that later today, but if you 
know of any reason why that won't work your input would be very helpful.


Thanks -

--
 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: export variables to launched process?

2016-02-04 Thread Richard Gaskin

Peter TB Brett wrote:

> On 04/02/2016 08:36, Mark Waddingham wrote:
>> On 2016-02-04 02:57, Richard Gaskin wrote:
>>> Now I have a process I need to read and write to, but I don't know
>>> how to export variables to it - clues?
>>
>> A process that gets launched either via shell or open process will
>> inherit the environment variables set by the engine... So I think
>> doing:
>>
>> put "Hello!" into $somevar
>>
>> put shell("./test.sh")
>>or
>> open process ... for ...
>>
>> Should both have the effect that the launched process will see
>> 'somevar' as specified.
>
> Of course, it's a good idea to be able to construct a specific
> environment for a subprocess, so please go ahead and file a bug
> report asking us to extend "open process" to allow passing in an
> array of environment variables!

I like the idea, and with the rate at which the team has been knocking 
off bugs AND feature requests or v8 no doubt you'll run out of things to 
do soon. :)


Let me give that some thought before I add it to the queue.  At the 
moment it would be merely a convenience for which the methods available 
to us today isn't particularly onerous.


But I must say how delightful it's been to see my In Box overflowing 
with bug report and feature request notifications marked "Resolved - Fixed"!


Impressive amount of work going into v8 - very exciting.

@Bramanathaswami:  be sure to check out some of the control appearances 
on OS X and see if the improvements meet your friend's expectations. A 
great many appearance-related issues have been tidied up nicely for 
v8dp14 - see the note on p10 of the Release Notes, and some of the 
theming-related reports in the bug DB.


--
 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: Release 8.0 DP 14

2016-02-04 Thread Dr. Hawkins
On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd  wrote:

>
>
> *Script Editor Performance*
> The script editor's performance with large scripts has been improved.
>

Is there any way that this can make it into 7?  I lose amazing amounts of
time on a daily bases to my 10k line scripts . . .

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-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: export variables to launched process?

2016-02-04 Thread Mark Talluto

> On Feb 3, 2016, at 5:57 PM, Richard Gaskin  wrote:
> 
> I've successfully exported variables to a process run with shell, e.g.:
> 
>put shell("export somevar='Hello!'; ./test.sh")
> 
> ...where test.sh simply echoes somevar to verify that it got it.
> 
> Now I have a process I need to read and write to, but I don't know how to 
> export variables to it - clues?


I posted something about this in the forums a few years ago. Maybe it is 
relevant?
http://forums.livecode.com/viewtopic.php?f=9=15059 


Best regards,

Mark Talluto
livecloud.io 
canelasoftware.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: AW: How to create a hyperlink within a text field?

2016-02-04 Thread J. Landman Gay

On 2/4/2016 4:22 AM, BNig wrote:

I like Jaques solution too because it is unequivocal because of the hash.

But Tiemo allows the user to change the width of the field, see his
crossposting to the forum
http://forums.livecode.com/viewtopic.php?f=9=26468

That is where Jaque's solution can fail because of wrapping.


The formattedtext returns the correct metrics for me even when the field 
size is changed and the text re-wraps. Do you get different results?


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


Using Imagemagick

2016-02-04 Thread William Prothero
Folks:
I just downloaded ImageMagick, which seems like a very useful image converter. 
However, since there is no UI and it’s command line only, I wonder if anybody 
has made a simple UI for it in Livecode, to generate the necessary shell 
commands to do commonly needed operations.

I wonder how it compares to the stack distributed awhile ago that was called 
“scalini”. 

ImageMagick makes animated gifs and can do a lot of useful conversions.

I’ve also been using a program called iDraw, which has many nice features and 
seems to be oriented toward mobile development too.

I’m using OSX, El Capitan.

Best,
Bill

William Prothero, Ph.D.
University of California, Santa Barbara, Emeritus
proth...@earthednet.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

Re: Graphic effects - Feather Edges of Rects

2016-02-04 Thread Scott Rossi
Hi Howard:

I was referring to the opacity of the inner color stop of the gradient.
Use two colors in the radial gradient, such as white to white, and set the
opacity of the color stop assigned to the inner color of the gradient to 0.

The result looks like this:
http://tactilemedia.com/download/gradient-feather.jpg

You can also pull in the position of the outer color stop so you get more
blending at the edge of the oval shape.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 2/4/16, 11:28 AM, "use-livecode on behalf of Howard Bornstein"
 wrote:

>Scott,
>
>I don't quite follow this. I made an oval graphic, set up a radial
>gradient
>with both colors set to white and made the fill color clear (is this what
>you mean by the inner color?—nothing shows at all if you set the opaque to
>false). I got a radial gradient that covered the image, but I'm not sure
>how you make that a mask that feathers the image. What blending ink did
>you
>use? Are you using any graphic effects? What am I not understanding here?
>
>On Wed, Feb 3, 2016 at 11:03 PM, Scott Rossi 
>wrote:
>
>> I'm guessing you guys want the final result to be rectangular and not
>> oval-shaped.  That's too bad because you could use a radial gradient
>>using
>> a single color (i.e. white to white) in a graphic with the inner color
>>set
>> to 100% transparent -- this makes a near-perfect mask but only in oval
>> shape.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>> On 2/3/16, 9:50 PM, "use-livecode on behalf of Howard Bornstein"
>> > bornst...@designeq.com> wrote:
>>
>> >>You can achieve a feather effect using multiple objects stacked on
>>top of
>> >>each other, but then you have to ask is that worth doing.  If you
>>have to
>> >>do anything with the set of objects, such as move it around or scale
>>it,
>> >>then the effect is probably too much trouble, especially on mobile.
>> >>
>> >
>> >This is how we did it‹using multiple graphic objects stacked. However,
>>I
>> >used a gradient for each edge and used Outer Glow. I think it would be
>>a
>> >lot of work to script this for general work but Brahmanathaswami seems
>>to
>> >think it will be worthwhile to try it. I'm interested to see what he
>>comes
>> >up with.
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
>-- 
>Regards,
>
>Howard Bornstein
>---
>www.designeq.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: Release 8.0 DP 14

2016-02-04 Thread Dr. Hawkins
On Thu, Feb 4, 2016 at 11:18 AM, Ali Lloyd  wrote:

> I'm afraid not - even if the current crop of 7.1 RCs weren't intended to be
> the last ones, and the 8.0 script editor weren't forked, there were several
> changes in the engine facilitating the performance boost which cannot be
> easily backported.
>
> Can I encourage you to give 8.0 a try instead?
>

My project is used on a daily basis for my own cases, and will soon be
available for sale to others.

8 isn't even close to ready production use, is it?


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-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: Release 8.0 DP 14

2016-02-04 Thread Ali Lloyd
Yes, 6 and 7 will be EOLed when 8.0 GM is released - at the moment they are
being updated only for critical reasons (eg SSL update, or XCode
compatibility).

So yes, you should be considering wholesale transfer to 8 ASAP. The vast
majority of further work on 8.0 will be LiveCode Builder or IDE related, so
the core engine is pretty stable and has many improvements over the 7.1
engine.

On Thu, 4 Feb 2016 at 19:23, RM  wrote:

>
>
> On 4.02.2016 21:18, Ali Lloyd wrote:
> > On Thu, Feb 4, 2016 at 5:49 PM Dr. Hawkins  wrote:
> >
> >> On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd 
> wrote:
> >>
> >>>
> >>> *Script Editor Performance*
> >>> The script editor's performance with large scripts has been improved.
> >>>
> >> Is there any way that this can make it into 7?  I lose amazing amounts
> of
> >> time on a daily bases to my 10k line scripts . . .
> > I'm afraid not - even if
>
> > the current crop of 7.1 RCs weren't intended to be
> > the last ones,
>
> Hmm? Does that mean that the LiveCode 7 series is very nearly EOL, and
> we should
> be considering wholesale transfer to LiveCode 8?
>
> This seems a bit odd when a new LiveCode 6 series has just been released.
>
> Richmond.
> > and the 8.0 script editor weren't forked, there were several
> > changes in the engine facilitating the performance boost which cannot be
> > easily backported.
> >
> > Can I encourage you to give 8.0 a try instead?
> > ___
> > use-livecode mailing list
> > use-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: export variables to launched process?

2016-02-04 Thread Mark Waddingham

On 2016-02-04 02:57, Richard Gaskin wrote:

I've successfully exported variables to a process run with shell, e.g.:

put shell("export somevar='Hello!'; ./test.sh")

...where test.sh simply echoes somevar to verify that it got it.

Now I have a process I need to read and write to, but I don't know how
to export variables to it - clues?


A process that gets launched either via shell or open process will 
inherit the environment variables set by the engine... So I think doing:


put "Hello!" into $somevar

put shell("./test.sh")
  or
open process ... for ...

Should both have the effect that the launched process will see 'somevar' 
as specified.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

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


AW: How to create a hyperlink within a text field?

2016-02-04 Thread Tiemo Hollmann TB
Thanks Jacque,
I like it everytime to see the variety of solutions on the same issue. I
think yours is the most elegant and compact one.
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von J. Landman Gay
Gesendet: Donnerstag, 4. Februar 2016 05:38
An: How to use LiveCode 
Betreff: Re: How to create a hyperlink within a text field?

A little trick:

Create or import a transparent 1x1 pixel image. Hide it. Make each line in
the table of contents into linked text. The html of each line looks like
this:

Chapter one

In the body text of the field, place a marker character before the chapter
heading. I'm using "#", like this:

#Chapter One

Then set the imagesource of char 1 of the line to the ID of the transparent
image. You won't be able to see the first character after that but the text
is still there. The htmltext of that line looks like this:

Chapter One

The line will be slightly indented by one pixel, but it shouldn't be
noticeable. If you center the heading, it is imperceptible.

In the field script:

on linkclicked pURL
   put "#" before pURL
   put lineoffset(pURL, the formattedtext of me) into tLineNum
   set the scroll of me to the effective textheight of me * (tLineNum-1) end
linkclicked

If you choose a marker character that doesn't exist in the body text,
lineoffset will always return the correct line.

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