use-livecode-boun...@lists.runrev.com

2014-10-09 Thread Terence Heaford
Why do I occasionally get emails with this heading in my OSX Mail Junk folder? The email is full of technical stuff which is gibberish to me and seems to contain partial parts of the actual email and encrypted stuff. Thanks Terry ___ use-livecode mai

Re: Is this a bug or am I missing something?

2014-10-09 Thread Mark Schonewille
Mark, This isn't true. If the traversalOn of a button it true, it can have focus. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: ht

Re: Is this a bug or am I missing something?

2014-10-09 Thread Mark Wieder
John- Thursday, October 9, 2014, 5:37:34 PM, you wrote: >Rereading what you wrote it is clear - I was just being a bit > thick. Some days it seems to take a while to get through. Well, to be fair, understanding what's going on here is not at all straightforward. -- -Mark Wieder ahsoftw..

Re: Any way to do this?

2014-10-09 Thread Charles Szasz
Kay, I tried your suggestion. This works if your are pasting within LC but it does not paste into a document. By the way, I am using groups and not images. So I modified your script as follows: on mouseUp copy group id 20412 and group id 20413 end mouseUp Any other suggestions? Charle

Re: Codesigning standalones for Mac OS 10.9.5

2014-10-09 Thread Paul Dupuis
On 10/9/2014 8:25 PM, David Beck wrote: > Does anybody know what the status is with codesigning standalones built for > Mac OS in a way that works with OS 10.9.5? I have not been able to find a > definitive answer. I take it this article is out of date? > > http://revolution.screenstepslive.com/s/r

Re: Is this a bug or am I missing something?

2014-10-09 Thread John
Mark, Rereading what you wrote it is clear - I was just being a bit thick. Some days it seems to take a while to get through. Thanks, John On Oct 9, 2014, at 5:09 PM, Mark Wieder wrote: > John writes: > >> If I am thinking about this right, it means that the focusedObject was > changing

Codesigning standalones for Mac OS 10.9.5

2014-10-09 Thread David Beck
Does anybody know what the status is with codesigning standalones built for Mac OS in a way that works with OS 10.9.5? I have not been able to find a definitive answer. I take it this article is out of date? http://revolution.screenstepslive.com/s/revolution/m/10695/l/112989 Has anybody had succe

Re: Is this a bug or am I missing something?

2014-10-09 Thread Mark Wieder
John writes: > If I am thinking about this right, it means that the focusedObject was changing during the execution of the single line script. Yes, that's what I was trying to say. Sorry if it wasn't clear. -- Mark Wieder ahsoftw...@gmail.com

Re: [ANN] New Android Externals

2014-10-09 Thread Monte Goulding
I haven't tried working with them on anything but OS X but I don't think it would make any difference. On 10 Oct 2014, at 10:59 am, Sean Cole (Pi) wrote: > You star Monte! > > What OS's are these compatible with (to the best of your knowledge) and > which versions of LC can they be compiled fr

Re: iOS Icon sizes? Splash screen sizes?

2014-10-09 Thread Roger Guay
Very useful!! Thank you, ˜Roger Roger On Oct 9, 2014, at 7:16 AM, Roger Eller wrote: > This creates all necessary sizes from a high res master image. > http://livecodeshare.runrev.com/stack/756/Scaliniimage-scaler-for-resolution-independence > > The sizes were also detailed on one of the

Re: [ANN] New Android Externals

2014-10-09 Thread Sean Cole (Pi)
You star Monte! What OS's are these compatible with (to the best of your knowledge) and which versions of LC can they be compiled from? Thanks Sean Cole *Pi Digital Productions Ltd* On 10 October 2014 00:31, Monte Goulding wrote: > There's a demo stack in the external download and also the d

Re: Is this a bug or am I missing something?

2014-10-09 Thread J. Landman Gay
On 10/9/2014, 3:22 PM, John wrote: The fog is lifting a bit and I can see why the card gets the focus. That the focusedObject can change part way through a single line of script is a bit unsettling. The original goal was to access a property of a field to update the menus before they are shown

Re: [ANN] New Android Externals

2014-10-09 Thread Monte Goulding
There's a demo stack in the external download and also the demo for iOS should work too because it's the same API. On 10 Oct 2014, at 10:28 am, Pierre Sahores wrote: > Hi Monte, > > [This external allows you to implement either an embedded barcode reader…] > > Any shortcuts about the best opt

Re: [ANN] New Android Externals

2014-10-09 Thread Pierre Sahores
Hi Monte, [This external allows you to implement either an embedded barcode reader…] Any shortcuts about the best options to choose to suit this way to go ? Best, Pierre PS : i use for yet the third party barcode reader way. Le 10 oct. 2014 à 01:08, Monte Goulding a écrit : > Hi LiveCoders

[ANN] New Android Externals

2014-10-09 Thread Monte Goulding
Hi LiveCoders Today I am releasing two new android externals as public beta. Until there is an official SDK for Android external development they will remain in beta and only be available as a bonus to mergExt Complete users. The externals are: - mergZXing - This external allows you to impleme

Re: the "price" of a context switch/function call

2014-10-09 Thread Geoff Canyon
I took just about the worst case scenario: a single-line function I wrote a few weeks back: function isLeapYear Y return Y is a number and Y mod 4 = 0 and (Y mod 100 > 0 or Y mod 400 = 0) end isLeapYear If any function is going to pay the price for the cost of a function call, that's it -- ther

[ANN] Excel Library 1.3.3 - A new command for creating a Pivot Table from SQL and more.

2014-10-09 Thread zryip theSlug
Dear LiveCode Users, The Excel Library 1.3.3 Commercial Version is released! In this version we have: 6 new commands and 1 new function - XCEL_Sheet_Visible_Set: sets the visibility of a worksheet. - XCEL_Sheet_Visible_Get - XCEL_PivotTable_New_FromSQL: creates a new Pivot Table linked to a S

FYI iTunes Connect bug

2014-10-09 Thread Ralph DiMola
It never ends with Apple and iOS 8/Xcode 6. I can't submit for review because the third question is missing from the web page. I had trouble getting onto the web site earlier today but chalked it up to a fluke and tried after lunch and had no problem logging on. Apple must have injected a bug into

Re: Raspberry Pi and GPIO

2014-10-09 Thread Michael Doub
Thanks Andrew. I did the following: 1) edit /etc/rc.local (sudo nano /etc/rc.local) 2) added the following 2 line near the end, but in front of the last line (exit 0) chgrp -R dialout /sys/class/gpio chmod -R g+rw /sys/class/gpio 3) saved file 4) rebooted This

Re: Is this a bug or am I missing something?

2014-10-09 Thread Peter Haworth
Certainly true about buttons not being focusable on OSX, not so sure about the focus changing when the button is clicked. I put the cursor into a field on a card then entered this in the message box: put the long name of the focusedObject & return & the focusedObject The first line of the output

Re: Getting a list of object properties

2014-10-09 Thread FlexibleLearning.com
William Prothero wrote > If I do: > put the properties of scrollbar "axisEntry" > I don't get anything in the message box. LC7.0 rC2, Mavericks. > > Bill The dictionary entry for Properties does need revising, but it is correct insofar as you get an array not a list. I think this does what you

Re: Getting a list of object properties

2014-10-09 Thread J. Landman Gay
On 10/9/2014, 3:09 PM, William Prothero wrote: Wouldn’t it be great for newbies to have a tab in the object inspector that listed all of the settable property names and messages? Yes, some are shown in the BvG Docu 2 app, but it’s incomplete. You can see all the properties of any object in the

Re: Getting a list of object properties

2014-10-09 Thread Klaus major-k
Hi Bill, Am 09.10.2014 um 22:09 schrieb William Prothero : > ... > If I do: > put the properties of scrollbar “axisEntry" > I don’t get anything in the message box. LC7.0 rC2, Mavericks. "the properties of xyz" will return an ARRAY, that's why :-) Do this: put the properties of scrollbar “axis

Re: Getting a list of object properties

2014-10-09 Thread Peter Haworth
On Thu, Oct 9, 2014 at 1:09 PM, William Prothero wrote: > If I do: > put the properties of scrollbar “axisEntry" > I don’t get anything in the message box. LC7.0 rC2, Mavericks. > That's because the properties is an array keyed by property name with the value being the property value. Beware th

Re: Is this a bug or am I missing something?

2014-10-09 Thread John
The fog is lifting a bit and I can see why the card gets the focus. That the focusedObject can change part way through a single line of script is a bit unsettling. The original goal was to access a property of a field to update the menus before they are shown and using the selectedField se

Re: Getting a list of object properties

2014-10-09 Thread William Prothero
Craig: Yes, I’d like a list of the properties of an object. Of course, the first thing I needed to understand with the “slider” object is that it is called a “scrollbar” which is shown in the property inspector. Wouldn’t it be great for newbies to have a tab in the object inspector that listed a

Re: Is this a bug or am I missing something?

2014-10-09 Thread J. Landman Gay
On 10/9/2014, 2:10 PM, John wrote: While this may be the case in general, when the menubar script is: on mouseDown put the long name of the focusedObject & return & return & the focusedObject into field "results" end mouseDown The first part of the put (the long name of the focusedObje

Re: Accessing properties in sub stack fields

2014-10-09 Thread John
Pete, Thanks for the insight. The issue with the focusObject seems to be fairly nuanced and perhaps based on execution speed and platform. There is another message thread with the subject "Is this a bug or am I missing something?”, that seems to indicate that the focusedObject is changing

Re: Reading Files

2014-10-09 Thread JB
Thanks, Bob. Sounds like it would be easier and better to write a new external to do the job. Your info will save me some time. John Balgenorth On Oct 9, 2014, at 11:11 AM, Bob Sneidar wrote: > Livecode supports xcmds still so far as I know. The trouble is, those xcmds > were compiled for O

Re: Is this a bug or am I missing something?

2014-10-09 Thread John
Jaque, While this may be the case in general, when the menubar script is: on mouseDown put the long name of the focusedObject & return & return & the focusedObject into field "results" end mouseDown The first part of the put (the long name of the focusedObject) results in a card on the

Re: Is this a bug or am I missing something?

2014-10-09 Thread John
Mark, I can see your line of reasoning but it does not quite track. The first line in the result field does show that the focus is with main stack card where the menu buttons are located. In my case, the second line indicates that the focus is on the sub stack field, *not* the result field

Re: Raspberry Pi and GPIO

2014-10-09 Thread Andrew Kluthe
No specific information I can help with but this seems like it might hold some answers for you if you dig enough. http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=73924 On Thu, Oct 9, 2014 at 1:43 PM, Michael Doub wrote: > I think that I have now confirmed that it is a permission issue.

Re: Raspberry Pi and GPIO

2014-10-09 Thread Michael Doub
I think that I have now confirmed that it is a permission issue. I added a “sudo” in front of the “echo” command. Now everything seems to be working. I still have the question about how to give livecode the correct permissions to access this files as it would seem more logical to use to do di

Re: Is this a bug or am I missing something?

2014-10-09 Thread J. Landman Gay
On 10/9/2014, 1:15 PM, Bob Sneidar wrote: I’m curious if the button itself is focusable. Buttons are focusable on Windows and Linux but not on OS X. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: Is this a bug or am I missing something?

2014-10-09 Thread dunbarx
I did not try this from a menu, but it works as advertised from an ordinary button. Craig On Oct 8, 2014, at 22:02 , John wrote: > I have found a circumstance where "the long name of the focusedObject” and “the focusedObject” refer to different objects in the same line of a script. The

Raspberry Pi and GPIO

2014-10-09 Thread Michael Doub
I am looking for some help from some of you with unix/raspberry pi experience. I have think that I have installed 7.0 rc 1 on my raspberry pi B+ properly. I am trying to figure out how to play with the GPIO’s. I am am able to execute the following to set up the IO put shell("echo 1

Re: Getting a list of object properties

2014-10-09 Thread dunbarx
William. Do you mean "the properties"? Craig -Original Message- From: William Prothero To: Use-livecode Use-livecode Sent: Thu, Oct 9, 2014 1:49 pm Subject: Re: Getting a list of object properties Folks: Ok, I found how to set the end and start values. e.g. put the startValue of

Re: Is this a bug or am I missing something?

2014-10-09 Thread Bob Sneidar
I’m curious if the button itself is focusable. Instead, call a function in the card script and use send in time. If it still results in two different objects, then Houston, we have a problem. Bob S On Oct 8, 2014, at 22:02 , John wrote: > I have found a circumstance where "the long name o

Re: Reading Files

2014-10-09 Thread Bob Sneidar
Livecode supports xcmds still so far as I know. The trouble is, those xcmds were compiled for OS 9, and we are way past that. There is no way I know to convert a compiled OS 9 xcmd to an OX S xcmd. You would need the source, and then you would have to refactor it in a current compiler. Bob S

Re: Getting a list of object properties

2014-10-09 Thread William Prothero
Folks: Ok, I found how to set the end and start values. e.g. put the startValue of scrollBar “axisEntry" Still, if anybody remembers the way to get a list of properties (a script), other than looking in the docs, I’d be interested. Best, Bill On Oct 9, 2014, at 10:44 AM, William Prothero wrote:

Re: Convert rgb to lightness or darkness

2014-10-09 Thread William Prothero
Ben: Thanks. This does a better job. Best, Bill William A. Prothero http://es.earthednet.org/ On Oct 9, 2014, at 2:38 AM, Ben Rubinstein wrote: > In the standard formula for RGB -> HSL (Hue, Saturation, Lightness), > Lightness is calculated as the average of the max and min of the RGB values.

Getting a list of object properties

2014-10-09 Thread William Prothero
Folks: Sometime back, I remember a posting about how to get a list of property names of an object. Anybody remember it? I’m trying to use a “slider” object and have googled, etc, to no avail. The docs don’t show “slider” and so it’s just one of those docs shortcomings that hopefully will eventu

Re: Is this a bug or am I missing something?

2014-10-09 Thread Mark Wieder
John- My apologies - I forgot about the weirdness of menus on osx. My earlier response was based on linux, which has a much more reasonable approach to UI interaction. So here's what I see happening on osx: 1. click in the substack field 2. click on a menu item This actually moves the focus to

Re: Regex wildcard in XML Query

2014-10-09 Thread Peter Haworth
On Wed, Oct 8, 2014 at 9:12 PM, Glen Bojsza wrote: > xsi:type="xsd:pattern">IGD.NetDevice.\d{2}\.NetCommonInterfaceConfig. > Hi Glen, Couple of issues with using the above as a regex. The period character means any character except newline in a regex. By chance it works for the string you're

Re: Accessing properties in sub stack fields

2014-10-09 Thread Peter Haworth
I think this is an example of LC not always dereferening things as expected, especially when custom properties are involved. I've had similar issues in the past and in fact have just had another one where the following results in a runtime error: put the cMyProp of (line 1 of the recentCards) int

Re: use-livecode Digest, Vol 133, Issue 15

2014-10-09 Thread Peter Haworth
On Thu, Oct 9, 2014 at 8:16 AM, Devin Asay wrote: > if thisBernd is not thatBernd then >focus on the effective Bernd > else >focus on nothing > end if > To make this generically useful and take advantage of a recent syntax addition: if this me is not that me then focus on the effecti

Re: LC 6.6.3 and 6.6.4 really slower than LC 6.1.2

2014-10-09 Thread larry
My (limited) experience: I found several bugs in 6.6.3 Without changing the code at all, I opened my stack in 6.1.1 and everything ran perfectly. Larry - Original Message - From: "Alain Vezina" To: "LiveCode How to" Sent: Thursday, October 09, 2014 9:41 AM Subject: LC 6.6.3 a

LC 6.6.3 and 6.6.4 really slower than LC 6.1.2

2014-10-09 Thread Alain Vezina
Hi All, When I press a btn to go back to a previews card it takes 1/10 of a second with LC 6,1,2, but it takes 3.28 second with LC 6.6.3 and 6.6.4. That the same when my app is a standalone. I use the same script for all trials on mouseUp global sBrowserId BrowserInvisible02 hide btn "

Re: use-livecode Digest, Vol 133, Issue 15

2014-10-09 Thread Devin Asay
On Oct 9, 2014, at 12:52 AM, BNig wrote: > Peter wrote: > >> Bernd has finally got the better of my curiosity and I checked out >> outrange.com. The homepage has this little gem: >> >> "Today, companies are facing strong competition. Only companies which >> effectively communicate with their

Re: iOS Icon sizes? Splash screen sizes?

2014-10-09 Thread Roger Eller
This creates all necessary sizes from a high res master image. http://livecodeshare.runrev.com/stack/756/Scaliniimage-scaler-for-resolution-independence The sizes were also detailed on one of the slides in a presentation by Ralph DiMola at LiveCodeLIVE'14. ~Roger On Thu, Oct 9, 2014 at 1:11

Re: Convert rgb to lightness or darkness

2014-10-09 Thread Ben Rubinstein
In the standard formula for RGB -> HSL (Hue, Saturation, Lightness), Lightness is calculated as the average of the max and min of the RGB values. In the standard formula for RGB -> HSV (Hue, Saturation, Value), Value is the max of the RGB values. I would guess one of those calculations would

AW: How is the LC textsize converted into RTF?

2014-10-09 Thread Tiemo Hollmann TB
Hello Kay, thanks for the hint with HTMLText, I will follow that Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von Kay C Lan > Gesendet: Donnerstag, 9. Oktober 2014 04:07 > An: How to use LiveCode > Betreff: Re: How is th

Re: For yer eddification

2014-10-09 Thread René Micout
Très drôle ! Le 8 oct. 2014 à 19:47, Richmond a écrit : > On 08/10/14 20:28, Colin Holgate wrote: >> I was on Unst for 18 months. That’s the top island of the Shetlands, that he >> is pointing to. They don’t quite speak the same Scottish there. > > On Unst they don't speak Scots at all: they s