focusIn

2015-03-24 Thread Richmond
I tried this: on focusIn set the backGroundColor of fld "CHAMP" to green end focusIn and it didn't work. I wanted to change a field's backGroundColor when someone selects that field; obviously THAT method doesn't work. Richmond. ___ use-livecod

Re: Question re large project organization

2015-03-24 Thread William Prothero
Jackie: Thanks. I’ll check it out. I had to uncheck that “Copy reference files” to get all of my other files in the standalone. I’ll have to investigate further, because, given the clear explanation you gave below, it should not affect the other data files that are in the folder whose contents I

[OT] Problem with MySQL Insert

2015-03-24 Thread Paul Foraker
In a table in a MySQL database, I need a field displaying a time period corresponding to the half hour period during which a record was posted. The period is in the form "HH:MM-HH:MM AM|PM". I have set the field type to VARCHAR(10) and LiveCode is passing the string to the query handler. MySQL is

Re: SQL lite adding records

2015-03-24 Thread JB
It is a disk stored db, and I will be adding a lot of records at one time every so often. Speeding it up will be great! thanks again, John Balgenorth On Mar 24, 2015, at 8:30 PM, Dr. Hawkins wrote: > On Tue, Mar 24, 2015 at 8:19 PM, JB wrote: > >> I have not heard of BEGIN TRANSACTION >> bu

Re: SQL lite adding records

2015-03-24 Thread Dr. Hawkins
On Tue, Mar 24, 2015 at 8:19 PM, JB wrote: > I have not heard of BEGIN TRANSACTION > but I will give it a try. > At least assuming a disk stored db, it is likely also faster. In my case, I pull several hundred records from a remote postgres db, and stash them into a memory sqlite db. My enemy

Re: SQL lite adding records

2015-03-24 Thread JB
Thank you, Dr. Hawkins! I have not heard of BEGIN TRANSACTION but I will give it a try. John Balgenorth John On Mar 24, 2015, at 8:13 PM, Dr. Hawkins wrote: > On Tue, Mar 24, 2015 at 6:52 PM, Peter Haworth wrote: > >> You should issue a BEGIN statement right before your repeat statement and

Re: SQL lite adding records

2015-03-24 Thread Dr. Hawkins
On Tue, Mar 24, 2015 at 6:52 PM, Peter Haworth wrote: > You should issue a BEGIN statement right before your repeat statement and > move your revCommitDatabase to right after the end repeat. Better > performance and guarantees db integrity. > Also, you can build a large statement for a single t

Re: Question re large project organization

2015-03-24 Thread J. Landman Gay
On 3/24/2015 5:50 PM, William Prothero wrote: it leaves me wishing there was a clear explanation of the standalone builder and where files get put for various configurations. There's an overview in the User Guide, starting at page 295. It could use more detail, but it's a start. This one wa

Re: SQL lite adding records

2015-03-24 Thread JB
I should mention when I said sort and find I mean in a single table. I did the Sample database and can do the inner and outer joins. I also have Valentina and can do just about everything they offer including sort and find but I want to use SQL also. John Balgenorth On Mar 24, 2015, at 7:11 PM,

Re: outsmarted myself with menus?

2015-03-24 Thread J. Landman Gay
On 3/24/2015 6:29 PM, Dr. Hawkins wrote: I've created menus and handlers, and use behaviors for them. But when I want to paste, the handler can't find where I was. If I'm in a field, "me" and "the target" both point to the menu button, not the field; the selectedObject contains nothing, and I c

Re: SQL lite adding records

2015-03-24 Thread JB
Hi Peter, Thank you so much for the detailed info! Each value has single quotes now but it would be nice to do it without quotes as adding them takes more time. I will definitely use th BEGIN statement and thank you for explaining it. I tried to use revCommitDatabase after the repeat without th

Re: SQL lite adding records

2015-03-24 Thread Peter Haworth
Hi John, A few ideas for you. You should issue a BEGIN statement right before your repeat statement and move your revCommitDatabase to right after the end repeat. Better performance and guarantees db integrity. For some reason I don't understand, LC does not have a revxxx statement to issue a BE

Re: Movie problems in LiveCode

2015-03-24 Thread Scott Rossi
Related to the software options at Garden Gnome Software below, Cubic Converter came up as a tool that can apparently be used to convert a source QTVR image back into a spherical (equirectangular) panorama: http://en.kioskea.net/download/download-18496-cubicconverter On 3/24/15, 2:21 PM, "Scott

Re: outsmarted myself with menus?

2015-03-24 Thread Terry Judd
Try one or more of focusedObject(), selectedField(), selectedChunk() Terry... On 25/03/2015 10:29 am, "Dr. Hawkins" wrote: >I've created menus and handlers, and use behaviors for them. > >But when I want to paste, the handler can't find where I was. > >If I'm in a field, "me" and "the target" b

SQL lite adding records

2015-03-24 Thread JB
I am using MySql on a local host and creating a database then adding records. After creating the table I was using the handler below to add records. I was not using the revCommitDatabase gConID statement after each record and some times my database would be missing one or two records. After inclu

outsmarted myself with menus?

2015-03-24 Thread Dr. Hawkins
I've created menus and handlers, and use behaviors for them. But when I want to paste, the handler can't find where I was. If I'm in a field, "me" and "the target" both point to the menu button, not the field; the selectedObject contains nothing, and I can't find something like "menuSource". THi

Re: Question re large project organization

2015-03-24 Thread William Prothero
Folks: Just a gripe about the standalone builder. The bug I reported still stands, though. This is my fault, though and it leaves me wishing there was a clear explanation of the standalone builder and where files get put for various configurations. This one was the checkbox on the “Copy Files”

Re: Movie problems in LiveCode

2015-03-24 Thread Matthias Rebbe | M-R-D
> Am 24.03.2015 um 22:21 schrieb Scott Rossi : > > You¹d probably do well to stop using QTVR and look for an alternative. I > don¹t know what types of VR movies you have, but there are some tools on > this site that are able to output HTML5 panoramas and object movies (and > possibly import QTV

Re: Movie problems in LiveCode

2015-03-24 Thread Scott Rossi
Hi Stephen: As others have mentioned, QuickTime was deprecated by Apple a while back. See ³Deprecated Frameworks² on this page: In some simple tests, it looks like QuickTime Player 10 (on Maveric

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread J. Landman Gay
On 3/24/2015 3:57 PM, Terence Heaford wrote: All I wanted was a positive response I know, and I can't speak to the replies you got. But it would be easier if you didn't imply the team was incompetent. The straight-on questions you asked earlier were good. -- Jacqueline Landman Gay |

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Richard Gaskin
Terence Heaford wrote: > All I wanted was a positive response and all I got was a debate about > what someone may or may not have seen in other apps and something on > Google that started 2 years ago. One man's debate is another man's data point. So far the Mozilla engineer's comments I linked

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Terence Heaford
> On 24 Mar 2015, at 20:03, J. Landman Gay wrote: > > I wish you wouldn't do that. -- Here is my initial post. "I noticed this when moving Page Setup to the MenuBar of my project but it also applies to any other window that is attached as a sheet and opened from the

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread J. Landman Gay
On 3/24/2015 1:39 PM, Terence Heaford wrote: Perhaps LC engineers and these other Apps engineers do not know how to correctly implement Apple’s API on this. and: Do LC have any contacts at Apple they can speak to so they can be instructed how to code it? I wish you wouldn't do that. To you,

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Richard Gaskin
Terence Heaford wrote: > I was purely raising what I believe is LC not following the user > interface norms in OS X. > > If they can’t or won’t sort it then just say so or say nothing (this > last option would be disappointing) > > I raised a valid point and I am still no clearer as to whether LC

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Terence Heaford
> On 24 Mar 2015, at 19:25, Richard Gaskin wrote: > > I look forward to hearing what you find. It’s not really for me to research this. I was purely raising what I believe is LC not following the user interface norms in OS X. If they can’t or won’t sort it then just say so or say nothing (t

Re: v8 and Widgets

2015-03-24 Thread Devin Asay
On Mar 24, 2015, at 10:16 AM, Bob Sneidar wrote: > I wasn’t able to see the webinar. Is there a link to it? Hopefully someone > posted it. > It’s on the LiveCode blog: http://livecode.com/a-new-dawn/ Definitely worth a watch. It’s pretty exciting stuff. Devin Devin Asay Office of Digit

Re: Movie problems in LiveCode

2015-03-24 Thread J. Landman Gay
On 3/24/2015 10:26 AM, Richard Gaskin wrote: In apps where the media I'm playing resides in a single folder, I often just have a central handler cover that to which I pass the file's short name only and it takes care of the rest, e.g.: on PlayMovie pFile put specialFolderPath("documents")&"/M

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Richard Gaskin
Terence Heaford wrote: >> On 24 Mar 2015, at 18:56, Richard Gaskin wrote: >> >> I realize you're busy, but if you find the time to read Comment >> #15 at the link I'd taken the time to research for you the details >> there may be helpful. > > I’ve read the whole thread but some of it goes back to

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Terence Heaford
> On 24 Mar 2015, at 18:56, Richard Gaskin wrote: > > I realize you're busy, but if you find the time to read Comment #15 at the > link I'd taken the time to research for you the details there may be helpful. I’ve read the whole thread but some of it goes back to 31/01/2012. I am not convinc

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Richard Gaskin
Terence Heaford wrote: > I didn’t say it wasn’t in other apps, all I said was it’s not in any > Apple apps I have found, so clearly there is an answer. Because you haven't seen this doesn't necessarily mean others haven't either. Yes, there is an answer, detailed in Comment #15 in the Mozilla

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Terence Heaford
> On 24 Mar 2015, at 18:39, Terence Heaford wrote: > > Perhaps the timer answer is the answer perhaps it is not for other reasons I > am not aware of. There actually is an issue with using a timer. Here is an extract of my handler case "Page Setup..." send "myPageSetup" to me

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Terence Heaford
> On 24 Mar 2015, at 18:28, Richard Gaskin wrote: > > Thanks for confirming what I'd written earlier, that this isn't limited to > LiveCode. I didn’t say it wasn’t in other apps, all I said was it’s not in any Apple apps I have found, so clearly there is an answer. Perhaps the timer answer

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Richard Gaskin
Terence Heaford wrote: > A solution. > > I also play around with Xojo and noticed that this has the same > problem Thanks for confirming what I'd written earlier, that this isn't limited to LiveCode. > so I posted on their Forum and the reply was to use a timer. Yes, that's generally consist

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Terence Heaford
Well, A solution. I also play around with Xojo and noticed that this has the same problem so I posted on their Forum and the reply was to use a timer. So, I implemented this in LC and it has worked. send "myPageSetup" to me in 100 milliseconds I wonder why LC have not implemented it in the ID

Re: Question re large project organization

2015-03-24 Thread William Prothero
Richard: The bug is Bug 15079 Bill > On Mar 24, 2015, at 10:49 AM, Richard Gaskin > wrote: > > William Prothero wrote: > > > Yes. I selected each stack and put in a password for it. I’m going > > to make a test stack and submit a bug report, if

Re: Question re large project organization

2015-03-24 Thread Richard Gaskin
William Prothero wrote: > Yes. I selected each stack and put in a password for it. I’m going > to make a test stack and submit a bug report, if it shows the same > behavior. If there is a bug here it seems limited to the IDE's interface for that. Setting the password of a stack here using the

Re: Question re large project organization

2015-03-24 Thread William Prothero
I just submitted a bug report on this issue. Bill William A. Prothero http://es.earthednet.org/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http:/

Re: Question re large project organization

2015-03-24 Thread William Prothero
Jackie: Yes. I selected each stack and put in a password for it. I’m going to make a test stack and submit a bug report, if it shows the same behavior. Best, Bill > On Mar 24, 2015, at 9:34 AM, J. Landman Gay wrote: > > On March 24, 2015 10:31:38 AM CDT, William Prothero > wrote: > >> Fair en

Re: Question re large project organization

2015-03-24 Thread William Prothero
Richard: Thank you, thank you! Very pertinent info. I’m glad I can get a stack back into substack. Best, Bill > On Mar 24, 2015, at 8:38 AM, Richard Gaskin > wrote: > > William Prothero wrote: > > Fair enough. I did find the “password” entry in the dictionary. BUT, > > I wonder if the fact tha

Re: Speaking of modals...

2015-03-24 Thread Bob Sneidar
Ooohh… Bob S On Mar 20, 2015, at 14:29 , Peter Haworth mailto:p...@lcsql.com>> wrote: My trick for debugging a modal stack is to open it as a palette instead of modal and stick a breakpoint right after the code that opens it. The stack opens up and execution stops at the breakpoint so you can

Re: Question re large project organization

2015-03-24 Thread J. Landman Gay
On March 24, 2015 10:31:38 AM CDT, William Prothero wrote: >Fair enough. I did find the “password” entry in the dictionary. BUT, I >wonder if the fact that this doesn’t work (for me) in the standalone >builder code mean there is a bug in the IDE? Each included stack can have its own password, s

Re: SQLite Problem

2015-03-24 Thread Bob Sneidar
For Sqlite, you can query the sqlite_master table: select tbl_name from sqlite_master where type = ‘table’ Bob S On Mar 14, 2015, at 09:47 , Dr. Hawkins mailto:doch...@gmail.com>> wrote: I have found relying on revDatabaseColumnaNames() and revDatabaseTableNames() unreliable--tablenames so mu

Re: XML Tutorial

2015-03-24 Thread Bob Sneidar
Haven’t heard from Trevor for a while now. I wonder what the boy genius is up to these days? Bob S On Mar 13, 2015, at 11:13 , Michael Doub mailto:miked...@gmail.com>> wrote: These were contributed by Trever Devore. Many thanks! ___ use-livecode

Re: [Semi-OT] Execute Javascript for Acrobat

2015-03-24 Thread Bob Sneidar
Thanks Ralph. Bob S > On Mar 13, 2015, at 14:07 , Ralph DiMola wrote: > > Bob, > > At RR 14 Mark and I tried to do this through VBS. As I recall we had some > success connecting to the JSO but could talk to Acrobat after the connection > was established. My hour with him was up and I have no

Re: No tools on Tools Palette (was Re: Release: LiveCode 8.0.0 DP 1)

2015-03-24 Thread Bob Sneidar
Right. Exactly. :-) Bob S On Mar 12, 2015, at 20:12 , James Hale mailto:ja...@thehales.id.au>> wrote: As for being talked about a lot, that's one downside with only getting the digest of the list. By the time you get it and reply there could be oodles of other replies you have yet to see as

Re: v8 and Widgets

2015-03-24 Thread Bob Sneidar
I wasn’t able to see the webinar. Is there a link to it? Hopefully someone posted it. Bob S > On Mar 12, 2015, at 11:14 , Andrew Kluthe wrote: > > For the first time in a while, I'm pretty enthusiastic about what I'll be > able to do with livecode in the future. The performance of the rotati

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Terence Heaford
> On 24 Mar 2015, at 15:48, Richard Gaskin > wrote: > > A little Google foo turned up this Mozilla bug report in which Comment #15 > confirms it's an Apple bug, with the rest of the discussion there focused on > ways of trying to work around it (with sadly li

Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Richard Gaskin
Terence Heaford > When you select say the “File” menu from the menubar then it is > highlighted in blue. > > If you then select say “Page Setup…” or any other window that will > open as a sheet then once the sheet window is opened the “File” menu > remains highlighted in blue. > > I believe that

Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?

2015-03-24 Thread Terence Heaford
I noticed this when moving Page Setup to the MenuBar of my project but it also applies to any other window that is attached as a sheet and opened from the MenuBar. When you select say the “File” menu from the menubar then it is highlighted in blue. If you then select say “Page Setup…” or any o

Re: Question re large project organization

2015-03-24 Thread Richard Gaskin
William Prothero wrote: > Fair enough. I did find the “password” entry in the dictionary. BUT, > I wonder if the fact that this doesn’t work (for me) in the > standalone builder code mean there is a bug in the IDE? Possibly. Are you finding you can access the scripts of objects in your standalo

Re: Question re large project organization

2015-03-24 Thread William Prothero
Richard: Fair enough. I did find the “password” entry in the dictionary. BUT, I wonder if the fact that this doesn’t work (for me) in the standalone builder code mean there is a bug in the IDE? Also, I’m exploring the ramifications of this approach and considering whether the apple store will n

Re: Movie problems in LiveCode

2015-03-24 Thread Phil Jimmieson
Hi Stephen, I think Apple dropped support for QuickTime VR movies in AVKit - which is the current Movie framework for OS X. Apple deprecated QuickTime and QTKit in OS X 10.9 and you can't now sell apps in the app store that link against QuickTime. You're supposed to move to AVKit and AV Foundati

Re: Movie problems in LiveCode

2015-03-24 Thread Richard Gaskin
stgoldberg wrote: > Thanks for the suggestion Jacquie. Unfortunately, the problem with > relative paths resetting to absolute remains > even if “always use absolute file paths for images” is unchecked. > There appears to be a true problem with movies in the LC 6-7 series > on Macintosh. It appe

Re: Question re large project organization

2015-03-24 Thread Richard Gaskin
The IDE is written in LiveCode; everything it does can be done by our own scripts. See the password property in the Dictionary. You could write a handler for the StandaloneSaved message that copies your stacks to the dest folder, and sets their password property as it goes. -- Richard Gask

One of our scripts is missing !...:-)

2015-03-24 Thread John Dixon
Well, I've read about it before but I guess I've always thought it will never happen to me... mmm, well today it has.. I open the script of a stack that had about 100+ lines in it and it is not there anymore ..:-( Close the script editor and try again, then maybe a few lines show but I am unabl

Re: Question re large project organization

2015-03-24 Thread William Prothero
Phil: Tnx for the info. I did try the “password protect” checkbox and put in a password, but there must be something I’m missing because after making a standalone, the password checkbox and entered password has been set back to blank in the “Standalone Settings” “stacks” panel, and the stacks th

Movie problems in LiveCode

2015-03-24 Thread stgoldb...@aol.com
Thanks for the suggestion Jacquie. Unfortunately, the problem with relative paths resetting to absolute remains even if “always use absolute file paths for images” is unchecked. There appears to be a true problem with movies in the LC 6-7 series on Macintosh. It appears impossible to set a rel

Re: Bug in LC Page Setup Dialogue Box in LC 6.7.3 and 7.0.3 OSX

2015-03-24 Thread Terence Heaford
> On 24 Mar 2015, at 13:13, dunbarx wrote: > > I tried to make that option stick in several other apps, simply by using the > "page setup..." menuItem, and none do. I would say it is a bug, but not > particularly a LC bug. I agree, it may not be a LC bug but….. Went back to Pages again and th

Re: Bug in LC Page Setup Dialogue Box in LC 6.7.3 and 7.0.3 OSX

2015-03-24 Thread dunbarx
I tried to make that option stick in several other apps, simply by using the "page setup..." menuItem, and none do. I would say it is a bug, but not particularly a LC bug. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Bug-in-LC-Page-Setup-Dialogue

Bug in LC Page Setup Dialogue Box in LC 6.7.3 and 7.0.3 OSX

2015-03-24 Thread Terence Heaford
When you call on myPageSetup answer page setup as sheet if the result = "cancel" then exit myPageSetup end if end myPageSetup and select “Save As Default” from the “Settings” popup menu the selection does not stick and immediately reverts back to “Page Attributes”. Having chec

Re: API

2015-03-24 Thread Peter TB Brett
On 2015-03-23 20:41, Michael Doub wrote: I am still trying to figure out how the "bind to ... " works. Some where there has to be a linkage between this "bind" step and the OS level library, So at run time, the library is loaded into memory and the final address resolution takes place. This i

AW: xmlerr, can't parse xml, Extra content at the end of the document

2015-03-24 Thread Tiemo Hollmann TB
Hi Kee, yes, I once thought it would be easier to access the data, with creating "named" nodes, but you are right, obviously that wasn't a good idea and I will probably restructure my xml as you pointed it out. Thank you for bringing me back on track again Tiemo -Ursprüngliche Nachricht-