Re: Set Text to the Vertical Center of the field

2016-04-01 Thread Scott Rossi
Bernd N and I have been through this -- there's no reliable way to this, unless you have a known number of lines, and a fixed point size, line height, etc. Bernd wrote a method that uses the pixel rect of the text via snapshot that can work. My solution is to use buttons since those can

Set Text to the Vertical Center of the field

2016-04-01 Thread Sannyasin Brahmanathaswami
  lc8 16 I thought this should work to set the text of a field to vertical center (in a behavior) on mouseup set the textsize of me to 28 put the formattedheight of me into tTotalTextHeight put ( ( the height of me - tTotalTextHeight ) / 2) into tTopBottomMargins set topmargin of me to

Re: How to make the group itself a target

2016-04-01 Thread Peter Haworth
the short name of the owner of me On Fri, Apr 1, 2016, 8:09 PM Sannyasin Brahmanathaswami wrote: > Assume we have a small group duplicated on the card 10-20 times. > > each group contains three objects named > > portal-link-background > portal-link-label >

Re: Difficulty using Livecode.com

2016-04-01 Thread J. Landman Gay
On April 1, 2016 5:45:22 PM Richard Gaskin wrote: J. Landman Gay wrote: > ...for now bookmark this: I could > find no way to get there by clicking around the web site. That's > a grave oversight. I get there through the visible

How to make the group itself a target

2016-04-01 Thread Sannyasin Brahmanathaswami
Assume we have a small group duplicated on the card 10-20 times. each group contains three objects named portal-link-background portal-link-label portal-link-thumbnail The above is grouped... acts as a template; and is programatically duplicated X number of times Each of the resulting groups

Re: Script Only Stack Architecture

2016-04-01 Thread Sannyasin Brahmanathaswami
How do we do that. Via Git hub? we pull the entry edit and then push back with changes? The user notes option is still not available. So, yes Jacque is right, but we can do it On April 1, 2016 at 4:51:23 AM, Richard Gaskin (ambassa...@fourthworld.com) wrote:

Re: Difficulty using Livecode.com

2016-04-01 Thread Mark Wieder
On 04/01/2016 03:13 PM, J. Landman Gay wrote: Our Linux users can answer that better than I can, but for now bookmark this: I could find no way to get there by clicking around the web site. That's a grave oversight. NET::ERR_CERT_COMMON_NAME_INVALID This server

Re: local livecode server

2016-04-01 Thread Matt Maier
Neato! It's working now. I'm not entirely sure why. I started poking at everything. For posterity: some stuff that seemed like it must be important was... - change back-slashes "\" to front-slashes "/" if copy file paths - Apache2.4 replaced "order allow,deny" and "allow from all" with "require

Re: Script Only Stack Architecture

2016-04-01 Thread James Hale
Mark wrote: > > In addition, the Project Browser that I'm usually kicking has a very > nice feature in that if there is a behavior object associated with a > stack or control you will see that indicated to the left of the script > lines, and it also shows the number of lines in the behavior

Re: local livecode server

2016-04-01 Thread Matt Maier
According to this... https://github.com/h5bp/server-configs-apache/wiki/How-to-enable-Apache-modules ...as long as the modules aren't commented out in the httpd.conf file they're enabled. I can confirm that they are not commented out. Part of the problem might be that the instructions haven't

Re: Difficulty using Livecode.com

2016-04-01 Thread Jim Kanter
Then there’s this: https://livecode.com/new-livecode-app-building-course/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Script Only Stack Architecture

2016-04-01 Thread Richard Gaskin
William Prothero wrote: > I think the salient points are the various ways of getting behaviors > to instantiate properly. There have been a number of ideas that all > seem to work. So what I suggest, is that a brief description of each > strategy (1-2 sentences) and a bit of sample code (where

Re: Script Only Stack Architecture

2016-04-01 Thread William Prothero
Richard and Matt: I think the salient points are the various ways of getting behaviors to instantiate properly. There have been a number of ideas that all seem to work. So what I suggest, is that a brief description of each strategy (1-2 sentences) and a bit of sample code (where appropriate)

Re: local livecode server

2016-04-01 Thread Richard Gaskin
Matt Maier wrote: > On Fri, Apr 1, 2016 at 3:47 PM, Richard Gaskin wrote: > >> Are all three of this modules active in your Apache install?: >> >> mod_cgi >> mod_actions >> mod_alias > > I'm not sure. I found files with those names but they have a .so > extension. > When I open them in Atom half

Re: local livecode server

2016-04-01 Thread Matt Maier
I'm not sure. I found files with those names but they have a .so extension. When I open them in Atom half of the file looks like binary. I couldn't find an explanation in the Apache docs of how to "enable" them. On Fri, Apr 1, 2016 at 3:47 PM, Richard Gaskin wrote: >

Re: local livecode server

2016-04-01 Thread Richard Gaskin
Matt Maier wrote: > I've followed along with this... > > http://lessons.livecode.com/spaces/lessons/buckets/809/lessons/36654-How-do-I-install-LiveCode-Server-on-Windows-with-Apache- > > ...and got as far as getting the example html to appear at > localhost/test.lc > > But the isn't being

Re: Difficulty using Livecode.com

2016-04-01 Thread Richard Gaskin
J. Landman Gay wrote: > ...for now bookmark this: I could > find no way to get there by clicking around the web site. That's > a grave oversight. I get there through the visible taxonomy by clicking "Resources" in the main menu, then on the resulting page

local livecode server

2016-04-01 Thread Matt Maier
I've followed along with this... http://lessons.livecode.com/spaces/lessons/buckets/809/lessons/36654-How-do-I-install-LiveCode-Server-on-Windows-with-Apache- ...and got as far as getting the example html to appear at localhost/test.lc . But the isn't being rendered, it's just being treated

Re: Difficulty using Livecode.com

2016-04-01 Thread J. Landman Gay
On 4/1/2016 4:17 PM, Jim Byrnes wrote: Right now I am interested in learning Livecode on the desktop only, mobile may come later. Looking at the list of lessons on the right I don't see anything that jumps out at me as being very graphics intensive. So is this version less graphics intensive?

Re: Script Only Stack Architecture

2016-04-01 Thread Richard Gaskin
Matt Maier wrote: I never suggested you write it. The word "you" threw me off. Thanks for the clarification. I objected to you advising the mailing list not to include this discussion in the Dictionary because it would start down a slippery slope towards "too big." This discussion is many

Re: Difficulty using Livecode.com

2016-04-01 Thread Jim Kanter
Jim, are you talking about the LiveCode Academies? http://livecode.com/academy Or perhaps the Create It series of app-building lessons? https://livecode.com/courses/create-it-with-livecode-course/ On Fri, Apr 1, 2016 at 3:18 PM, Jim Byrnes wrote: > I wanted to take a

Re: Difficulty using Livecode.com

2016-04-01 Thread Jim Byrnes
On 04/01/2016 12:41 AM, Tore Nilsen wrote: If you want to access the app building course you should click on your name in the upper right corner of the web page (when you are logged in). You will then find a link to the app building course in the menu to the left of the new page which contains

Re: Script Only Stack Architecture

2016-04-01 Thread Matt Maier
I never suggested you write it. I objected to you advising the mailing list not to include this discussion in the Dictionary because it would start down a slippery slope towards "too big." On Fri, Apr 1, 2016 at 7:50 AM, Richard Gaskin wrote: > Kay C Lan wrote: > > >

Re: PDF text extraction?

2016-04-01 Thread Dr. Hawkins
On Fri, Apr 1, 2016 at 10:55 AM, Richard Gaskin wrote: > -hh wrote: > > My first choice for that is 'ghostscript'. >> > > Thanks. Turns out that's also in my Ubuntu system so I'll give it a go. > > From the command line, there are also pdf2txt and pdftotxt (these are

Re: Difficulty using Livecode.com

2016-04-01 Thread J. Landman Gay
On 4/1/2016 2:18 PM, Jim Byrnes wrote: I wanted to take a look at the app building tutorial. I couldn't find a specific one, but the info is at the bottom of this guide: I'm not sure if that's the one you mean, but I got there this

Re: Difficulty using Livecode.com

2016-04-01 Thread Jim Byrnes
On 04/01/2016 12:35 AM, Richard Gaskin wrote: Jim, you're my new hero. Everyone has all sorts of opinions about the web site, but you took the time to document your journey through the taxonomy, noting each specific step. Well done. It may seem like basic stuff and it is. But of course the

Re: PDF text extraction?

2016-04-01 Thread Richard Gaskin
-hh wrote: My first choice for that is 'ghostscript'. Thanks. Turns out that's also in my Ubuntu system so I'll give it a go. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: PDF text extraction?

2016-04-01 Thread Richard Gaskin
Alejandro Tejada wrote: > Hi Richard, > > Could you use command line tools like pdftk or qpdf? > > Check this: > http://stackoverflow.com/questions/15058207/pdftk-will-not-decompress-data-streams > > and this: > >

Re: And now for something completely different....

2016-04-01 Thread Mark Wieder
On 04/01/2016 10:31 AM, Richard Gaskin wrote: LOL. Ubuntu bringing the stability of Windows to linux. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

And now for something completely different....

2016-04-01 Thread Richard Gaskin
Earlier this week (most importantly read, "before April 1"), Canonical and Microsoft announced something rather mind-blowing: Ubuntu's bash and supporting utilities will be available on Windows 10. No, really: Ubuntu’s bash and Linux command line coming to Windows 10

Re: Script Only Stack Architecture

2016-04-01 Thread Richard Gaskin
J. Landman Gay wrote: > I think a lot of the issues being discussed here could be easily > solved if the user notes feature was reimplemented. Agreed. That's been discussed here before, but it seems no one had mentioned it in a bug report where it could become actionable - Mark Waddingham

Re: Script Only Stack Architecture

2016-04-01 Thread Phil Davis
Well said Jacque! (Like I'm surprised) Phil Davis On 4/1/16 9:10 AM, J. Landman Gay wrote: I think a lot of the issues being discussed here could be easily solved if the user notes feature was reimplemented. I found those very helpful. And there are many advantages: users can contribute

Re: Script Only Stack Architecture

2016-04-01 Thread Peter Haworth
lcStackbrowser shows an icon for the object's script and one icon for each of its behavior scripts. Clicking on any of them opens the appropriate script. In addition, the tooltip for an object lists how many lines are in its script, the objects in its behavior chain and how many lines are in each

Re: Script Only Stack Architecture

2016-04-01 Thread J. Landman Gay
I think a lot of the issues being discussed here could be easily solved if the user notes feature was reimplemented. I found those very helpful. And there are many advantages: users can contribute quickly, no one needs to learn a foreign tracking system, users are more likely to jot down

All Your Stacks Backups Are Belong to us

2016-04-01 Thread Alejandro Tejada
Did anyone still remember the origin of the subject of this message? How often do you backup your personal memories? :) Yesterday, Richard Gaskin posted a reminder about World Backup Day: http://www.worldbackupday.com Just for curiosity, How many of you keep an organized backup of your personal

Re: Script Only Stack Architecture

2016-04-01 Thread Mark Wieder
On 04/01/2016 07:34 AM, Ali Lloyd wrote: It's a pain to open the object inspector and copy the behavior reference then use the message box to to "open script of…" This is no longer necessary in the latest DPs of 8.0 - the behavior property in the property inspector has an 'edit script' button.

Re: Script Only Stack Architecture

2016-04-01 Thread Richard Gaskin
Kay C Lan wrote: > On Fri, Apr 1, 2016 at 9:43 AM, Richard Gaskin wrote: >> >> That's precisely why I advocate maintaining the Dictionary as >> an essential reference (as in "essence"); it should be easy >> to link to relevant tutorials and guides for more complete >> discussion when desired. >>

Re: Script Only Stack Architecture

2016-04-01 Thread Ali Lloyd
> It's a pain to open the object inspector and copy the behavior reference > then use the message box to to "open script of…" This is no longer necessary in the latest DPs of 8.0 - the behavior property in the property inspector has an 'edit script' button. On Fri, Apr 1, 2016 at 3:21 PM Peter

Re: Script Only Stack Architecture

2016-04-01 Thread Peter M. Brigham
Re this discussion on behaviors and chained behaviors, would there be any use for a new engine-based property like "the effective scripts of " that would return the script of the object and all the behavior scripts in its chain? Perhaps as an array, with the control references as keys? I don't

Re: Why isn't isoToMac anymore needed with LC 8 custom props?

2016-04-01 Thread Peter TB Brett
On 2016-04-01 11:42, Tiemo Hollmann TB wrote: Just for my understanding I would like to know, why this isn't necessary anymore in LC 8. Am I right, that the text now is stored in Unicode in the custom property, when I save the file on windows and therefore I don't have to translate it

Why isn't isoToMac anymore needed with LC 8 custom props?

2016-04-01 Thread Tiemo Hollmann TB
Hello, I am storing some text in custom properties. Developing on Windows I always put the text with isoToMac into a field, when the platform is MacOS. With LC 8 the German Umlauts get corrupted, when using this LC 6 method, but when just putting the pure custom property into the field, like on

Re: Script Only Stack Architecture

2016-04-01 Thread Kay C Lan
On Fri, Apr 1, 2016 at 9:43 AM, Richard Gaskin wrote: > > That's precisely why I advocate maintaining the Dictionary as an essential > reference (as in "essence"); it should be easy to link to relevant tutorials > and guides for more complete discussion when desired. >

Re: Using LC for Interactive Tutorial

2016-04-01 Thread Ali Lloyd
I would have to answer 'not at the moment' to all of the above! They are all possibilities, but we will probably have to gauge interest to decide where we take it next. I'm not sure the interactive tutorial format will lend itself well to explaining how to create interactive tutorials, but I

AW: Using LC for Interactive Tutorial

2016-04-01 Thread Tiemo Hollmann TB
That is a really nice feature! But I don't find any notes in Alis blog on how I can create such an interactive tutorial for my own runtimes. Is this intended to be, or is it only for the use of LiveCode.com? Tiemo >> Find out how to write your own interactive tutorial using the building blocks

Re: LC 8 DP 16 - Can't Edit Script of Behavior if it is Button?

2016-04-01 Thread Ali Lloyd
I'm somewhere between pretty sure and absolutely certain this is nothing to do with the fact that it is a button. Try edit script of button id 1161 of stack "oldStack" in the message box. Probably there is no button with that id, or no stack "oldStack" in memory. On Fri, Apr 1, 2016 at 7:41 AM

Re: LC 8 DP 16 - Can't Edit Script of Behavior if it is Button?

2016-04-01 Thread Sannyasin Brahmanathaswami
Never mind... LC8 still has this problem it remembers the location of stack windows on Monitor 2 and if you quit and open LC on Monitor 1 without Monitor 2 attached... the windows are "stuck off in space" as is the script editor in this case... I'm trying to find out what the stack is called

LC 8 DP 16 - Can't Edit Script of Behavior if it is Button?

2016-04-01 Thread Sannyasin Brahmanathaswami
I was looking to pull a bahavior in a button from one stack into a script-only stack in a new stack. in the "old stack" I clicked on the field that had the behavior button id 1161 of stack "oldStack" then hit "Edit Script" --> got nothing. had it been a script-only stack, the script editor