Re: ios8
I should also mention that I'm running OS X 10.9.4. g On 11 Sep 2014, at 1:13 pm, Gerry gerry.or...@gmail.com wrote: I just installed the GM release on my iPhone 5. I can install my LC 6.2.2-compiled apps using Xcode 5.1.1. And they run fine (so far). g On 10 Sep 2014, at 4:48 am, Colin Holgate co...@verizon.net wrote: I used Xcode 6 to get the app onto my iPad. ___ 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
copying files in Windows 8
I have a little program where I copy some files from one folder to another with revCopyFile myFile,myFolder and also delete myFile The compiled program works fine on XP and Windows 7, but I get strange behavior on Windows 8. Is that perhaps because Windows 8 uses some different type of folder and file management? I am completely mystified. Thanks for any insights... Larry ___ 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: copying files in Windows 8
Hi Larry, Up to now, I didn't experienced a difference between W7 and W8 related to the file system. Could you specify, what strange behavior you experience? Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von la...@significantplanet.org Gesendet: Donnerstag, 11. September 2014 09:23 An: use-livecode@lists.runrev.com Betreff: copying files in Windows 8 I have a little program where I copy some files from one folder to another with revCopyFile myFile,myFolder and also delete myFile The compiled program works fine on XP and Windows 7, but I get strange behavior on Windows 8. Is that perhaps because Windows 8 uses some different type of folder and file management? I am completely mystified. Thanks for any insights... Larry ___ 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
dBLib
Thought I’d give this plugin a try: convert tStartDate from short system date to seconds convert tEndDate from short system date to seconds dbResetQuery dbWhere category, pItemName dbWhere date =, tStartDate dbWhere date =, tEndDate dbOrderBy “date put dbGet(sq(tTableName)) into tTranData tStartDate and tEndDate are in seconds. The SQL generated is SELECT * FROM ‘my table' WHERE category = :1 AND date = :3 ORDER BY date Why is it not including tStartDate? Can anyone help? Thanks 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: dBLib
May have found the answer in the following handler in dbLib. I have commented out an “if” test that seems to overwrite the contents of the column dbWhere when you try and add another condition. Why the author did this, I am not sure, would anyone care to hazard a guess? Thanks Terry command dbWhere pColumn, pValue, pConcatenationOperator if the number of words in pColumn 1 then put word 2 of pColumn into tOperator put word 1 of pColumn into pColumn else put = into tOperator end if if pValue is null then put IS into tOperator put NULL into pValue end if if pValue is not null then put IS NOT into tOperator put NULL into pValue end if if pConcatenationOperator is empty then put AND into pConcatenationOperator end if --if dbA[where columns][pColumn] is empty then if dbA[where] is empty then put WHERE pColumn tOperator placeholder(pValue) before dbA[where] else putpConcatenationOperator pColumn tOperator placeholder(pValue) after dbA[where] end if --else --replace dbA[where columns][pColumn] with (pColumn tOperator placeholder(pValue)) in dbA[where] --end if set the itemdel to space put item -3 to -1 of dbA[where] into dbA[where columns][pColumn] end dbWhere On 11 Sep 2014, at 10:03, Terence Heaford t.heaf...@btinternet.com wrote: Thought I’d give this plugin a try: convert tStartDate from short system date to seconds convert tEndDate from short system date to seconds dbResetQuery dbWhere category, pItemName dbWhere date =, tStartDate dbWhere date =, tEndDate dbOrderBy “date put dbGet(sq(tTableName)) into tTranData tStartDate and tEndDate are in seconds. The SQL generated is SELECT * FROM ‘my table' WHERE category = :1 AND date = :3 ORDER BY date Why is it not including tStartDate? Can anyone help? Thanks 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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?
Peter, code colorization (as well as code completion) is implemented solely for server related parts of the language because the bundle is meant to be used for working with LiveCode server files. So, if you add ?lc or ?rev or ?livecode at the top of your code, colorization should work (with restrictions as mentioned above). Ralf On 11.09.2014, at 01:53, Peter Haworth p...@lcsql.com wrote: I created a simple text file with a .rev extension, then cut and pasted a script into it from LC. Saved the file, then opened it with TextMate. I can tell it's recognized as an LC script because things like com-tab, func-tab,repeat-tab do what they're supposed to do. Also the collapse/expansion of code blocks works fine. But still no colorization. Maybe there's more work involved to get it working with the desktop. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ 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: RELEASE: LiveCode 6.6.3
On 11/09/2014 11:04 am, Alex Shaw a...@harryscollar.com wrote: Hi Works but I still had to apply the manual patch below to sign the app before submission. http://forums.livecode.com/viewtopic.php?f=7t=21333p=109203hilit=profil e#p109200 I've uploaded new installers for OSX Community and Commercial for 6.6.3 that include the fixed standalone builder. If you are encountering the error with provisioning profiles, please re-download and re-install 6.6.3. Regards, Fraser ___ 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: OS X codesigning best practise?
FYI to answer my own questions: 1. the --deep option in codesign seems to be not valid anymore since Mavericks, so if you are using apples codesign tool, you really have to codesign each single component from inside to outside step by step. 2. Yes App Wrapper does it in one step, I will go on with App Wrapper, it's super easy. 3. I have asked Runrev and it is ok with them, if I codesign runrevs bundles included in my app. Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB Gesendet: Mittwoch, 10. September 2014 18:21 An: 'How to use LiveCode' Betreff: OT: OS X codesigning best practise? Hello, I am just trying the first time to codesign my app on OS X 10.9, the certificate I bought already. When using the command line codesign utility, it seems that I have to codesign each .bundle and .app, which is included in my app first, before I can codesign my app itself. 1. Is this correct to do all codesignings as single steps, or is there an option to codesign a complete package with all included components in one step? 2. Do codesigning tools like app wrapper do this job in one step, or do I also have to sign all components myself? 3. What about the owners rights? E.g.if my app contains the revxml.bundle or another third party external and I would codesign this rev bundle with my certificate, may I do this? If not, what is the alternative? Thanks for your experience 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
Re: OS X codesigning best practise?
Tiemo, if you have some time, would you describe step by step how this is done with AppWrapper? That would be very helpful. Regards, Matthias Am 11.09.2014 um 13:29 schrieb Tiemo Hollmann TB toolb...@kestner.de: FYI to answer my own questions: 1. the --deep option in codesign seems to be not valid anymore since Mavericks, so if you are using apples codesign tool, you really have to codesign each single component from inside to outside step by step. 2. Yes App Wrapper does it in one step, I will go on with App Wrapper, it's super easy. 3. I have asked Runrev and it is ok with them, if I codesign runrevs bundles included in my app. Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB Gesendet: Mittwoch, 10. September 2014 18:21 An: 'How to use LiveCode' Betreff: OT: OS X codesigning best practise? Hello, I am just trying the first time to codesign my app on OS X 10.9, the certificate I bought already. When using the command line codesign utility, it seems that I have to codesign each .bundle and .app, which is included in my app first, before I can codesign my app itself. 1. Is this correct to do all codesignings as single steps, or is there an option to codesign a complete package with all included components in one step? 2. Do codesigning tools like app wrapper do this job in one step, or do I also have to sign all components myself? 3. What about the owners rights? E.g.if my app contains the revxml.bundle or another third party external and I would codesign this rev bundle with my certificate, may I do this? If not, what is the alternative? Thanks for your experience 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: RELEASE: LiveCode 6.6.3
The documentation for 6.6.3 states that it will work on Mac OS 10.5.8 PPC: but when I open the DMG file I am presented with an INTEL-only installer. Please, either: Rectify this, or Correct your documentation. Richmond. ___ 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: RELEASE: LiveCode 6.6.3
On 11 Sep 2014, at 14:21, Richmond richmondmathew...@gmail.com wrote: The documentation for 6.6.3 states that it will work on Mac OS 10.5.8 PPC: but when I open the DMG file I am presented with an INTEL-only installer. Please, either: Rectify this, Re-built the installers again and re-uploaded. There's no difference between 6.6.2 and 6.6.3 for PowerPC though - only a fix for iOS app submission and the Xcode for PPC is too old for that. Thanks for letting us know though - we no longer have any working PowerPC machines to test on. Regards, Fraser ___ 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: RELEASE: LiveCode 6.6.3
Hi, MacOSX, LC 6.6.2 Menu Help - Check for Updates There is no update Is this just me? Thierry PS: I know I can go to runrev site and download it. ___ 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: RELEASE: LiveCode 6.6.3
Thierry Douez wrote Is this just me? Nope same here - 6.6.3 is maybe too similar to 6.6.2 to trigger whatever-it-needs-to-be-triggered-in-the-update-engine - Some are born coders, some achieve coding, and some have coding thrust upon them. - William Shakespeare Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-3-tp4683105p4683132.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: RELEASE: LiveCode 6.6.3
Fraser, Windows version of 6.6.3 shows 6.6.2 in the title and the About shows as 6.6.2 Build 4012(same as 6.6.2). I know that the update did not affect the Windows build. Just an FYI. Thanks again for the prompt fix for iOS builds!! 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 Fraser Gordon Sent: Thursday, September 11, 2014 10:13 AM To: How to use LiveCode Subject: Re: RELEASE: LiveCode 6.6.3 On 11 Sep 2014, at 14:21, Richmond richmondmathew...@gmail.com wrote: The documentation for 6.6.3 states that it will work on Mac OS 10.5.8 PPC: but when I open the DMG file I am presented with an INTEL-only installer. Please, either: Rectify this, Re-built the installers again and re-uploaded. There's no difference between 6.6.2 and 6.6.3 for PowerPC though - only a fix for iOS app submission and the Xcode for PPC is too old for that. Thanks for letting us know though - we no longer have any working PowerPC machines to test on. Regards, Fraser ___ 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: RELEASE: LiveCode 6.6.3
On 11 Sep 2014, at 16:05, Ralph DiMola rdim...@evergreeninfo.net wrote: Fraser, Windows version of 6.6.3 shows 6.6.2 in the title and the About shows as 6.6.2 Build 4012(same as 6.6.2). I know that the update did not affect the Windows build. Just an FYI. Thanks again for the prompt fix for iOS builds!! Yes, we noticed that too. It is only the version number that is wrong - the engine is built from the 6.6.3 sources (as you noted, not that there were any changes for Windows). Given the urgency of the fix for iOS building, we decided to just put up with it (out build process is quite complicated and Windows builds take quite a while to run). I'll prod the appropriate people to look at the auto-updater issue - I know nothing about the server-side stuff myself. Regards, Fraser ___ 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: RELEASE: LiveCode 6.6.3
Hi Thierry, I had the same problem, so I downloaded it from the email link that was provided. Cheers, Rick On Sep 11, 2014, at 10:30 AM, Thierry Douez th.do...@gmail.com wrote: Hi, MacOSX, LC 6.6.2 Menu Help - Check for Updates There is no update Is this just me? Thierry PS: I know I can go to runrev site and download it. ___ 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: RELEASE: LiveCode 6.6.3
I had the same problem, so I downloaded it from the email link that was provided. Thanks Rick, Just wanted to point out the confusing Check for Updates menu. Regards, Thierry MacOSX, LC 6.6.2 Menu Help - Check for Updates There is no update Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage ___ 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: RELEASE: LiveCode 6.6.3
On 11/09/14 16:21, Richmond wrote: The documentation for 6.6.3 states that it will work on Mac OS 10.5.8 PPC: but when I open the DMG file I am presented with an INTEL-only installer. Please, either: Rectify this, or Correct your documentation. Richmond. -- So, trying the stable versions of 6.1.3 through 6.6.2 on a G5 (PPC) Mac running 10.5.8: 6.1.3: works, but iconless in dock. 6.5.0: works, but iconless in dock. 6.5.2: works, but iconless in dock. 6.6.1: installer doesn't work. 6.6.2: installer doesn't work. Um! Richmond. ___ 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: RELEASE: LiveCode 6.6.3
On 11/09/14 17:13, Fraser Gordon wrote: On 11 Sep 2014, at 14:21, Richmond richmondmathew...@gmail.com wrote: The documentation for 6.6.3 states that it will work on Mac OS 10.5.8 PPC: but when I open the DMG file I am presented with an INTEL-only installer. Please, either: Rectify this, Re-built the installers again and re-uploaded. There's no difference between 6.6.2 and 6.6.3 for PowerPC though - only a fix for iOS app submission and the Xcode for PPC is too old for that. Thanks for letting us know though - we no longer have any working PowerPC machines to test on. Tut, tut :) Regards, Fraser ___ 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: Can LC application receive a shell command with parameters?
Bill, I think that you are going to have to use sockets to communicate between processes. I would suggest the following: 1) Allow your main app to accept an incoming socket requests. 2) write a small command line app that accepts the input from the command line, then sends that data to your main app via a socket. 3) Who ever is using the shell, calls the cmd line app in 1) with your data. Check out: http://lessons.runrev.com/m/4071/l/12924-how-to-communicate-with-other-applications-using-sockets http://revolution.byu.edu/internet/IntroToSockets.php Hope this helps. Mike On Sep 11, 2014, at 1:23 AM, Bill Vlahos bvla...@mac.com wrote: Mike, I’m not sure. I want to have a running application and then periodically a different application on the computer might send my app a text string. Scenario A different application sends the command pathtomyapp 555-555-. My application would have some way of receiving the command and then call a handler in my app to do a search.. I don’t see what my handler would look like in my app. Thanks, Bill Vlahos On Sep 10, 2014, at 10:57 AM, Michael Doub miked...@gmail.com wrote: Look up $ in the dictionary. You can get access to all of the environment variables for command line apps. Is that what you are looking for? -= Mike On Sep 10, 2014, at 1:24 PM, Bill Vlahos bvla...@mac.com wrote: I want to have a different program pass a parameter (in this case a callerID phone number) to my LC application via a shell command to do a search in and bring up a person’s record. How can I receive it and handle it? Thanks, Bill Vlahos ___ 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
AW: OS X codesigning best practise?
Hi Matthias, with App Wrapper it's really easy: 1. Buy a developer codesigning certificate at Apple 2. Start App Wrapper 3. Drag an unsigned app onto App Wrapper 4. Go to TAB Package 5. Check the Codesign checkbox 6. Choose your developer certificate 7. Don't choose any of the options below 8. Choose Wrap to folder and click Wrap at topright Beside the codesigning it makes some more validation and finishing tasks, which seems to be fine and don't bother me. In my case it also removed the PPC code from my app and from ALL apps and bundles inside my app. I don't know, if you can control that, I didn't needed the PPC code anymore. Thats all Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Matthias Rebbe | M-R-D Gesendet: Donnerstag, 11. September 2014 13:49 An: How to use LiveCode Betreff: Re: OS X codesigning best practise? Tiemo, if you have some time, would you describe step by step how this is done with AppWrapper? That would be very helpful. Regards, Matthias Am 11.09.2014 um 13:29 schrieb Tiemo Hollmann TB toolb...@kestner.de: FYI to answer my own questions: 1. the --deep option in codesign seems to be not valid anymore since Mavericks, so if you are using apples codesign tool, you really have to codesign each single component from inside to outside step by step. 2. Yes App Wrapper does it in one step, I will go on with App Wrapper, it's super easy. 3. I have asked Runrev and it is ok with them, if I codesign runrevs bundles included in my app. Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB Gesendet: Mittwoch, 10. September 2014 18:21 An: 'How to use LiveCode' Betreff: OT: OS X codesigning best practise? Hello, I am just trying the first time to codesign my app on OS X 10.9, the certificate I bought already. When using the command line codesign utility, it seems that I have to codesign each .bundle and .app, which is included in my app first, before I can codesign my app itself. 1. Is this correct to do all codesignings as single steps, or is there an option to codesign a complete package with all included components in one step? 2. Do codesigning tools like app wrapper do this job in one step, or do I also have to sign all components myself? 3. What about the owners rights? E.g.if my app contains the revxml.bundle or another third party external and I would codesign this rev bundle with my certificate, may I do this? If not, what is the alternative? Thanks for your experience 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 ___ 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: Slowdown when putting symbols into image data
So… I guess I should stop waiting for a phone call about my job application… Bob S On Sep 10, 2014, at 16:20 , Scott Rossi sc...@tactilemedia.commailto:sc...@tactilemedia.com wrote: Kevin mentioned that in all this time they've only had one person leave, which is a huge departure from the norm of this industry. They seem like a big family. Regards, Scott Rossi ___ 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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?
Thanks Ralph, that got it working. It also recognizes ?lc within a comment which is great because I can now include that in a script without it causing compile issues in the IDE I'm very interested in using TextMate for editing IDE scripts but it seems like it will be hard to make it happen without a lot of manual intervention because of the scripts not being in a separate text file like the server scripts. It would be pretty easy to implement a way to write a selected script into a temporary text file with the correct extension, and the Textmate docs show how to run it with a command line argument to open a file. Finding a mechanism to get the Textmate file back into the script editor seems more challenging. Maybe OSX folder actions and an Apple Script might be able to signal a plugin somehow. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Thu, Sep 11, 2014 at 2:34 AM, Ralf Bitter ra...@revigniter.com wrote: Peter, code colorization (as well as code completion) is implemented solely for server related parts of the language because the bundle is meant to be used for working with LiveCode server files. So, if you add ?lc or ?rev or ?livecode at the top of your code, colorization should work (with restrictions as mentioned above). Ralf On 11.09.2014, at 01:53, Peter Haworth p...@lcsql.com wrote: I created a simple text file with a .rev extension, then cut and pasted a script into it from LC. Saved the file, then opened it with TextMate. I can tell it's recognized as an LC script because things like com-tab, func-tab,repeat-tab do what they're supposed to do. Also the collapse/expansion of code blocks works fine. But still no colorization. Maybe there's more work involved to get it working with the desktop. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ 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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?
On Thu, Sep 11, 2014 at 9:37 AM, Peter Haworth p...@lcsql.com wrote: Finding a mechanism to get the Textmate file back into the script editor seems more challenging. Maybe OSX folder actions and an Apple Script might be able to signal a plugin somehow. that's a lot of work to avoid using the built-in editor in the IDE. I was using GLX for a while which has great features and worked directly with Livecode but it had too many bugs to chase down..and I was losing data sometimes. Perhaps it is better now, I haven't tried for a couple of years. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* ___ 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
Reassigning stack names in behavior references
Behaviors are very useful. Scott Rossi gave an excellent presentation on them at the recent conference. One thing that sometimes trips me up - I’ll assign a behavior to a bunch of controls then I’ll re-name the stack that contains the original behavior button. Dumb :( because the controls can’t find the original reference button. If you ever find yourself in that situation, here’s a script to rename the referenced stack names in one shot. on updateBehaviorStackNames oldStackName -- If you change the name of the stack that owns a behavior button, then all controls that have that behavior would fail to invoke it. -- Use this handler to change the referenced stack in card controls that have behaviors. -- It will replace the old stackname reference with the new stackname if oldStackName is empty then beep answer error Please pass old stack name. end if repeat with x = 1 to the number of controls set the cursor to busy put the behavior of control x into cBehavior if cBehavior is empty then next repeat replace oldStackName with the short name of this stack in cBehavior set the behavior of control x to cBehavior end repeat end updateBehaviorStackNames Jim Lambert ___ 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
Apple TestFlight beta testing
So with the fix in LC 6.6.3, I was able to upload an app build to iTunes Connect. I wanted to play around with the new TestFlight functionality. But now when I go into iTunes Connect and try to enable the beta testing, it’s telling me my build “does not contain the correct beta entitlement”. I follow the link provided to get more info, which takes me to the iTunes Connect Developer Guide, where I can find absolutely nothing about “beta entitlement”. Has anyone else tried it yet? I’m assuming something in the bundle’s .plist file needs to be added/enabled, but not sure what. Which means something in LC will probably have to be updated. I’m guessing we could manually add what’s necessary to the .plist template before building, but I can’t find any info on it. Just thought I’d ask here to see if anyone’s given it a go yet. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?
Yes, I've pretty much come to that conclusion. I haven't used GLX for a while either, I'll give it another try, I know Mark has put a LOT of work into it. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Thu, Sep 11, 2014 at 10:07 AM, stephen barncard stephenrevoluti...@barncard.com wrote: On Thu, Sep 11, 2014 at 9:37 AM, Peter Haworth p...@lcsql.com wrote: Finding a mechanism to get the Textmate file back into the script editor seems more challenging. Maybe OSX folder actions and an Apple Script might be able to signal a plugin somehow. that's a lot of work to avoid using the built-in editor in the IDE. I was using GLX for a while which has great features and worked directly with Livecode but it had too many bugs to chase down..and I was losing data sometimes. Perhaps it is better now, I haven't tried for a couple of years. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* ___ 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: ios8
Well, one of my apps, that works find in ios7, crashes at startup on 8. Anybody else run into anything with 8? On Thu, Sep 11, 2014 at 2:03 AM, Gerry gerry.or...@gmail.com wrote: I should also mention that I'm running OS X 10.9.4. g On 11 Sep 2014, at 1:13 pm, Gerry gerry.or...@gmail.com wrote: I just installed the GM release on my iPhone 5. I can install my LC 6.2.2-compiled apps using Xcode 5.1.1. And they run fine (so far). g On 10 Sep 2014, at 4:48 am, Colin Holgate co...@verizon.net wrote: I used Xcode 6 to get the app onto my iPad. ___ 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 -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ 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: ios8
I also can't link to the sdk in xc6 On Thu, Sep 11, 2014 at 3:16 PM, Mike Kerner mikeker...@roadrunner.com wrote: Well, one of my apps, that works find in ios7, crashes at startup on 8. Anybody else run into anything with 8? On Thu, Sep 11, 2014 at 2:03 AM, Gerry gerry.or...@gmail.com wrote: I should also mention that I'm running OS X 10.9.4. g On 11 Sep 2014, at 1:13 pm, Gerry gerry.or...@gmail.com wrote: I just installed the GM release on my iPhone 5. I can install my LC 6.2.2-compiled apps using Xcode 5.1.1. And they run fine (so far). g On 10 Sep 2014, at 4:48 am, Colin Holgate co...@verizon.net wrote: I used Xcode 6 to get the app onto my iPad. ___ 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 -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ 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: ios8
Linking to Xcode 6 will require a LiveCode update I’m afraid. I’m sure the team are working on it and we’ll have something shortly. As for app crashes under iOS 8, I haven’t seen any problems. However, the latest app I’ve been working on is built with LC 6.6.2 (now 6.6.3). We do have one in the app store built with LC 6.5.2, and it seems okay as well. Chris On Sep 11, 2014, at 1:36 PM, Mike Kerner mikeker...@roadrunner.com wrote: I also can't link to the sdk in xc6 On Thu, Sep 11, 2014 at 3:16 PM, Mike Kerner mikeker...@roadrunner.com mailto:mikeker...@roadrunner.com wrote: Well, one of my apps, that works find in ios7, crashes at startup on 8. Anybody else run into anything with 8? On Thu, Sep 11, 2014 at 2:03 AM, Gerry gerry.or...@gmail.com mailto:gerry.or...@gmail.com wrote: I should also mention that I'm running OS X 10.9.4. ___ 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: Reassigning stack names in behavior references
Jim. Just the sort of cool sort of tools that make LC so much fun. But you need to be careful in the case where controls may have behavior pathNames that call out to more than one stack. You need to make sure that the behavior does indeed reference the deleted (oldStackName) before it replaces with the new one. Craig -Original Message- From: Jim Lambert j...@netrin.com To: use-livecode use-livecode@lists.runrev.com Sent: Thu, Sep 11, 2014 1:53 pm Subject: Reassigning stack names in behavior references Behaviors are very useful. Scott Rossi gave an excellent presentation on them at the recent conference. One thing that sometimes trips me up - I’ll assign a behavior to a bunch of controls then I’ll re-name the stack that contains the original behavior button. Dumb :( because the controls can’t find the original reference button. If you ever find yourself in that situation, here’s a script to rename the referenced stack names in one shot. on updateBehaviorStackNames oldStackName -- If you change the name of the stack that owns a behavior button, then all controls that have that behavior would fail to invoke it. -- Use this handler to change the referenced stack in card controls that have behaviors. -- It will replace the old stackname reference with the new stackname if oldStackName is empty then beep answer error Please pass old stack name. end if repeat with x = 1 to the number of controls set the cursor to busy put the behavior of control x into cBehavior if cBehavior is empty then next repeat replace oldStackName with the short name of this stack in cBehavior set the behavior of control x to cBehavior end repeat end updateBehaviorStackNames Jim Lambert ___ 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: Apple TestFlight beta testing
Silly question (I haven't done it myself) but is your app only for iOS 8? I note that Testflight Beta Testing is only for iOS 8 so if your app is built to be iOS 7 compatible maybe that then makes it's 'not entitled' to be Testflight Beta Tested. On Fri, Sep 12, 2014 at 1:57 AM, Chris Sheffield cmsheffi...@icloud.com wrote: So with the fix in LC 6.6.3, I was able to upload an app build to iTunes Connect. I wanted to play around with the new TestFlight functionality. But now when I go into iTunes Connect and try to enable the beta testing, it’s telling me my build “does not contain the correct beta entitlement”. I follow the link provided to get more info, which takes me to the iTunes Connect Developer Guide, where I can find absolutely nothing about “beta entitlement”. Has anyone else tried it yet? I’m assuming something in the bundle’s .plist file needs to be added/enabled, but not sure what. Which means something in LC will probably have to be updated. I’m guessing we could manually add what’s necessary to the .plist template before building, but I can’t find any info on it. Just thought I’d ask here to see if anyone’s given it a go yet. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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: Apple TestFlight beta testing
TestFlight is not new. I've been using it for years (man, it's hard to believe we've had the ability to write mobile apps for several years, isn't it?). Anyway, I just used it to distribute an ios7 beta to a bunch of users last week. One of my users just emailed me tonight saying that he was able to do the install, so as of a few hours ago, it was still working. On Thu, Sep 11, 2014 at 10:53 PM, Kay C Lan lan.kc.macm...@gmail.com wrote: Silly question (I haven't done it myself) but is your app only for iOS 8? I note that Testflight Beta Testing is only for iOS 8 so if your app is built to be iOS 7 compatible maybe that then makes it's 'not entitled' to be Testflight Beta Tested. On Fri, Sep 12, 2014 at 1:57 AM, Chris Sheffield cmsheffi...@icloud.com wrote: So with the fix in LC 6.6.3, I was able to upload an app build to iTunes Connect. I wanted to play around with the new TestFlight functionality. But now when I go into iTunes Connect and try to enable the beta testing, it’s telling me my build “does not contain the correct beta entitlement”. I follow the link provided to get more info, which takes me to the iTunes Connect Developer Guide, where I can find absolutely nothing about “beta entitlement”. Has anyone else tried it yet? I’m assuming something in the bundle’s .plist file needs to be added/enabled, but not sure what. Which means something in LC will probably have to be updated. I’m guessing we could manually add what’s necessary to the .plist template before building, but I can’t find any info on it. Just thought I’d ask here to see if anyone’s given it a go yet. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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 -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ 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
Externals in Objective-C
n theory any language that can build shared libraries and allows you to link with the provided glue code could be used. However, in practice, some languages will require extra glue-code in order to provide an environment in which their code can run. For example, to access Objective-C you will need to ensure you set up its memory/exception environment in C wrapper functions before calling any Objective-C code. Does anyone have a copy or example of a C wrapper functions for memory/exception environment? I want to write a external using Objective-C instead of C++. Does anyone have example code of how to write a external for Revolution using Objective-C? It appears that even Swift might be able to be used for writing externals in LiveCode and Revolution. Does anyone have some example code that will allow the writing of externals with objective-C or Swift? 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: Reassigning stack names in behavior references
Craig wrote: You need to make sure that the behavior does indeed reference the deleted (oldStackName) before it replaces with the new one. Absolutely. JimL ___ 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