Re: Bug in LC Page Setup Dialogue Box in LC 6.7.3 and 7.0.3 OSX
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-Box-in-LC-6-7-3-and-7-0-3-OSX-tp4690542p4690543.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: Bug in LC Page Setup Dialogue Box in LC 6.7.3 and 7.0.3 OSX
On 24 Mar 2015, at 13:13, dunbarx dunb...@aol.com 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 this time it did not stick either but…. That may be something to do with LC as the Page Setup dialogue is a system wide dialogue and who knows if LC has done something that may corrupt it. Needs LC to pass comment really. All the best Terry ___ 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
Bug in LC Page Setup Dialogue Box in LC 6.7.3 and 7.0.3 OSX
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 checked the correct function of this in Apples Pages which does stick when selecting “Save As Default” I have concluded this is a Bug. All the best Terry ___ 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: Question re large project organization
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” pane that said “Copy referenced files”, and gave a location that didn’t sound too bad. Well, I did want to copy the files, so I checked it. But then some of the referenced text files disappeared into the “great beyond”. Finally, after spending a couple of hours preparing a test file for a bug report, and I couldn’t get the problem to re-occur, I found that the checkbox “Copy Referenced Files”, if unchecked, was the solution. File Paths: I assume I need to modify the file paths to various included stacks and data files to fit where the standalone builder puts them. This means getting the main stack file path, and creating new paths to locations like “Content/Resources/_MacOS/….” I remember something about the system taking care of file path changes between the dev environment and the standalone environment, but I haven’t made that work. Anyway, just venting. Best, Bill On Mar 24, 2015, at 11:13 AM, William Prothero proth...@earthednet.org wrote: Richard: The bug is Bug 15079 http://quality.runrev.com/show_bug.cgi?id=15079 Bill On Mar 24, 2015, at 10:49 AM, Richard Gaskin ambassa...@fourthworld.com 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 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 Message Box, then quitting, then re-launching and attempting to access the script prevents me from doing so, with the IDE noting that the stack is password-protected. If you file the report please note the number here so we can follow along. -- 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
outsmarted myself with menus?
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. THis is obviously easy and long solved; what am I missing? -- 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: Movie problems in LiveCode
Am 24.03.2015 um 22:21 schrieb Scott Rossi sc...@tactilemedia.com: 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 QTVR): http://ggnome.com/ http://ggnome.com/ I also can recommend Garden Gnome Software. For a project i needed to import a QuicktimeVR and convert it to HTMl5 to be used in an browser object in an Android app. GardenGnomes Object2VR solved this for me with ease. Regards, Matthias ___ 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
Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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 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 is incorrect, in that the menu should not be highlighted when the sheet window is displayed. Is their some other action I should take or is this indeed a bug as I suspect? All the best Terry ___ 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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 is incorrect, in that the menu should not be highlighted when the sheet window is displayed. I first noticed this in LiveCode, which isn't surprising given how much time I spend in it. But lately I've also noticed it in Firefox and other apps. 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 limited success): https://bugzilla.mozilla.org/show_bug.cgi?id=722676 -- 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
On 24 Mar 2015, at 15:48, Richard Gaskin ambassa...@fourthworld.com mailto:ambassa...@fourthworld.com 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 limited success): Perhaps LC should have a word with Apple then because it works OK in: 1. Pages 2. Preview 3. Numbers 4. Safari 5. Font Book 6. Keynote 7. Mail 8. Notes 9. Reminders 10. TextEdit I’ve stopped at 10. Do LC have any contacts at Apple they can speak to so they can be instructed how to code it? All the best Terry ___ 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: Movie problems in LiveCode
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 Foundation. If you look at the Release Notes for the latest versions of LiveCode it gets a mention on the section on Cocoa Support. On 24 Mar 2015, at 14:54, stgoldb...@aol.com stgoldb...@aol.com 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 appears impossible to set a relative movie path on the Macintosh in the LC 6-7 series, and thus in Macintosh builds for Windows, the player movies will not play. As mentioned, I could not even get a Quicktime VR to play on the LC 6-7 series on Macintosh (Windows works well). Can anyone get a Quicktime VR movie to play on Macintosh in the LC 6-7 series? Everything worked fine in LC 5.5.3 for Macintosh. Also, videoClips appears to be broken, as the videoClips property inspector will not set the loc of the movie. Does anyone have an idea of how high on the priorities list the movie problem is? I would think that a basic control like the Player ought to be working. Stephen Goldberg www.medmaster.net Date: Mon, 23 Mar 2015 12:02:06 -0500 From: J. Landman Gay jac...@hyperactivesw.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Movie problems in LiveCode Message-ID: 5510470e.30...@hyperactivesw.com Content-Type: text/plain; charset=utf-8; format=flowed Check the preferences setting in the Files and Memory pane. If you have set the preference to ”always use absolute file paths for images it may .apply to movies too. Jacqueline Landman Gay HyperActiveSoftware | http://www.hyperactivesw.com Date: Mon, 23 Mar 2015 07:09:53 -0400 From: stgoldb...@aol.com stgoldb...@aol.com To: use-livecode@lists.runrev.com Subject: Movie problems in LiveCode Message-ID: 14c465318d0-4bd7-1b...@webprd-m97.mail.aol.com Content-Type: text/plain; charset=utf-8 I confirm bug 14435 reported by Devin Asay regarding the current problem with creating movies on Macintosh using LiveCode versions in the LC6-7 series. This is a significant problem since it appears impossible at this point to create standalones on the Mac that will display player movies on Windows. This is because in the LC 6-7 versions for Mac (preliminary version 8, too) once a relative path is placed in the Property Inspector filename window of a movie player on Mac it immediately reverts to the absolute path on closing the Inspector. I could not assign a relative path by script either. This makes it impossible with LC 6-7 versions to create a standalone on a Macintosh for Windows that contains a functioning player movie, since there is no relative path in the player Property Inspector, and Windows therefore doesn?t recognize the movie. There an additional problem: The later Mac versions of LC apparently will not display a Quicktime VR movie on the Mac. Can anyone display a Quicktime VR movie in the Mac LC 6-7 series? I use a lot of movies, and therefore have stayed with Mac LC version 5.5.3, which works fine. Interestingly, these problems do not exist with LiveCode for Windows. The movie player in Windows (Vista) with LC 7.0 remembers the relative path. Also in the Windows version there is no difficulty in displaying a Quicktime VR movie. And yet another movie problem: Trying to change the loc of a movieClip in its Property Inspector does not work (for me) on Mac or Windows in Mac versions 5.5.3 or later or in Windows 7.0 (the only Windows version I have tested); the movieClip always appears in the same location on the screen regardless of where the loc is set in the movieClip inspector. There is thus a triple whammy regarding movies, involving Quicktime player movies, Quicktime VR movies, and videoClips. I hope these problems are corrected soon, as movies are an important feature of LiveCode, particularly for educators. Stephen Goldberg, President Medmaster Publishing Co. Professor Emeritus Univ of Miami Miller School of Medicine www.medmaster.net stgoldb...@aol.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 -- Phil Jimmieson p...@liverpool.ac.uk (UK) 0151 795 4236 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to
Re: Movie problems in LiveCode
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 appears impossible to set a relative movie path on the Macintosh in the LC 6-7 series, and thus in Macintosh builds for Windows, the player movies will not play. What is the value of the result immediately after your play command? It may also help to add a call to sysError there, e.g.: play tSomeFile if the result is not empty then answer the result ( sysError() ) end if My hunch is that the result will say something about the media being non-initializable, and sysError will return 2, for file not found. You could double-check that the default directory is correct at the moment that call is made, but it may be that the newer APIs simply don't allow partial file paths anymore, that the developer is expected to resolve those to full paths before calling the OS routines that play them. I don't know for sure, but I've always been wary of shipping things that rely on relative paths, since any other script can change the default directory out from under me at any time. 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)/MyApp/media/ pFile into tPath if there is not a file tPath then answer Media file missing: tPath exit to top end if play tPath end PlayMovie -- 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
Movie problems in LiveCode
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 relative movie path on the Macintosh in the LC 6-7 series, and thus in Macintosh builds for Windows, the player movies will not play. As mentioned, I could not even get a Quicktime VR to play on the LC 6-7 series on Macintosh (Windows works well). Can anyone get a Quicktime VR movie to play on Macintosh in the LC 6-7 series? Everything worked fine in LC 5.5.3 for Macintosh. Also, videoClips appears to be broken, as the videoClips property inspector will not set the loc of the movie. Does anyone have an idea of how high on the priorities list the movie problem is? I would think that a basic control like the Player ought to be working. Stephen Goldberg www.medmaster.net Date: Mon, 23 Mar 2015 12:02:06 -0500 From: J. Landman Gay jac...@hyperactivesw.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Movie problems in LiveCode Message-ID: 5510470e.30...@hyperactivesw.com Content-Type: text/plain; charset=utf-8; format=flowed Check the preferences setting in the Files and Memory pane. If you have set the preference to ”always use absolute file paths for images it may .apply to movies too. Jacqueline Landman Gay HyperActiveSoftware | http://www.hyperactivesw.com Date: Mon, 23 Mar 2015 07:09:53 -0400 From: stgoldb...@aol.com stgoldb...@aol.com To: use-livecode@lists.runrev.com Subject: Movie problems in LiveCode Message-ID: 14c465318d0-4bd7-1b...@webprd-m97.mail.aol.com Content-Type: text/plain; charset=utf-8 I confirm bug 14435 reported by Devin Asay regarding the current problem with creating movies on Macintosh using LiveCode versions in the LC6-7 series. This is a significant problem since it appears impossible at this point to create standalones on the Mac that will display player movies on Windows. This is because in the LC 6-7 versions for Mac (preliminary version 8, too) once a relative path is placed in the Property Inspector filename window of a movie player on Mac it immediately reverts to the absolute path on closing the Inspector. I could not assign a relative path by script either. This makes it impossible with LC 6-7 versions to create a standalone on a Macintosh for Windows that contains a functioning player movie, since there is no relative path in the player Property Inspector, and Windows therefore doesn?t recognize the movie. There an additional problem: The later Mac versions of LC apparently will not display a Quicktime VR movie on the Mac. Can anyone display a Quicktime VR movie in the Mac LC 6-7 series? I use a lot of movies, and therefore have stayed with Mac LC version 5.5.3, which works fine. Interestingly, these problems do not exist with LiveCode for Windows. The movie player in Windows (Vista) with LC 7.0 remembers the relative path. Also in the Windows version there is no difficulty in displaying a Quicktime VR movie. And yet another movie problem: Trying to change the loc of a movieClip in its Property Inspector does not work (for me) on Mac or Windows in Mac versions 5.5.3 or later or in Windows 7.0 (the only Windows version I have tested); the movieClip always appears in the same location on the screen regardless of where the loc is set in the movieClip inspector. There is thus a triple whammy regarding movies, involving Quicktime player movies, Quicktime VR movies, and videoClips. I hope these problems are corrected soon, as movies are an important feature of LiveCode, particularly for educators. Stephen Goldberg, President Medmaster Publishing Co. Professor Emeritus Univ of Miami Miller School of Medicine www.medmaster.net stgoldb...@aol.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: Question re large project organization
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 that I specified have not been password protected. I can open the source stack and compare it to one generated for the app, and they are the same (in a text editor) and still have the “.livecode” extension. Of course, the main “splash” stack has been encrypted, as expected. Is there some other setting I need to make, to enable this? When I create the standalone, only the “splash” stack is open, but …. I’m using LiveCode 7.0.3, commercial version on Mac Yosemite. Regards, Bill On Mar 23, 2015, at 11:17 PM, Phil Davis rev...@pdslabs.net mailto:rev...@pdslabs.net wrote: Hi Bill, In the IDE, the 'Stacks' panel of the 'Standalone Application Settings' window lets you include them as stacks in your standalone. You would of course do this in the settings for your splash app. As you add stacks to the list, you will see (bottom right) they can be password protected at build time. It makes life easier! That's what I usually do. Phil Davis ___ 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
One of our scripts is missing !...:-)
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 unable to scroll to the top of the script... Can someone please tell me where it might be hiding ?... and perhaps why it has decided to hide ?... and finally how to stop it hiding in the future ?..:-) LC 7.0.4 (rc 2), xCode 6.2, Yosemite 10.10.2 This is the second thing that is making me bad temered today... earlier I made two stacks, each consisted of one card and one button... nothing else... the first using LC 6.7.4 (rc 2) and second with LC 7.0.4 (rc 2)... I then made them into standalone applications for an iPhone... the first weighed in at 6.1 Mb, the second at 57.1 Mb... Why ? Dixie ___ 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: Question re large project organization
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 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: Question re large project organization
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 standalone after building them with the password option? If so, I would suggest filing a bug report on that. Also, I’m exploring the ramifications of this approach and considering whether the apple store will not accept my standalones built this way, for desktop. Many apps have binary object files stored outside of the executable. I can't imagine Apple wouldn't single out LiveCode for prohibition on this. The only prohibition I'm aware of is against any app that downloads executable code not present with the app bundle when reviewed. The concern there seems legitimate, and not at all specific to LiveCode: they just want to make sure they don't review an app that claims to do one thing and later find its downloading code to do something entirely different. It is my understanding that substacks can be separated from mainstacks, but you can’t put a stack back as a substack once it’s out. TRUE? Stacks can be moved in both directions: set a stack's mainstack to the name of some other stack and it becomes a substack of that other stack. -- 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: Question re large project organization
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 not accept my standalones built this way, for desktop. This structure seems a very nice way of adding to a project as I build capability. But, I’d hate to find myself in a situation where Apple only accepts substacks and then I have to rebuild things to get it in the store. It is my understanding that substacks can be separated from mainstacks, but you can’t put a stack back as a substack once it’s out. TRUE? I know this kind of issue has been discussed at length on this list, so sorry if I’m being repetitive. Best, Bill On Mar 24, 2015, at 8:18 AM, Richard Gaskin ambassa...@fourthworld.com wrote: 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 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: SQL lite adding records
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 BEGIN so you will need to use revExecuteSQL gConID,BEGIN right before the repeat statement. Within the repeat, don't forget to check if revExecuteSQL resulted in any errors by checking the result right after it - it will be a numeric value if all worked OK, otherwise an error message. If an error occurs, issue a revRollBackDatabase command and exit the repeat. That will return your database to a consistent state before any of your INSERTs happened. I'm a little confused by your INSERT statement. You name 4 columns in the table but only supply 2 values, maybe tLine has comma separated values in it? If so, you will need to enclose each value in single quotes if they are not numeric. Also, if recID is the primary key, no need to include it in the list of columns to be updated or supply a value for it, SQL will take care of that for you. Hope that helps, On Tue, Mar 24, 2015 at 5:04 PM JB sund...@pacifier.com wrote: 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 including the revCommitDatabase gConID statement it appears to be including them all. Is this the proper and fastest way to add records in a sql lite database or should I be using something else like a query to update instead? on fAddFiles set the itemDelimiter to tab put fld id 5246 of cd id 5187 into tList repeat for each line tLine in tList put INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null, tLine ) into sqTable revExecuteSQL gConID,sqTable revCommitDatabase gConID end repeat fRefresh gConIDClose end fAddFiles Any information or ideas are helpful. 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/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: SQL lite adding records
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 doch...@gmail.com wrote: On Tue, Mar 24, 2015 at 6:52 PM, Peter Haworth p...@lcsql.com 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 transactoin put BEGIN TRANSACTION; cr into dcmd repeat in some way or another put SOME COMMAND; cr after dcmd end repeat put END TRANSACTION; cr after dcmd revExecuteSQL -- 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: SQL lite adding records
On Tue, Mar 24, 2015 at 8:19 PM, JB sund...@pacifier.com 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 isn't local performance, but lag on each transaction; combining tehm makes my application possible. -- 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: outsmarted myself with menus?
Try one or more of focusedObject(), selectedField(), selectedChunk() Terry... On 25/03/2015 10:29 am, Dr. Hawkins doch...@gmail.com 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 can't find something like menuSource. THis is obviously easy and long solved; what am I missing? -- 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: Movie problems in LiveCode
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 Rossi sc...@tactilemedia.com wrote: Hi Stephen: As others have mentioned, QuickTime was deprecated by Apple a while back. See ³Deprecated Frameworks² on this page: https://developer.apple.com/library/mac/releasenotes/MacOSX/WhatsNewInOSX / Articles/MacOSX10_9.html In some simple tests, it looks like QuickTime Player 10 (on Mavericks) won¹t even open VR movies, but will hand them off to Player 7 if available. Doing a bit of searching, it seems some people have had success opening VR movies in VideoLan Player, but apparently without the interactivity (at least none occurs here). 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 QTVR): http://ggnome.com/ Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design ___ 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: SQL lite adding records
On Tue, Mar 24, 2015 at 6:52 PM, Peter Haworth p...@lcsql.com 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 transactoin put BEGIN TRANSACTION; cr into dcmd repeat in some way or another put SOME COMMAND; cr after dcmd end repeat put END TRANSACTION; cr after dcmd revExecuteSQL -- 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
SQL lite adding records
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 including the revCommitDatabase gConID statement it appears to be including them all. Is this the proper and fastest way to add records in a sql lite database or should I be using something else like a query to update instead? on fAddFiles set the itemDelimiter to tab put fld id 5246 of cd id 5187 into tList repeat for each line tLine in tList put INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null, tLine ) into sqTable revExecuteSQL gConID,sqTable revCommitDatabase gConID end repeat fRefresh gConIDClose end fAddFiles Any information or ideas are helpful. 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/mailman/listinfo/use-livecode
Re: SQL lite adding records
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 the BEGIN and it was missing a file. Your way will be a lot better and I will include the error checking too. I really do not know that much about using a database so if things look weird it is due to me not knowing what I am doing. I tried to go to your site and look at the stack you have for sql database administration but I got a 404 error. Does it include code to sort and find with SQL? If so I am interested. Thanks again! John Balgenorth On Mar 24, 2015, at 6:52 PM, Peter Haworth p...@lcsql.com wrote: 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 BEGIN so you will need to use revExecuteSQL gConID,BEGIN right before the repeat statement. Within the repeat, don't forget to check if revExecuteSQL resulted in any errors by checking the result right after it - it will be a numeric value if all worked OK, otherwise an error message. If an error occurs, issue a revRollBackDatabase command and exit the repeat. That will return your database to a consistent state before any of your INSERTs happened. I'm a little confused by your INSERT statement. You name 4 columns in the table but only supply 2 values, maybe tLine has comma separated values in it? If so, you will need to enclose each value in single quotes if they are not numeric. Also, if recID is the primary key, no need to include it in the list of columns to be updated or supply a value for it, SQL will take care of that for you. Hope that helps, On Tue, Mar 24, 2015 at 5:04 PM JB sund...@pacifier.com wrote: 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 including the revCommitDatabase gConID statement it appears to be including them all. Is this the proper and fastest way to add records in a sql lite database or should I be using something else like a query to update instead? on fAddFiles set the itemDelimiter to tab put fld id 5246 of cd id 5187 into tList repeat for each line tLine in tList put INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null, tLine ) into sqTable revExecuteSQL gConID,sqTable revCommitDatabase gConID end repeat fRefresh gConIDClose end fAddFiles Any information or ideas are helpful. 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/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: outsmarted myself with menus?
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 can't find something like menuSource. THis is obviously easy and long solved; what am I missing? I've never used behaviors in menus. The Edit menu is the easiest to script, the engine keeps track of everything for you. You only need a single word for each switch item to cover the basic stuff. Here's my standard Edit menu: on menuPick which switch which case Cut cut break case Copy copy break case Paste paste break case Undo undo break case select all if the selectedfield then select text of the selectedfield break end switch end menuPick This works with anything: text, images, objects, etc. -- 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
Re: Question re large project organization
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 was the checkbox on the “Copy Files” pane that said “Copy referenced files”, and gave a location that didn’t sound too bad. Well, I did want to copy the files, so I checked it. But then some of the referenced text files disappeared into the “great beyond”. That checkbox is explained as, Loops over all image and player objects in stacks and copies any files referenced in the fileName property of these objects into the standalone. Then automatically sets the fileName property to reference these files in the standalone using referenced file paths. I never use it, but it doesn't sound like it should affect other types of files. Even if it does copy stacks, the originals should still be where they were before. Copied files would be inside the app bundle on a Mac, or in a folder on other OSs. You can designate a folder name just under that checkbox, or let it used the default name Referenced Files. -- 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
Re: SQL lite adding records
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, JB sund...@pacifier.com wrote: 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 the BEGIN and it was missing a file. Your way will be a lot better and I will include the error checking too. I really do not know that much about using a database so if things look weird it is due to me not knowing what I am doing. I tried to go to your site and look at the stack you have for sql database administration but I got a 404 error. Does it include code to sort and find with SQL? If so I am interested. Thanks again! John Balgenorth On Mar 24, 2015, at 6:52 PM, Peter Haworth p...@lcsql.com wrote: 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 BEGIN so you will need to use revExecuteSQL gConID,BEGIN right before the repeat statement. Within the repeat, don't forget to check if revExecuteSQL resulted in any errors by checking the result right after it - it will be a numeric value if all worked OK, otherwise an error message. If an error occurs, issue a revRollBackDatabase command and exit the repeat. That will return your database to a consistent state before any of your INSERTs happened. I'm a little confused by your INSERT statement. You name 4 columns in the table but only supply 2 values, maybe tLine has comma separated values in it? If so, you will need to enclose each value in single quotes if they are not numeric. Also, if recID is the primary key, no need to include it in the list of columns to be updated or supply a value for it, SQL will take care of that for you. Hope that helps, On Tue, Mar 24, 2015 at 5:04 PM JB sund...@pacifier.com wrote: 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 including the revCommitDatabase gConID statement it appears to be including them all. Is this the proper and fastest way to add records in a sql lite database or should I be using something else like a query to update instead? on fAddFiles set the itemDelimiter to tab put fld id 5246 of cd id 5187 into tList repeat for each line tLine in tList put INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null, tLine ) into sqTable revExecuteSQL gConID,sqTable revCommitDatabase gConID end repeat fRefresh gConIDClose end fAddFiles Any information or ideas are helpful. 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/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: SQL lite adding records
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 doch...@gmail.com wrote: On Tue, Mar 24, 2015 at 8:19 PM, JB sund...@pacifier.com 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 isn't local performance, but lag on each transaction; combining tehm makes my application possible. -- 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
[OT] Problem with MySQL Insert
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 interpreting the incoming text as a date and converting it to my local offset from server time. In the Variable Watcher, before the revExecuteSQL, the pPeriod has the correct time period; e.g., 11:00-11:30 PM. In the database, Sequel Pro shows the period field with a value of 6:00-6:30 PM when Jacque in Minnesota posts the record at 11:00 PM Minnesota time, and 4:00-4:30 PM when I do it in California. I'm surprised that MySQL is doing this interpretation of a character string to a time value. How do I prevent that from happening? In Sequel Pro, I entered this command: INSERT INTO report (`shortdate`,`period`,`dsp_id`, `dsp_name`, `client_id`,`client_name`, `behavior_label`, `behavior_desc`, `observed`) VALUES (3/15/2014,12:30-1:00 PM,22,fred,22,lucy,jumping,high,1) and the period field correctly displayed 12:30-1:00 PM. Here's the LiveCode handler: on sendReport pShortDate,pPeriod,pDSPid,pDSPname,pClientID,pClientName,pRows getConnected ## establishes the database connection set the itemDel to tab put INSERT INTO report (`shortdate`,`period`,`dsp_id`, `dsp_name`, `client_id`,`client_name`, `behavior_label`, `behavior_desc`, `observed`) \ VALUES into tSQL repeat for each line thisRow in pRows put (' pShortDate ', ' pPeriod ', ' pDSPid ', ' pDSPname ', ' pClientID ', ' pClientName ', ' \ item 1 of thisRow ', ' item 2 of thisRow ', ' item 3 of thisRow '), after tSQL end repeat put ; into last char of tSQL revExecuteSQL gBTdbID,tSQL ... Any ideas how to do this? ___ 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: Question re large project organization
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 expect to be copied into the standalone. Bill On Mar 24, 2015, at 7:37 PM, J. Landman Gay jac...@hyperactivesw.com wrote: 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 was the checkbox on the “Copy Files” pane that said “Copy referenced files”, and gave a location that didn’t sound too bad. Well, I did want to copy the files, so I checked it. But then some of the referenced text files disappeared into the “great beyond”. That checkbox is explained as, Loops over all image and player objects in stacks and copies any files referenced in the fileName property of these objects into the standalone. Then automatically sets the fileName property to reference these files in the standalone using referenced file paths. I never use it, but it doesn't sound like it should affect other types of files. Even if it does copy stacks, the originals should still be where they were before. Copied files would be inside the app bundle on a Mac, or in a folder on other OSs. You can designate a folder name just under that checkbox, or let it used the default name Referenced Files. -- 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
Re: API
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 is more-or-less correct. I hope that someone will confirm/correct/ or otherwise educate. In LiveCode 8 DP 1: 1. Open the dictionary 2. Select the small Guides tab at the top of the window. 3. Select Extending LiveCode from the drop-down menu at the top left. 4. Select Specifications from the menu on the left. 5. Scroll down, and you'll eventually find a Foreign Handlers section. This section explains the current foreign function interface (FFI) available to LiveCode Builder developers. From a brief glance, the language reference manual in DP 1 is slightly out-of-date (for example, most of the type names are now TitleCase rather than lowercase). Please file bugs if you find any other ways that the documentation doesn't match the behaviour. Peter -- Dr Peter Brett LiveCode Engine Development 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: v8 and Widgets
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 and...@ctech.me 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 rotation demo on that clock was impressive. I've already started going through all of the .lcb files up on github. Previously, I wasn't getting my hopes up due to the lack of many details about its limitations, syntax, etc. After seeing today's webinar, I think this is exactly what defines next-generation livecode for me. Livecode builder compile directly to JS in the future? M-w! -- Regards, Andrew Kluthe and...@ctech.me ___ 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: Question re large project organization
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 Message Box, then quitting, then re-launching and attempting to access the script prevents me from doing so, with the IDE noting that the stack is password-protected. If you file the report please note the number here so we can follow along. -- 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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 consistent with the workarounds discussed in the Mozilla bug DB thread I'd posted to earlier. 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 IDE. Can anyone see a problem? I see no problem with your submitting a pull request on this. 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
On 24 Mar 2015, at 18:28, Richard Gaskin ambassa...@fourthworld.com 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 is the answer perhaps it is not for other reasons I am not aware of. Perhaps LC engineers and these other Apps engineers do not know how to correctly implement Apple’s API on this. Perhaps, perhaps, perhaps…. Perhaps a LC engineer could elaborate on why it happens in the first place and wether or not the timer solution is reliable. All the best Terry ___ 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: SQLite Problem
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 doch...@gmail.commailto:doch...@gmail.com wrote: I have found relying on revDatabaseColumnaNames() and revDatabaseTableNames() unreliable--tablenames so much so that I've written my own function twice for postgres, as livecode's misses tables sporadically. ___ 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: Question re large project organization
On March 24, 2015 10:31:38 AM CDT, William Prothero proth...@earthednet.org 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, so it isn't enough to just fill out the password field in that dialog. You need to select each stack individually and put its password in, then repeat that with the next stack in the list. This gives you the freedom to protect only some of the included stacks if you want. Did you assign passwords individually that way? -- 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
Re: Question re large project organization
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 ambassa...@fourthworld.com wrote: 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 standalone after building them with the password option? If so, I would suggest filing a bug report on that. Also, I’m exploring the ramifications of this approach and considering whether the apple store will not accept my standalones built this way, for desktop. Many apps have binary object files stored outside of the executable. I can't imagine Apple wouldn't single out LiveCode for prohibition on this. The only prohibition I'm aware of is against any app that downloads executable code not present with the app bundle when reviewed. The concern there seems legitimate, and not at all specific to LiveCode: they just want to make sure they don't review an app that claims to do one thing and later find its downloading code to do something entirely different. It is my understanding that substacks can be separated from mainstacks, but you can’t put a stack back as a substack once it’s out. TRUE? Stacks can be moved in both directions: set a stack's mainstack to the name of some other stack and it becomes a substack of that other stack. -- 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: [Semi-OT] Execute Javascript for Acrobat
Thanks Ralph. Bob S On Mar 13, 2015, at 14:07 , Ralph DiMola rdim...@evergreeninfo.net 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 not revisited it since. I will look for the VBS we were working on and see if I can get it to work. When I find it I will send it to you and see if you can get any further. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Friday, March 13, 2015 4:36 PM To: How to use LiveCode Subject: Re: [Semi-OT] Execute Javascript for Acrobat As it turns out, there is no way in Windows to send commands to Adobe Acrobat, telling it to run a Javascript. And while there are tools for development systems like Java and C++ to do so, there is no shell method to do so. So apparently I will be stuck creating FDF files for the Windows environment. It would have been nice if Livecode had a way to directly communicate Javascript to other applications using the methods available, as it can with Applescript, but now that the widget architecture is on the way, perhaps someone will develop one. Bob S On Mar 4, 2015, at 08:56 , Bob Sneidar bobsnei...@iotecdigital.com wrote: Hi all. I know there are people on the list who know if this can even be done, and if so, how to do it. Presently to have a PDF fillable form open and auto-fill with data, I must first set the PDF form up to import an FDF file upon opening, and secondly I must create an FDF file for it to import, populated with the values I want. All this I have working, but I have developed a method for doing this directly from within my LC app without resorting to FDF files, but *only* for the Mac. I want to also develop a method for use in Windows. But since Windows has no built in equivalent to Inter-Application Communications (IAC otherwise known as Applescript) I am wondering if there is a way to do this via a shell command. I can execute Javascript alright by using wscript.exe, but how to get the message to Acrobat or Reader? Bob S ___ 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: XML Tutorial
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 miked...@gmail.commailto:miked...@gmail.com wrote: These were contributed by Trever Devore. Many thanks! ___ 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: Speaking of modals...
Ooohh… Bob S On Mar 20, 2015, at 14:29 , Peter Haworth p...@lcsql.commailto: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 easily go through whatever functions the stack performs and find any problems. ___ 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: No tools on Tools Palette (was Re: Release: LiveCode 8.0.0 DP 1)
Right. Exactly. :-) Bob S On Mar 12, 2015, at 20:12 , James Hale ja...@thehales.id.aumailto: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 you have to wait for the next digest. 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: Question re large project organization
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 jac...@hyperactivesw.com wrote: On March 24, 2015 10:31:38 AM CDT, William Prothero proth...@earthednet.org 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, so it isn't enough to just fill out the password field in that dialog. You need to select each stack individually and put its password in, then repeat that with the next stack in the list. This gives you the freedom to protect only some of the included stacks if you want. Did you assign passwords individually that way? -- 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
Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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 bug DB post I provided a link to. While I was looking for that it didn't take me long to find several examples of users experiencing this with Apple status icons, mostly audio but sometimes Bluetooth. I've seen this myself with one of Apple's Finder menus, at least twice. Perhaps LC engineers and these other Apps engineers do not know how to correctly implement Apple’s API on this. Perhaps, but there's a fair number of them, including Xojo, Mozilla, 4D, Qt, and others who've run into this as well. Perhaps OS X is the only software of its scope to be bug-free, and everyone else is just incompetent. Perhaps, perhaps, perhaps... Perhaps a LC engineer could elaborate on why it happens in the first place and wether or not the timer solution is reliable. 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. -- 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
On 24 Mar 2015, at 18:56, Richard Gaskin ambassa...@fourthworld.com 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 convinced they are talking about the same subject. ___ 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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 31/01/2012. I am not convinced they are talking about the same subject. FWIW the OS version I've seen this on with LiveCode, FireFox, Finder, and others is Lion, which predates that report. I look forward to hearing what you find. -- 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: Movie problems in LiveCode
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)/MyApp/media/ pFile into tPath if there is not a file tPath then answer Media file missing: tPath exit to top end if play tPath end PlayMovie That's exactly what I do too, I've never trusted relative paths. I use this method for all file types, not just movies, but I turn it into a function so I can call it for any kind of file: function pathToFile pName put specialFolderPath(documents)/MyApp/media/ pName into tPath return tPath end pathToFile This works great and is portable everywhere. If there are several folders involved, I use a switch statement inside the function, or else pass the folder and file names both in the parameters. -- 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
Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
On 24 Mar 2015, at 18:39, Terence Heaford t.heaf...@icloud.com 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 in 100 milliseconds --myPageSetup break If I uncomment myPageSetup it actually crashes LC, so if you intend to run something else you could end up in difficulty. So, it is likely a bug or poor implementation in the LC Code. All the best Terry ___ 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: v8 and Widgets
On Mar 24, 2015, at 10:16 AM, Bob Sneidar bobsnei...@iotecdigital.com 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 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
On 24 Mar 2015, at 19:25, Richard Gaskin ambassa...@fourthworld.com 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 (this last option would be disappointing) I raised a valid point and I am still no clearer as to whether LC will/can sort it. All the best Terry ___ 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: [OT] Pixar's Renderman
It changed with 5. Now there is no royalty payment at all. Also, for console games you don’t have to pay Unity, if you have a deal with the console maker, that’s good enough. On Mar 24, 2015, at 2:06 AM, Lynn Fredricks lfredri...@proactive-intl.com wrote: I am not sure about 5, but previous versions of Unity you needed to pay a fairly steep fee to distribute mobile games. ___ 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: Question re large project organization
Hi Bill, In the IDE, the 'Stacks' panel of the 'Standalone Application Settings' window lets you include them as stacks in your standalone. You would of course do this in the settings for your splash app. As you add stacks to the list, you will see (bottom right) they can be password protected at build time. It makes life easier! That's what I usually do. Phil Davis On 3/23/15 5:32 PM, William Prothero wrote: I have a bunch of stacks that make up a larger application that I’m setting up to be easily expandable. There is a splash stack that loads an index stack, which then loads various other stacks as needed. When I make the standalone, it only encrypts the splash stack. The other stacks are in raw livecode unprotected format. Do I have to encrypt each of these separately? This is starting to look very cumbersome. Any advice would be appreciated. Best, 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://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis ___ 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: [OT] Pixar's Renderman
Yes, Unreal is free, but you owe them 5% of your royalties if you make over $3k. Unity 5 is free if you make less than $100k. Unity really kicked this off; I think Unreal's license is probably the least complex, but most of the other companies who are doing this sort of thing have some kind of limitation that will motivate you to buying a paid for commercial version. I am not sure about 5, but previous versions of Unity you needed to pay a fairly steep fee to distribute mobile games. We've been giving away free versions of Valentina Studio, and (limited license) free versions of Valentina Server for quite some time now. It is a very effective strategy as long as you have a way to get people to want to give you money for something more. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
On 24 Mar 2015, at 20:03, J. Landman Gay jac...@hyperactivesw.com 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 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 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 is incorrect, in that the menu should not be highlighted when the sheet window is displayed. Is their some other action I should take or is this indeed a bug as I suspect?” — 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. What I was hoping for was for someone in the know to say something along the lines of: 1. Yes, seen that, been raised before and there is nothing LC can do about it, don’t file a bug report. 2. Yes, seen that, been raised before and we are waiting for LC, don’t file a bug report. 2. Not seen it before suggest this….. 3. Not seen it, suggest you raise a bug report 4. Here is a workaround while we wait for LC 5. Here is a workaround as LC can’t do anything Anyway after all the talk…. Posted a bug report to lengthen the list. Bug 15081 http://quality.runrev.com/show_bug.cgi?id=15081 and... Despite my mentioning XOJO I can honestly say that although the OS X interface of LC is not as refined as XOJO I do prefer working in LC and I don’t want a debate about the interface differences between the two. All the best Terry Heaford ___ 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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 will/can sort it. You've found that this issue affects Xojo as well, and I've found that it affects many other apps as well. If you believe this may be something LiveCode may be able to work around have you considered filing a bug report? Please let us know the report number if you do. -- 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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, the LC team is just a faceless group, but I've met them and talked to them and have a long association with some of them. If you had the same experience, you'd know that these engineers are some of the brightest and most talented people in the industry. LC has a careful and exacting hiring process that ensures only the top candidates get in; it's hard to get a job at LC, you have to be really good. The people writing the LC engine are some of the most capable programmers anywhere. I could tell you stories. Bugs are normal in software development, but that doesn't mean the engineers don't know what they're doing. I hope you will attend one of the conferences some time and see for yourself how dedicated and knowledgeable these people are. Your perceptions will change. -- 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
Re: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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 IDE. Can anyone see a problem? All the best Terry On 24 Mar 2015, at 16:06, Terence Heaford t.heaf...@icloud.com wrote: On 24 Mar 2015, at 15:48, Richard Gaskin ambassa...@fourthworld.com mailto:ambassa...@fourthworld.com 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 limited success): Perhaps LC should have a word with Apple then because it works OK in: 1. Pages 2. Preview 3. Numbers 4. Safari 5. Font Book 6. Keynote 7. Mail 8. Notes 9. Reminders 10. TextEdit I’ve stopped at 10. Do LC have any contacts at Apple they can speak to so they can be instructed how to code it? All the best Terry ___ 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: Question re large project organization
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://lists.runrev.com/mailman/listinfo/use-livecode
Re: Question re large project organization
Richard: The bug is Bug 15079 http://quality.runrev.com/show_bug.cgi?id=15079 Bill On Mar 24, 2015, at 10:49 AM, Richard Gaskin ambassa...@fourthworld.com 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 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 Message Box, then quitting, then re-launching and attempting to access the script prevents me from doing so, with the IDE noting that the stack is password-protected. If you file the report please note the number here so we can follow along. -- 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
AW: xmlerr, can't parse xml, Extra content at the end of the document
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- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von kee nethery Gesendet: Montag, 23. März 2015 22:30 An: How to use LiveCode Betreff: Re: xmlerr, can't parse xml, Extra content at the end of the document Are you confusing data with labels? kee Normally youd do something like this where the data is not part of the labels (the indents are just for readability): ?xml version=1.0 encoding=UTF-8? myLiveCodeXml user id=2 usernameTiemo Hollmann/username emailtoolb...@kestner.de/email /user user id=6 usernameKee Nethery/username emailk...@ieee.org/email /user /myLiveCodeXml On Mar 23, 2015, at 3:11 AM, Tiemo Hollmann TB toolb...@kestner.de wrote: Hello, I am using since some time successfully XML files with LC 6.5.2. Now I wanted to allow the user to enter spaces in their names like Tiemo Hollmann, which I am using as tag names in my xml file. Because spaces are not allowed characters in XML tag name I replace the spaces by $ before creating and saving the xml file and vice versa after reading the xml file. When trying to read such a xml file I get the error: xmlerr, can't parse xml, Extra content at the end of the document though $ is a valid character for tag names in the xml spec. I tried the same with other chars like § or % with the same error. The xml file looks like this: ?xml version=1.0 encoding=UTF-8? My$Name ... /My$Name The LC line is: put revXMLCreateTreeFromFile(tXMLFile,true,true,true) into tID When deleting the $ signs from the tag names, I can import the file without error. I also tried it without encoding=UTF-8, but with the same error. There is no trailing char after the last tag name. Any idea what I am doing wrong? Thanks Tiemo ___ 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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 to are the most detailed explanation I've found that fits the symptoms. Thanks for filing the bug report. I've added the Mozilla link. -- 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: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X?
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 | 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
Re: Movie problems in LiveCode
Hi Stephen: As others have mentioned, QuickTime was deprecated by Apple a while back. See ³Deprecated Frameworks² on this page: https://developer.apple.com/library/mac/releasenotes/MacOSX/WhatsNewInOSX/ Articles/MacOSX10_9.html In some simple tests, it looks like QuickTime Player 10 (on Mavericks) won¹t even open VR movies, but will hand them off to Player 7 if available. Doing a bit of searching, it seems some people have had success opening VR movies in VideoLan Player, but apparently without the interactivity (at least none occurs here). 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 QTVR): http://ggnome.com/ Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/24/15, 7:54 AM, stgoldb...@aol.com stgoldb...@aol.com 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 appears impossible to set a relative movie path on the Macintosh in the LC 6-7 series, and thus in Macintosh builds for Windows, the player movies will not play. As mentioned, I could not even get a Quicktime VR to play on the LC 6-7 series on Macintosh (Windows works well). Can anyone get a Quicktime VR movie to play on Macintosh in the LC 6-7 series? Everything worked fine in LC 5.5.3 for Macintosh. Also, videoClips appears to be broken, as the videoClips property inspector will not set the loc of the movie. Does anyone have an idea of how high on the priorities list the movie problem is? I would think that a basic control like the Player ought to be working. Stephen Goldberg www.medmaster.net Date: Mon, 23 Mar 2015 12:02:06 -0500 From: J. Landman Gay jac...@hyperactivesw.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Movie problems in LiveCode Message-ID: 5510470e.30...@hyperactivesw.com Content-Type: text/plain; charset=utf-8; format=flowed Check the preferences setting in the Files and Memory pane. If you have set the preference to ²always use absolute file paths for images it may .apply to movies too. Jacqueline Landman Gay HyperActiveSoftware | http://www.hyperactivesw.com Date: Mon, 23 Mar 2015 07:09:53 -0400 From: stgoldb...@aol.com stgoldb...@aol.com To: use-livecode@lists.runrev.com Subject: Movie problems in LiveCode Message-ID: 14c465318d0-4bd7-1b...@webprd-m97.mail.aol.com Content-Type: text/plain; charset=utf-8 I confirm bug 14435 reported by Devin Asay regarding the current problem with creating movies on Macintosh using LiveCode versions in the LC6-7 series. This is a significant problem since it appears impossible at this point to create standalones on the Mac that will display player movies on Windows. This is because in the LC 6-7 versions for Mac (preliminary version 8, too) once a relative path is placed in the Property Inspector filename window of a movie player on Mac it immediately reverts to the absolute path on closing the Inspector. I could not assign a relative path by script either. This makes it impossible with LC 6-7 versions to create a standalone on a Macintosh for Windows that contains a functioning player movie, since there is no relative path in the player Property Inspector, and Windows therefore doesn?t recognize the movie. There an additional problem: The later Mac versions of LC apparently will not display a Quicktime VR movie on the Mac. Can anyone display a Quicktime VR movie in the Mac LC 6-7 series? I use a lot of movies, and therefore have stayed with Mac LC version 5.5.3, which works fine. Interestingly, these problems do not exist with LiveCode for Windows. The movie player in Windows (Vista) with LC 7.0 remembers the relative path. Also in the Windows version there is no difficulty in displaying a Quicktime VR movie. And yet another movie problem: Trying to change the loc of a movieClip in its Property Inspector does not work (for me) on Mac or Windows in Mac versions 5.5.3 or later or in Windows 7.0 (the only Windows version I have tested); the movieClip always appears in the same location on the screen regardless of where the loc is set in the movieClip inspector. There is thus a triple whammy regarding movies, involving Quicktime player movies, Quicktime VR movies, and videoClips. I hope these problems are corrected soon, as movies are an important feature of LiveCode, particularly for educators. Stephen Goldberg, President Medmaster Publishing Co. Professor Emeritus Univ of Miami Miller School of Medicine www.medmaster.net stgoldb...@aol.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and