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

2014-10-08 Thread BNig
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 customers can be successful. Effective > communicatio

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

2014-10-08 Thread John
Mark, Thanks for the clarification but if you have the patients to explain a bit further it would be appreciated. When the sub stack field has the focus, the “long name of the focused object” refers to a card of the main stack (at least there is no reference to a sub stack). For the first

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

2014-10-08 Thread Mark Wieder
John- Buttons can't receive focus. The focus of your mainstack is on the only control that can receive a focus, the result field. And it doesn't matter that you have clicked in the substack first. The act of clicking in the menu shifts the focus to the main stack. What you are seeing in the resu

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

2014-10-08 Thread Mark Wieder
Craig- Wednesday, October 8, 2014, 10:23:14 PM, you wrote: > I could not open your stack. It was reported as corrupted. MacBook Air. OS > 10.6.8 LC 6.3 It's in LC 7 format. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Securi

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

2014-10-08 Thread John
Craig, Sorry about that. It was saved the latest (7.0 RC2) format. The following: https://www.dropbox.com/s/yxmf3ysrski1osz/Test%20stack%20%282.7%29.livecode?dl=0 is saved in an older format that should open in LC 6.3. Unfortunately the “.txt” still need to be removed. Thanks, John On

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

2014-10-08 Thread Mark Wieder
Peter- That's a different Bernd. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metada

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

2014-10-08 Thread dunbarx
Hi. I could not open your stack. It was reported as corrupted. MacBook Air. OS 10.6.8 LC 6.3 Craig Newman -Original Message- From: John To: How to use LiveCode Sent: Thu, Oct 9, 2014 1:02 am Subject: Is this a bug or am I missing something? I have found a circumstance wher

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

2014-10-08 Thread John
I just tried the same thing using versions 6.6.2 and 5.0.2 with the same result so I am guessing that I am missing something given this is how it has worked for a long time. Apparently the combination of “name” with the “focusedObject” doesn’t do what I would intuitively think. It still see

iOS Icon sizes? Splash screen sizes?

2014-10-08 Thread Chipp Walters
Where oh where would one find these? I have a great idea! Why not put a little button next to the fields in the Standalone builder to show info about them? *Icon sizes* iPhone Hi-Res iPhone iOS Hi-Res iPhone iPhone 6 Plus iPad Hi-Res iPad iOS 7 iPad iOS7 Hi-Res iPad *Splash Screens* iPhone Hi-Res

Is this a bug or am I missing something?

2014-10-08 Thread John
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 line is: “ put the long name of the focusedObject & return & return & the focusedObject into field “results” “. This is the only line i

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

2014-10-08 Thread Peter W A Wood
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 customers can be successful. Effective communication means being able to de

Re: Accessing properties in sub stack fields

2014-10-08 Thread John
Kay, I gave it a try but it didn’t work. Digging in a bit deeper it gets a bit more mysterious. It appears as if “the name of the focusedObject” and "the focusedObject" refer to different objects. I expanded what goes to the message box by using the following: put ">" & the noType of (

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

2014-10-08 Thread bernd . gottwald
Bis zum 12.10.2014 bin ich nicht verfügbar. Ich werde meine Emails nicht lesen. In dringenden Fällen erreichen Sie mich über mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. __

Regex wildcard in XML Query

2014-10-08 Thread Glen Bojsza
Hello, I am looking for any XML help that make the below query into a wild card query. http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/"; xmlns:urn="urn:gbadmin-api-3-1-0"> http://s

Re: Reading Files

2014-10-08 Thread JB
The Hyper Talk was pretty simple. I had a few different file I/O externals that would allow me to sector read the disk. I don’t think they will import or I could use them. They really do not need an external window so if you know how I can import them that would be really great. John Balgenorth

Re: Reading Files

2014-10-08 Thread Richard Gaskin
JB wrote: What I want to do is read a external drive as binary code and not binary data. I am not concerned about paths it is the binary code I want to read. The size is not an issue. If the drive I am reading it to does not have the space then I won’t allow it to read the drive as a file. A

Re: Reading Files

2014-10-08 Thread JB
Hi Kay, Thanks for the reply. What I want to do is read a external drive as binary code and not binary data. I am not concerned about paths it is the binary code I want to read. The size is not an issue. If the drive I am reading it to does not have the space then I won’t allow it to read the d

Re: Accessing properties in sub stack fields

2014-10-08 Thread Kay C Lan
Try: put the noType of (the name of the focusedObject) && the focusedObject into msg The reference returned by fucusedObject is not in the format that is used for the syntax of a custom property. You need to shorten it by referring to just 'the name'. HTH On Thu, Oct 9, 2014 at 9:39 AM, John

Re: Reading Files

2014-10-08 Thread Kay C Lan
Technically I'd think yes, practically I'd think there are any factors that would cause it to fail, obviously the size of the data being the most obvious. Reading from one external HD and writing the file to another external HD would be your best bet. I assume your talking about some LC custom sol

Re: quotes question

2014-10-08 Thread Kay C Lan
On Thu, Oct 9, 2014 at 12:30 AM, wrote: > > create field > set the name of the last field to ("myfield" & x) > Looks like you're starting to think like a LiveCoder :-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: How is the LC textsize converted into RTF?

2014-10-08 Thread Kay C Lan
On Wed, Oct 8, 2014 at 11:25 PM, Tiemo Hollmann TB wrote: > Hello, > > I am struggling to keep the wanted textSize from a LiveCode text in a RTF > file. > >From another thread about RTF, this Important Note in the Dictionary under 'RTFText' may help: Important! Because the RTF standard does not i

Accessing properties in sub stack fields

2014-10-08 Thread John
Hi, I was hoping that someone could explain what is going on. I have a main stack with multiple sub stacks all of which use the main stack’s menu bar. In the menubar group I have a mouseDown handler to update the menus before they are shown. The sub stacks have fields which may, or may no

Reading Files

2014-10-08 Thread JB
Is it possible to read a whole drive as a single file? John Balgenorth ___ 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/mailma

Re: quotes question

2014-10-08 Thread Bob Sneidar
The first one is correct. Quote object names and values, do not quote variables. You can get away without quoting object names, but the code is more readable, and avoids (remotely) possible variable/object conflicts. Bob S On Oct 8, 2014, at 09:30 , la...@significantplanet.org

Re: DataGrid again

2014-10-08 Thread Terence Heaford
I have managed to get the data grid to resize using this script from an earlier post I made on a similar subject. This resizes the data grid on the last message , deleting the earlier ones (see script below). I wonder if the reason it was not working is because the redrawing of the data grid c

Re: DataGrid again

2014-10-08 Thread Peter Haworth
Do you have liveResizing on? If so, the resizeStack message is sent continuously as the stack is being resized and the "old" parms are the same as the "new" parms from the previous resizeStack message. Each of your put statements to the message box overwrites the previous one so what you see ther

Re: DataGrid again

2014-10-08 Thread J. Landman Gay
On 10/8/2014, 9:44 AM, Terence Heaford wrote: There is without doubt issues with the way livecode handles Mac Menus. Again along with the geometry issues noted in an earlier post this is making Livecode unusable as I cannot get consistent results. It not only applies to 6.7 but also 6.6.4. I h

Re: DataGrid again

2014-10-08 Thread Terence Heaford
Even more woes using this simple script: on resizeStack newWidth,newHeight,oldWidth,oldHeight put "newWidth = " & newWidth & "," & "newHeight = " & newHeight & "," & "oldWidth = " & oldWidth & "," & "oldHeight = " & oldHeight end resizeStack Zoom window (enlarge): newWidth = 1680,new

Re: Prevent Stack Resizing

2014-10-08 Thread JB
Thank you, Bob. John Balgenorth On Oct 8, 2014, at 7:58 AM, Bob Sneidar wrote: > I was having a problem where I would reposition all the controls on a page > (after showing hidden of course!) and each time I closed the stack and > reopened it, it was a different size!!! Also my controls see

Re: For yer eddification

2014-10-08 Thread Richmond
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 speak Scots Gaelic which is akin to Irish Gaelic and is as different

Re: For yer eddification

2014-10-08 Thread Richmond
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. BTW, clicking the big graphics on that page doesn’t work, you have to click the text links to get to the next pag

Re: For yer eddification

2014-10-08 Thread Colin Holgate
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. BTW, clicking the big graphics on that page doesn’t work, you have to click the text links to get to the next page. At least in Safari. On Oct 8, 2014, a

For yer eddification

2014-10-08 Thread Richmond
Dad: http://digital.nls.uk/oor-wullie/ Best, John. ___ 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-live

Re: quotes question

2014-10-08 Thread Colin Holgate
If you mean that “myfield” is the name that you want to call the field, then this would be more proper, though either should work: set the name of the last field to ("myfield" & x) If myfield contains some other text, like “real field name”, this will work: set the name of the last field to (my

quotes question

2014-10-08 Thread larry
Hello All, I've been given some good advice from a couple of people on this list about being sure to put quotes around object names. So I'm going back through my code and doing that. Question: If I'm using a variable as part of a field name, should it have quotes around it? In other words, whi

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

2014-10-08 Thread Ralph DiMola
Mark talked about the cost of context switching at RR14. The default "by value" parameters in a call will be "by reference" until data has changed. Only then will a local copy be created. So... If you pass a large array only the keys that have been changed(if any) are allocated new memory and copie

How is the LC textsize converted into RTF?

2014-10-08 Thread Tiemo Hollmann TB
Hello, I am struggling to keep the wanted textSize from a LiveCode text in a RTF file. I have a LiveCode 6.5.2 field where I have set word 1 to textsize 12 and word 2 to textsize 14 When looking into the RTF code it shows "fs18" and "fs21" When writing the RTFtext to a file and opening it in Wo

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

2014-10-08 Thread Bob Sneidar
I get caught up in such thoughts from time to time, and then wake up to realize that the slow method is having absolutely no noticeable effect on the speed of my app, and won’t in the foreseeable future because the app is not of such a nature that it will scale to the point that it would. Then

Re: Prevent Stack Resizing

2014-10-08 Thread Bob Sneidar
I was having a problem where I would reposition all the controls on a page (after showing hidden of course!) and each time I closed the stack and reopened it, it was a different size!!! Also my controls seemed to all have a mind of their own. After poking around a bit I discovered that I had s

Re: DataGrid again

2014-10-08 Thread Terence Heaford
There is clearly something wrong with the data returned from resizeStack. For a height that should return 700 I have had returned 700 & 722. Clearly the 22 is something to do with the way LiveCode handles Mac Menus. For a height that should return 1024 I have had returned 1024 & 1002. Clearly

Re: RELEASE: LiveCode 6.6.4 RC1

2014-10-08 Thread Dave Kilroy
Just a quick note to say that LC 6.6.4 (RC2) has fixed the problem and the iOS simulator is back working again for me - "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-r

AW: Convert rgb to lightness or darkness

2014-10-08 Thread Tiemo Hollmann TB
Just a guess, didn't tried it. If you add the three RGB values of the mousecolor, white (light) would be 765 and black (dark) 0. Somewhere around 382 you can switch from black to yellow text. Tiemo > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.c