Manipulating PDF's
Greetings - after using launch document to launch a PDF file (using the default PDF viewer) is there any way to get a reference to the window it opened in, and then get and set the vScroll of that window? ___ 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: Get and Set the Scroll of a Datagrid
Mike, Klaus, that's it! Thank you very much. On 6/7/2016 4:19 PM, Klaus major-k wrote: Hi Ray, Am 08.06.2016 um 00:09 schrieb Ray Horsley <r...@linkit.com>: Does anybody know how to get and set the scroll of a datagrid? None of the dgProp handlers works, nor does plain old "get the vScroll of group MyGrid", which always returns 0 for some reason. Thanks a bunch for any help! you can get and set: the dgHScroll of grp XYZ the dgVScroll of grp XYZ Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ 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
Get and Set the Scroll of a Datagrid
Does anybody know how to get and set the scroll of a datagrid? None of the dgProp handlers works, nor does plain old "get the vScroll of group MyGrid", which always returns 0 for some reason. Thanks a bunch for any help! ___ 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: Nice to Meet You!
I know - but we sure enjoyed the weekend. On Aug 17, 2015 9:54 PM, Mark Wieder mwie...@ahsoftware.net wrote: On 08/17/2015 05:44 AM, Ray wrote: My wife and I are in Edinburgh over the weekend just to see Scotland's beautiful capital city. OMG! You're in Edinburgh during festival month and you're only staying for a weekend? -- Mark Wieder ahsoftw...@gmail.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: Invalid iOS SDK Bundle
I'm pretty sure there's an incompatability between the latest versions of MacOS, Xcode and Livecode 7.0.2. so I went ahead and filed a bug report. Thanks for your insight. Ray LinkIt! Software On Jun 14, 2015 12:33 AM, EED-wp Email proth...@earthednet.org wrote: You need to get xcode set up before messing with provisioning profiles. I didn't have any problem with this tho. It was long enough ago that I don't remember any gotchas with the setup. But, if it were me, I'd update to the latest version of my os, xcode, and at least the 6.xx version of lc. I think there was an xcode update in the last few days (??-I may be wrong) so I'd be cautious on using that version. Sorry, I don't have access to my working machine so can't give you exact version numbers. Good luck! I feel your pain. Also, following the instructions very carefully, in the online lessons has worked for me, but I didn't use them for the xcode setup. I should be straightforward. Bill William Prothero http://ed.earthednet.org On Jun 13, 2015, at 9:52 AM, Ray r...@linkit.com wrote: Bill thanks for your ideas and experience on this. I thought setting the path to the Xcode bundle under Preferences/Mobile Support came /before /setting anything like the provisioning profile and and specifying a device, but I'll try experimenting with being more specific. On 6/13/2015 6:45 PM, EED-wp Email wrote: Ray, I'm on the road for a few days, so this is from memory. But, I am using livecode 7.5 with latest version of xcode. I only load my app to my personal iphone. I had a problem when i tried to name the provisioning profile as a wildcard version that would work with other apps. Lc seems to want specific names. I also had to sync profiles by downloading them, in xcode. It was a real pain to get the right combination. Good luck, Bill William Prothero http://ed.earthednet.org On Jun 13, 2015, at 9:20 AM, Ray r...@linkit.com wrote: Randy - thanks for the numbers. The LC 6.7.4 is what's going to hang me up. Downgrading is always a huge hassle. I've got a lot of people using an application I built in 7.0.2. I'll see if anybody else sheds any further light on this. Thanks On 6/13/2015 6:16 PM, Randy Hengst wrote: I’m currently successfully using Mac 10.10.2 LC 6.7.4 Xcode 6.2 be well, randy Randy Hengst www.classroomFocusedSoftware.com On Jun 13, 2015, at 7:19 AM, Ray r...@linkit.com wrote: Can anybody help me save a standalone for an iPad? I’m currently choosing: Livecode Preferences Mobile Support Add entry 4.3 or later - select your xCode App Bundle But I get “The chosen folder is not a valid iOS SDK” The software I’m using is: Mac OS 10.10.2 Livecode 7.0.2 RC2 xCode 6.3.2 These are the most recent versions. Should I back down some of these to a previous version? ___ 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 ___ 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: Passive Shell Commands
This has really worked out well for me. Thanks again Monte! Dr. Hawkins, I don't think there's any way to address a Livecode standalone with a command line prompt if that's what you were asking but I hope you find an answer to the lag issue you have. Cheers, Ray On 10/8/2013 6:00 PM, Monte Goulding wrote: Use open process for neither Cheers Monte On 09/10/2013, at 8:19 AM, Ray Horsley wrote: I'm sending a shell command which is taking a long time. I'd like to send it in a way so scripts continue to run while the shell command runs in the background. I believe this is called 'passive mode', not sure. Anyway, any ideas? -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ 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
Passive Shell Commands
I'm sending a shell command which is taking a long time. I'd like to send it in a way so scripts continue to run while the shell command runs in the background. I believe this is called 'passive mode', not sure. Anyway, any ideas? ___ 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: PDF to Image Conversion
The only way I know to do so is via a QuickTime Player object. This works somewhat well on a Mac and not at all on Windows when it comes to going through all the pages and capturing the image data. On 10/7/2013 8:51 PM, william humphrey wrote: Can PDF's be embedded in a Livecode card like a png or jpg can now? On Mon, Oct 7, 2013 at 3:05 PM, Ray Horsley r...@linkit.com wrote: This seems like such an old topic but I've yet to find a good solution. Quicktime works in a limited way and it's also a Mac only solution. Regarding cross platform solutions I believe Imagick requires GhostScript which could present both licensing issues as well as a complicated installer procedure. It would be great to see something in the Livecode store which simply accepts a shell command supplying a path to a PDF, a path to a folder and a quality of say 1 to 10- or something. Any ideas? Thanks in advance, Ray LinkIt! Software __**_ 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-livecodehttp://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: Passive Shell Commands
First time using open process for me. Fascinating! Thanks Monte. Not quite sure on the write and read syntax. My original shell command which works fine is: get shell(appPath srcPath trgPath) where the app is a command line utility which converts a PDF file to multiple JPEG's I can't get the app to show up in 'the openProcess' using the 'neither' option. When I call 'open process appPath for update' it works fine, but then how would I send the open process a command to start the conversion? On 10/8/2013 6:00 PM, Monte Goulding wrote: Use open process for neither Cheers Monte On 09/10/2013, at 8:19 AM, Ray Horsley wrote: I'm sending a shell command which is taking a long time. I'd like to send it in a way so scripts continue to run while the shell command runs in the background. I believe this is called 'passive mode', not sure. Anyway, any ideas? -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ 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: Passive Shell Commands
Ahh! Now it's really working well. Monte, thanks. Very helpful. Ray On 10/8/2013 10:57 PM, Monte Goulding wrote: On 09/10/2013, at 1:45 PM, Ray Horsley wrote: First time using open process for me. Fascinating! Thanks Monte. Not quite sure on the write and read syntax. My original shell command which works fine is: get shell(appPath srcPath trgPath) where the app is a command line utility which converts a PDF file to multiple JPEG's I can't get the app to show up in 'the openProcess' using the 'neither' option. When I call 'open process appPath for update' it works fine, but then how would I send the open process a command to start the conversion? Ah, I assumed you didn't need to read from the process. If you don't need to read or know when it's done then: open process appPath srcPath trgPath for neither If you need to know when it's done then something like this should do it (untested hacking in email client) put appPath srcPath trgPath into tProcess open process tProcess for read send ReadProcess tProcess to me in 0 milliseconds on ReadProcess pProcess local tOut repeat read from process pProcess in 5 milliseconds put it after tOut wait 20 milliseconds with messages if the result is eof then close process pProcess exit repeat end if end repeat PDFExported tOut end ReadProcess on PDFExported pOutput -- let the user know end PDFExported -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! ___ 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
PDF to Image Conversion
This seems like such an old topic but I've yet to find a good solution. Quicktime works in a limited way and it's also a Mac only solution. Regarding cross platform solutions I believe Imagick requires GhostScript which could present both licensing issues as well as a complicated installer procedure. It would be great to see something in the Livecode store which simply accepts a shell command supplying a path to a PDF, a path to a folder and a quality of say 1 to 10- or something. Any ideas? Thanks in advance, Ray LinkIt! Software ___ 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
Inaccurate Android Setup Steps in Livecode's Tutorial
I'm attempting to follow these steps to set up my system for some Android dev work: http://lessons.runrev.com/s/lessons/m/2571/l/27385-how-do-i-become-an-android-developer-on-a-pc#!prettyPhoto The first is this link to install the Java SDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html but there's no way to click the first button in a row of four since there's no row of four buttons. Evidently the web page has changed. There's an icon of a coffee cup but no icon of only the word Java as per the Livecode tutorial steps. I guessed and went with the Java Platform (JDK) 7u40 download and on the following screen I chose the Windows x64 variant of Java SE Development Kit 7u40 for my 64 bit machine. This download did not give me an installer or a wizzard as Livecode's steps detail. It simply gave me compressed files. I decompressed them and continued 'guessing around' on my own. In doing so I was able to create a virtual Android, but when I try to set the Location of my Android development SDK root in Livecode's preferences it complains the folder I've chosen is not a valid Android SDK folder regardless of which folder in that area I choose. Any suggestions? Thanks, Ray ___ 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: Inaccurate Android Setup Steps in Livecode's Tutorial
Vaughn, Thanks for your response, although I'm sorry to hear you too are having trouble with this. Since my post I did find a different link to the Java SDK. Instead of using this link from Livecode's tutorial: http://www.oracle.com/technetwork/java/javase/downloads/index.html I tried this link: www.oracle.com/technetwork/java/javase/downloads/index.html and had better luck in that at least I got an installer. However, after running it I still get the invalid Java SDK root folder error from Livecode's preferences regardless as to which folder in that area I select. Anybody else? Thanks, Ray On 9/24/2013 12:17 PM, Vaughn Clement wrote: Hi Please follow through on this subject for Android. I started to setup Android just to find out that a new screen resolution fix was coming out. So I held off until it is released. It is almost a month behind, but I know this is not an easy solution to design. That being said, the setup of the devices for testing stopped me cold. I got the settings, and the AOC working and the SDK defined. But I keep getting issues with the simulators working. So I would love to hear the solutions that Ray will need to know and the simulator which will be the next issue he will run into. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on ooVoo at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=addpid=41 On Tue, Sep 24, 2013 at 9:05 AM, Colin Holgate co...@verizon.net wrote: The look of that download pages has changed recently. And the issue of LiveCode not seeing the Android SDK came about with a recent SDK update. Then a few weeks later there was a LiveCode update that fixed the issue. So, which LiveCode are you using? ___ 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: [OT] About the new movie on Steve Jobs
I saw this movie when it first came out. It struck me as incomplete since it concentrated so much on certain periods of Steve Jobs' life and skipped over others. On 9/24/2013 1:20 PM, Alejandro Tejada wrote: Hi all, How many of you have seen the more recent movie about Steve Jobs? The name of the movie is Jobs After reading Walter Issacson's book and knowing beforehand many tales about Apple's founder, I concluded that this movie works fine as propaganda, not as a biographic recount of Steve Jobs's life... http://en.wikipedia.org/wiki/Propaganda Propaganda is a form of communication aimed towards influencing the attitude of the community toward some cause or position by presenting only one side of an argument. Propaganda statements may be partly false and partly true. Propaganda is usually repeated and dispersed over a wide variety of media in order to create the chosen result in audience attitudes. ___ 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
PDF's to PNG's on Windows 8
Sorry to bring this topic back up again but it seems there's no solution for this. Installing QuickTime on Windows does not display PDF's in a player object. This is odd since this works wonderfully on a Mac. Yrying to display PDF's in a browser object opens Adobe's Reader which, in Windows' very blunt way, hogs the entire screen burdening the user with lots of work just to get back to LiveCode. Even if this worked I'm not sure how I'd determine the number of pages and move through them to get the snapshots. Quartam Software has a nice PDF package but it only does the opposite by creating PDF files in Livecode. So there's apparently no solution to this seemingly common need to be able to view and convert PDF files to single PNG's or JPEG's in Livecode. Suggestions? ___ 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: PDF's to PNG's on Windows 8
Many thanks for these suggestions! With PDF's being used so broadly does anybody else feel that this would be a worthwhile addition to Livecode? Imagine simply being able to read a PDF file into an array, or being able to write an array out to a file to create a PDF. On Sep 18, 2013, at 4:52 PM, Roger Eller wrote: On Wed, Sep 18, 2013 at 4:48 PM, stephen barncard wrote: On Wed, Sep 18, 2013 at 1:32 PM, Roger Eller wrote: Yep. That would seem to meet the requirement of the request by the OP: PDF's to PNG's on Windows 8. my reasoning was to include that info in the archives to save someone time in a search for Mac or x-platform situation. I agree, whenever possible x-plat code is preferred. I wish it were possible more often. -- Stephen Barncard San Francisco Ca. USA ~Roger ___ 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
Import Snapshot from Player
I'm having problems doing this with 6.5 (dp 1) although there are no problems with the same script in 6.1.1. ___ 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: Distributing an iOS App for Testing
Jackie, Do you have a trial version of AirLaunch? I've tried wrestling with MergExt which works in conjunction with TestFlight (which is the troublesome part) and I'm having no luck. I'd like to try AirLaunch and it sounds like the right tool since it doesn't depend on TestFlight. Thanks, Ray On Aug 7, 2013, at 6:19 PM, J. Landman Gay wrote: On 8/7/13 3:54 PM, Chris Sheffield wrote: Ray, Creating an ipa file is actually quite easy. It's just a zip archive (more or less) of your app bundle. There is a slight trick. Follow these steps: In the Finder, create a folder named Payload (the uppercase P is important). Copy your app bundle into that folder. Compress the Payload folder by right/control-clicking and choosing the Compress option. Now you have Payload.zip. Rename this file to [app_name].ipa. Case is important. The finder will ask you to confirm that you want to use the .ipa extension. Then you can distribute it via TestFlight, or you can email it to your tester and he/she can install it by dragging it into iTunes and then syncing his/her device. There are probably utilities around that can help you do this, but it's easy enough to do manually, so I haven't really bothered. cough cough cough cough AirLaunch. -- 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
Distributing an iOS App for Testing
Are there simple steps to do this anywhere? I believe I've added my tester's UDID. I just need to get him the app (standalone). TestFlight asks me to create an IPA. I usually drink those :-) Not sure what that means in the world of software but I'm unable create one by archiving my app in Xcode 4.6.3. iTunes Connect seems to be interested only in gathering all the information for me to submit my app for approval in the store but I'm not there yet. Just need to get it onto somebody else's iPad for testing. Any help is greatly appreciated, Thanks, Ray Horsley LinkIt! Software ___ 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: Distributing an iOS App for Testing
Chris, When I read through these steps I though you're kidding me! but they seem to have worked. The jury's actually still out till I hear back from my tester or try it myself. Anyway, many thanks! Does Monte have an app or something which facilitates this? I'm unable to find it searching through his site at: http://goulding.ws/ Ray Horsley LinkIt! Software On Aug 7, 2013, at 4:54 PM, Chris Sheffield wrote: Ray, Creating an ipa file is actually quite easy. It's just a zip archive (more or less) of your app bundle. There is a slight trick. Follow these steps: In the Finder, create a folder named Payload (the uppercase P is important). Copy your app bundle into that folder. Compress the Payload folder by right/control-clicking and choosing the Compress option. Now you have Payload.zip. Rename this file to [app_name].ipa. Case is important. The finder will ask you to confirm that you want to use the .ipa extension. Then you can distribute it via TestFlight, or you can email it to your tester and he/she can install it by dragging it into iTunes and then syncing his/her device. There are probably utilities around that can help you do this, but it's easy enough to do manually, so I haven't really bothered. Good luck. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Aug 7, 2013, at 2:38 PM, Ray Horsley r...@linkit.com wrote: Are there simple steps to do this anywhere? I believe I've added my tester's UDID. I just need to get him the app (standalone). TestFlight asks me to create an IPA. I usually drink those :-) Not sure what that means in the world of software but I'm unable create one by archiving my app in Xcode 4.6.3. iTunes Connect seems to be interested only in gathering all the information for me to submit my app for approval in the store but I'm not there yet. Just need to get it onto somebody else's iPad for testing. Any help is greatly appreciated, Thanks, Ray Horsley LinkIt! Software ___ 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: Distributing an iOS App for Testing
Just bought it. Thanks for the link! On Aug 7, 2013, at 5:33 PM, Monte Goulding wrote: On 08/08/2013, at 7:20 AM, Chris Sheffield cmsheffi...@icloud.com wrote: Yes, if you're using TestFlight. Head to mergext.com, hit the Download link (you may have to create a free account first; I can't remember) and then locate the link for mergTestApp. It's a free plugin. Very useful, especially for testing app builds on a local device. One click will build your app and copy it to your device. You can set it up to automatically build and upload your app to TestFlight as well. Quite handy. Actually it's $9 ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! ___ 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: Adjusting Data Grid Column Width on an iPad
That's kind of what I was afraid of but knew I'd probably have to do. Thanks for your response Scott. On Jun 27, 2013, at 2:04 PM, Scott Rossi wrote: I would suggest building a dedicated adjustment control that is suited to touch. The data grid was created for use in a mouse-driven environment. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/27/13 10:54 AM, Ray Horsley r...@linkit.com wrote: Here's a good one - does anybody have any suggestions as to how make it easier, especially for users with fat fingers, to adjust column width in a data grid on an iPad? I can do it but it usually takes me four or five tries and can it be a little frustrating. Increasing the size of the text, row height, and the height of the column labels doesn't seem to help make the area where rolling the cursor over becomes a double arrow, right between two column headings, any wider. ___ 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
Adjusting Data Grid Column Width on an iPad
Here's a good one - does anybody have any suggestions as to how make it easier, especially for users with fat fingers, to adjust column width in a data grid on an iPad? I can do it but it usually takes me four or five tries and can it be a little frustrating. Increasing the size of the text, row height, and the height of the column labels doesn't seem to help make the area where rolling the cursor over becomes a double arrow, right between two column headings, any wider. ___ 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 Snapshot Possible with Two Monitors?
Interesting stuff Tom. I didn't know that about the working screenrects (plural). This may be very useful in another situation but for this one I need to get the rect from the user. Any ideas? (It's too much to import the entire monitor.) On Jun 3, 2013, at 10:26 PM, Thomas McGrath III wrote: This will also work: on mouseUp import snapshot from rectangle ( line 2 of the working screenRects) end mouseUp -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 10:22 PM, Thomas McGrath III mcgra...@mac.com wrote: You can import snapshots from secondary and tertiary monitors using the working screenRects: on mouseUp put line 1 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp on mouseUp put line 2 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp on mouseUp put line 3 of the working screenRects into tRect import snapshot from rectangle tRect end mouseUp -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Jun 3, 2013, at 5:52 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Ray, Snapshots don't work with secondary monitors. You can make snapshots of the main screen only. Perhaps you can use a command line utility instead. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3 jun 2013, at 23:03, Ray Horsley wrote: I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? Thanks, Ray Horsley LinkIt! Software ___ 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: Is Snapshot Possible with Two Monitors?
I'm using Livecode 5.5.4 on a Mac running 10.7.5 and I get pretty weird results. If I create a new main stack, put a single button on the one and only card which issues import snapshot on mouseUp I can click it and get the crosshair cursor. But no matter where I drag open a rectangle nothing happens and I continue to have the crosshair cursor as I drag open one rectangle after another. If I type a keyboard shortcut such as command-S I then get a snapshot from some random area on the monitors imported as an image. On Jun 4, 2013, at 1:14 PM, Paul Hibbert wrote: Thanks Mark, My app was built using 5.x.x so that explains the discrepancy. Paul On 2013-06-04, at 10:10 AM, Mark Schonewille wrote: Paul, I did some more testing. In 4.5.4 I can't import/export a snapshot from outside the screenrect (of the main screen) but this problem seems to have been fixed in 6.0.1. Maybe the other problems have been fixed too, meanwhile. So, now I wonder what exactly is Ray's problem. Which verson are you using, Ray? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 4 jun 2013, at 18:58, Paul Hibbert wrote: Hi Mark, Can you explain a little more as to exactly what doesn't work on OSX please? I have an app that allows the user to choose which monitor to take a snapshot from prior to making the snapshot and it works fine with multiple monitors on Mac Win so I'm just curious if there is something I need to be aware of. Thanks, Paul ___ 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: How Long is a Sound [Without Using Quicktime]?
Thanks Phil but I usually need everything to run at least on both Windows and Mac. On May 31, 2013, at 12:14 PM, Phil Davis wrote: On 5/31/13 2:16 AM, Ray Horsley wrote: You might be right Jackie. I'm not sure how to guess how many desktop systems there are without Quicktime installed so it might not be an issue. The overall goal is to display a progress circle like the one Fetch uses while a sound is playing. The idea is the circle will make one complete trip for the duration of the sound. Dar, nice ideas and very interesting but the user will be supplying the audio files so I'm not sure how that would work out. I'm currently looking into the link Warren supplied to Media Info although I'm not sure how I'll tie it into my standalone. Hi Ray, I maintain one app that has mediaInfo in the app bundle, and the app uses shell() to run it as needed. So that's one option on the Mac at least. Phil Davis On May 30, 2013, at 5:37 PM, J. Landman Gay wrote: On 5/30/13 2:36 PM, Ray Horsley wrote: I know this is available with QuickTime using the CurrentTime and TimeScale properties but if the user doesn't have QuickTime installed I'd hate to be stuck. Are there any other ways to get the duration of an audio file? Can you say what the goal is? Maybe there's another way to do it. All Macs have QT. If a Windows user doesn't, Media Player should run and the same functions should be available as long as you're using player objects. I'm not sure about Linux, I hear there are some issues with players there. -- 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 -- 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 ___ 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
Is Snapshot Possible with Two Monitors?
I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? Thanks, Ray Horsley LinkIt! Software ___ 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 Snapshot Possible with Two Monitors?
Thanks Mark. Do you know of a way for me to detect more than one monitor so I could warn users? On Jun 3, 2013, at 5:52 PM, Mark Schonewille wrote: Hi Ray, Snapshots don't work with secondary monitors. You can make snapshots of the main screen only. Perhaps you can use a command line utility instead. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3 jun 2013, at 23:03, Ray Horsley wrote: I'm running into a variety of issues designing a standalone which will import PDF's. If quicktime isn't installed it seems impossible and even if the user installs it (Windows) it often doesn't work for certain PDF's. With this in mind I thought I'd let users open their PDF's in whatever program they choose and use Livecode's import snapshot command. I don't pass a rectangle since I don't know where the image is on screen and unfortunately it seems I can't get the rectangle [the user opens up] returned to me. I do, however, get an image imported, although on a system with two monitors in extended display mode it seems almost random where the actual snapshot gets taken from. It's anything but where the user actually dragged. Does anybody have any suggestions for grabbing a snapshot of the same rectangle the user opens up on the desktop or in another application? Thanks, Ray Horsley LinkIt! Software ___ 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: How Long is a Sound [Without Using Quicktime]?
You might be right Jackie. I'm not sure how to guess how many desktop systems there are without Quicktime installed so it might not be an issue. The overall goal is to display a progress circle like the one Fetch uses while a sound is playing. The idea is the circle will make one complete trip for the duration of the sound. Dar, nice ideas and very interesting but the user will be supplying the audio files so I'm not sure how that would work out. I'm currently looking into the link Warren supplied to Media Info although I'm not sure how I'll tie it into my standalone. On May 30, 2013, at 5:37 PM, J. Landman Gay wrote: On 5/30/13 2:36 PM, Ray Horsley wrote: I know this is available with QuickTime using the CurrentTime and TimeScale properties but if the user doesn't have QuickTime installed I'd hate to be stuck. Are there any other ways to get the duration of an audio file? Can you say what the goal is? Maybe there's another way to do it. All Macs have QT. If a Windows user doesn't, Media Player should run and the same functions should be available as long as you're using player objects. I'm not sure about Linux, I hear there are some issues with players there. -- 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: Point in Poly
Just a quick thanks to all those who took the time to contribute to this thread! Let of great ideas. On May 29, 2013, at 2:22 PM, J. Landman Gay wrote: On 5/29/13 11:33 AM, Roger Guay wrote: What a cool idea! I also wonder if blending will work? It does. In fact, when I need an opaque object to get info that doesn't work with transparent objects, I sometimes set the blendlevel to 1. Visually it still looks transparent but all the color/intersect/etc functions still work. -- 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: How Many Pages are in a PDF?
David - works like a charm. Richard, I imagine your method might work just as well. I'm just not that familiar with unix commands. Thanks! On May 29, 2013, at 1:26 PM, dfepst...@comcast.net wrote: 1 + (the duration of player myPlayerName)/ 75 David Epstein ___ 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
How Long is a Sound [Without Using Quicktime]?
I know this is available with QuickTime using the CurrentTime and TimeScale properties but if the user doesn't have QuickTime installed I'd hate to be stuck. Are there any other ways to get the duration of an audio file? ___ 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
How Many Pages are in a PDF?
Anybody know how to get this? I've tried loading the PDF into a player but this only gives me access to things in terms of time such as the TimeScale and the CurrentTime of the player. ___ 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
Point in Poly
Is there a way to determine if a point is inside of a polygon graphic, and not necessarily inside the graphic's containing rectangle? ___ 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: Drag and Drop
Very interesting point Jacqueline. In my case my image control displays nothing. I use it as a template, ultimately to make images out of what users drag and drops. It's the same dimensions as the stack itself. Since the image control displays nothing as it isn't linked (the FileName of it) to any file I'm not sure whether the whole thing is consider transparent pixels or not. Livecode doesn't seem to have a setting of transparent or opaque for image controls. So I've experimented with buttons giving them the same script as the image has: on dragEnter set the dragAction to copy pass dragEnter end dragEnter The new thing I've discovered is I can consistently break Livecode's accepting the drop, evidenced by the cursor turning into a circle with a line through it instead of a plus sign, if I drag extremely slowly right at the point where I stop dragging across the desktop and start dragging over the stack window. This happens even if I let the button overlap off the stack window. If I continue dragging around on top of the stack to another button with the same script I do get the plus sign for a cursor. Weird isn't it? On May 9, 2013, at 9:14 PM, J. Landman Gay wrote: On 5/9/13 7:03 PM, Ray Horsley wrote: At the end of the day I'm wondering if this should be reported as a bug. It seems like something is getting hooked in memory. It's weird that I can drag a file onto my Livecode stack (which is one large image control with the drag handlers in it) and get nothing. Then, simply continuing to drag off the stack window and right back on it fixes it. I wonder if it is because you are dropping onto an image. Images don't register mouse events unless you click (or presumably release) on an opaque pixel. It may be that sometimes you're dropping onto a transparent area and then nothing will happen. You could test the theory by putting a big button over the card and seeing if the drop is reliable there, or by always consciously dropping exactly on an opaque area. -- 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: Drag and Drop
Well I haven't tried Linux but this behavior happens on both Mac and Windows. And Paul, thanks for the card script idea. I started out trying things in the card script but when I got the sporadic behavior I decided it was because a card is technically not a control. Not sure about that. In any event I'm sorry to report the script you've given me still isn't stopping the cursor from remaining a circle with a line through it without changing to the plus sign. I'll continue to experiment. Have you tried really slowly dragging a file onto a stack window from the desktop to see if it changes to the circle with a line through it even though you've got this in your card's script: on dragEnter set the dragAction to copy end dragEnter On May 10, 2013, at 11:55 AM, Alejandro Tejada wrote: Hi Ray, Ray Horsley-2 wrote [snip] The new thing I've discovered is I can consistently break Livecode's accepting the drop, evidenced by the cursor turning into a circle with a line through it instead of a plus sign, if I drag extremely slowly right at the point where I stop dragging across the desktop and start dragging over the stack window. This happens even if I let the button overlap off the stack window. If I continue dragging around on top of the stack to another button with the same script I do get the plus sign for a cursor. Weird isn't it? And... This happens in every platform? Windows? Mac? Linux? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-and-Drop-tp4664563p4664662.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 ___ 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
Drag and Drop
I've never used this feature before and no matter how I set it up it seems kind of sporadic. The goal is to drag an image file (jpg, jpeg, png, etc.) from the desktop onto a card, get the path to it and ultimately import it into the stack. I've place an image control on the card which is the same dimensions as the stack itself and scripted the following: on dragEnter set the dragAction to copy -- this is the sporadic part which only sometimes turns the cursor into a plus thus allowing dragDrop to catch the drop pass dragEnter end dragEnter on dragDrop put the dragData into curFilePath -- continue to import the file end dragDrop This works 'some of the time' but I'm still often unable to drop what I'm dragging since the cursor doesn't always turn into the plus sign. Each time this happens I try dragging the file again, immediately, and it suddenly works when I didn't change a thing. What am I missing to get drag/drop working consistently? Ray Horsley LinkIt! Software ___ 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: Drag and Drop
Many thanks to you all who responded to this thread I started earlier today. Unfortunately I still haven't resolved this issue so any other thought are appreciated. Here's a few responses to some of the ideas which were presented: - The mouseDown and mouseStillDown unfortunately don't work since I'm dragging a file from the desktop to a Livecode stack (not beginning the drag action in Livecode) although that's kind of cool to know that mouseMove messages get sent during a grab. I didn't know that. - Doing anything with on dragStart also does not work since I'm starting the drag operation outside of Livecode (on a desktop file) - Setting the dragAction to copy instead of move works better in my case since it adds a plus sign to the cursor (when it works) but still does not solve the intermittent failure of Livecode to accept the drop consistently. - Thanks for the link to the article Pinning Drag-and-Drop to the Mat but I had actually read through it yesterday when I began wrestling with this. It, too, does not address dragging files from the desktop into Livecode. At the end of the day I'm wondering if this should be reported as a bug. It seems like something is getting hooked in memory. It's weird that I can drag a file onto my Livecode stack (which is one large image control with the drag handlers in it) and get nothing. Then, simply continuing to drag off the stack window and right back on it fixes it. I'll continue to wrestle and post any solutions I find. Thanks! On May 9, 2013, at 4:59 PM, Scott Rossi wrote: OK, I accepted your dare and was surprised to see that it worked (didn't used to). Nice. Though you're still left with the limitations of working within a single stack, and no dragging in or out. But if the technique works for you, awesome. Speaking as someone who has rolled custom drag-and-drop code (execute in your message box): go url http://www.tactilemedia.com/site_files/downloads/TMdragndrop.rev; ...I'll suggest from experience that at some point it will benefit you to get a handle on the built-in routines. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/9/13 1:36 PM, Richmond richmondmathew...@gmail.com wrote: On 05/09/2013 11:07 PM, Scott Rossi wrote: Only you can know why you always use that technique, What? you expect me to know my own mind? LOL. I use that technique as I tend to use a single stack, or a signle stack with associated palettes. but with grab, there's no way to act upon events/messages while grab is active (thus you can't do cursor updates and provide user feedback), and you can't grab an object across stacks. Aha; got you. Why do I have a funny feeling that you could use mouseStillDown to get feedback Ha, ha,ha . . . I just made a stack containing a button DRAG ME ABOUT and a field KOUNT in the button I have this script: on mouseDown grab me end mouseDown on mouseStillDown put fld KOUNT into KOUNT add 1 to KOUNT put KOUNT into fld KOUNT wait 3 ticks end mouseStillDown on mouseUp put empty into fld KOUNT end mouseUp Try it, I dare you . . . you get feedback. Richmond. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/9/13 12:42 PM, Richmond richmondmathew...@gmail.com wrote: On 05/09/2013 09:01 PM, Mark Wieder wrote: Ray Horsley ray@... writes: What am I missing to get drag/drop working consistently? You might also want to look at http://lessons.runrev.com/s/lessons/m/4071/l/7124-pinning-drag-and-dro p- to-the-mat-a-primer Why do I always just use on mouseDown grab me end mouseDown then set up a load of images as dropTargets and have stuff like this in the grabbedObject: on mouseUp if not within (img target, the mouseloc) then set the loc of me to 857,673 end if end mouseUp must be missing something. 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 ___ 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
Page 2 of a PDF
I believe this has come up before but don't I see any way to convert page 2, page 3, etc. of a PDF to a PNG or JPEG via snapshot using either revBrowser or a player object. A browser object doesn't seem to display a specified page at all, and while I can manually scroll through a PDF using a player object I can't control from a script which page of the PDF the player object is displaying. The end result is to convert a single PDF to multiple PNG's or JPEG's. Suggestions? 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: LiveCode Player for 5.5
After giving this idea some further thought I wouldn't bet on it either. How would something like import snapshot be exported to HTML5? On Mar 22, 2012, at 3:44 PM, Richard Gaskin wrote: Ray Horsley wrote: I like the idea of HTML5 export, too. Me too, but although translating layout isn't hard, given the vast differences between LiveCode and its object model and JavaScript/DOM, I wouldn't bet on it. -- 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: LiveCode Player for 5.5
Thanks Richard for these thoughts. I believe I fall into a variant of the camp A which you've mentioned, working with organizations run by really dumb and most of all lazy IT staff. Not all of our clients are like this, but frequently we'll run into IT guys who are simply too lazy too download anything to all the machines in their schools. This is a sales block and my hope was that Rev's browser plugin would get us past that, even though that, too, must be downloaded. I couldn't agree more with the technical case you've made here but who was that shoe salesman in New York who made the famous comment Give the lady what she wants? We've got to make sales and if the client wants software that runs in a browser we can either argue with her or make the sale and move on. Obviously the latter of these is by far preferable. Ray Horsley LinkIt! Software On Mar 22, 2012, at 3:58 PM, Richard Gaskin wrote: Ray Horsley wrote: I'm in the K-12 education field. Teachers are quickly moving away from downloading anything and their IT guys are even worse, sometimes setting up systems which disallow downloading a desktop app. I hadn't looked at building for Web in a while but this is very discouraging to find it's gone. I had hoped it had been cleaned up since I last worked with it, not abandoned. If it's gone someone should let RunRev know: http://www.runrev.com/products/web/ From what I see the education industry is not the only area moving rapidly toward doing everything in a browser. Healthcare, finance, you name it, everybody spends most of the day in browsers today. Does this mean the majority of us Livecoders are doing nothing more than writing mobile apps? Ironically, a mobile app is very much like the most viable, flexible, and cost-effective alternative to RevWeb: net-savvy standalones. Whether the LiveCode engine is wrapped as a browser plugin or your own standalone, either way it'll need institutional buy-in to get your stacks distributed. Any org that will allow a third-party binary browser plugin should also allow a standalone. Like the browser plugin, a standalone can easily download stacks from a server, even compressed stacks for quick delivery. But unlike a browser you have far more options: Your users can enjoy the flexibility any desktop app has in terms of a UI dedicated for its workflow, along with local file access and other traditional app features, which can be used to provide an offline mode, smart caching, and more. And if needed, a standalone can be more secure than a browser: just turn on the secureMode as the first line in your startup handler, and your app will be prevented from many any changes at all on the local machine. I suspect that most of the laments from not being able to use RevWeb for deployment fall into two camps: a) Devs who've had to work with orgs run by dumb really dumb IT staff who somehow think that a proprietary binary executable that's called a browser plugin is somehow inherently safer than an application b) Devs who haven't really pursued such conversations with their clients seriously, so the issue is largely just theoretical for them. -- 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
Reverting to 5.0.2
I've saved a stack in 5.5 but now I'd like to open it in 5.0.2 which doesn't recognize it as a stack. I can open it in 5.5 and save it in legacy but that takes me all the way back to 2.7 with an unknown number of feature losses. Any suggestions? Thanks, Ray Horsley LinkIt! Software ___ 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: Reverting to 5.0.2
Many thanks guys! On Mar 23, 2012, at 3:01 PM, Mark Schonewille wrote: Hi, You're right. 2.7 is the format used since 2.7 (which was finally released as 3.0 IIRC) and now the new format is 5.5. Before 2.7 it was 2.4. I don't remember being unable to open a 2.4 stack with any version between 2.0 and 2.4. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 20:41, Michael Doub wrote: It would be helpful if there is a mapping between stack file revisions (2.7.2.4, current) and the live code revisions. Is this documented anywhere? What is the stack revision number for 5.5? In Ray's case, I think that 2.7 is the format used by 5.0.2. Please correct me if I am mistaken -= Mike ___ 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
LiveCode Player for 5.5
I've always downloaded the plugin at: http://revweb.runrev.com/ This gives me version (R9) which does not run standalones built for Web in Livecode 5.5. Is there another site to get the LiveCode player which will run standalones built in 5.5? Thanks, Ray Horsley LinkIt! Software ___ 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: LiveCode Player for 5.5
So building standalones for Web has been discontinued for quite some time now in LiveCode? On Mar 22, 2012, at 10:36 AM, Klaus on-rev wrote: Hi all, did you read the copyright notice on the download page: Copyright RunRev Ltd 2009 All rights reserved. That's the year when the plug-in was updated the last time! Well... Am 22.03.2012 um 16:27 schrieb Mark Schonewille: Ray, no. -- Best regards, Mark Schonewille On 22 mrt 2012, at 17:18, Ray Horsley wrote: I've always downloaded the plugin at: http://revweb.runrev.com/ This gives me version (R9) which does not run standalones built for Web in Livecode 5.5. Is there another site to get the LiveCode player which will run standalones built in 5.5? Thanks, Ray Horsley LinkIt! Software Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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: LiveCode Player for 5.5
I like the idea of HTML5 export, too. But regarding building standalones for Web, why do you think that option is still in the Standalone Application Settings window? On Mar 22, 2012, at 10:53 AM, Mark Schonewille wrote: Ray, We know as much as you do. Also, I would consider it a waste of money if RunRev were to invest in the plugin again. I'd rather expect them to invest in HTML5 export. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 22 mrt 2012, at 17:44, Ray Horsley wrote: So building standalones for Web has been discontinued for quite some time now in 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: LiveCode Player for 5.5
I'm in the K-12 education field. Teachers are quickly moving away from downloading anything and their IT guys are even worse, sometimes setting up systems which disallow downloading a desktop app. I hadn't looked at building for Web in a while but this is very discouraging to find it's gone. I had hoped it had been cleaned up since I last worked with it, not abandoned. From what I see the education industry is not the only area moving rapidly toward doing everything in a browser. Healthcare, finance, you name it, everybody spends most of the day in browsers today. Does this mean the majority of us Livecoders are doing nothing more than writing mobile apps? Ray Horsley LinkIt! Software On Mar 22, 2012, at 12:05 PM, Bob Sneidar wrote: There was some discussion about this in the past, and a lot of people seemed to think that making people install a plugin to run a web app was very undesirable these days. I think Runrev at that point put it on the back burner. I mean the stove in the shed on the north 40. Bob On Mar 22, 2012, at 9:48 AM, Keith Clarke wrote: I think if the option was pulled, there would be a hue and cry from the developer community, whereas leaving it to whither on the vine has meant that most have just given up asking for an update. Given RunRev's 'no more roadmaps' policy, any web or enterprise developers who were waiting have probably been forced to move to alternative tools. It's a shame - so much potential but nothing to plan against. Best, Keith.. ___ 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
Revlet Basics
I experimented with standalones in browser a while back and never got too far with it. I'm taking another look now but can't get anything other than the Test Page text to show up. I've completely deleted and reinstalled the LiveCodePlayer but still no buttons in the standalone revlet show up. As I recall there was some editing of the html necessary to link files up. Is that what's missing? Thanks, Ray Horsley LinkIt! Software ___ 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
Passkey in 5.5.0
Create a new stack in 5.5.0 and the passKey property comes back as true. I'm not sure what that means since I thought passKeys were empty until set. Setting the passkey to the also no longer seems to unlock the stack. Anything new going on here? Thanks, Ray Horsley LinkIt! Software ___ 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
Passkey in 5.5.0
After restoring Livecode 5.0.2 and the same stack from week-old backups I've realized this might be a compatibility issue regarding stacks saved in 5.0.2 and then reopened in 5.5 (rc 2). The stack's scripts can be opened and modified but objects themselves (such as buttons) can't be created deleted or modified. The Inspector and Code buttons in the Rev toolbar are also disabled opening the 5.0.2 created stack in 5.5. Thanks, Ray Horsley LinkIt! Software Begin forwarded message: From: Ray Horsley r...@linkit.com Date: March 19, 2012 11:52:06 AM CDT To: How to use LiveCode use-livecode@lists.runrev.com Subject: Passkey in 5.5.0 Create a new stack in 5.5.0 and the passKey property comes back as true. I'm not sure what that means since I thought passKeys were empty until set. Setting the passkey to the also no longer seems to unlock the stack. Anything new going on here? Thanks, Ray Horsley LinkIt! Software ___ 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
Unusual Way
From time to time I get an error report from users using my Windows standalone which displays this: Runtime Error! [path to the .exe] This application has requested the Runtime to terminate it in an unusual way. It's kind of odd wording. I guess if I saw stalks of broccoli sprouting out of the monitor that would definitely constitute an unusual way to close a program. But seriously, anybody have any ideas on this? Ray Horsley LinkIt! Software ___ 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: Unusual Way
Very informative Dar. I'll check into the operating system and take a close look at the externals. Thanks, Ray On Feb 22, 2012, at 5:03 PM, Dar Scott wrote: I got to thinking that was not very helpful. Here are some more details. The runtime mentioned is the Visual Studio C runtime library, not the LiveCode runtime. Even then, the sentence is goofy It essentially means that abort() has been called using an older runtime library, probably in a DLL. I suspect this is related to externals. The C runtime can be compiled into an external or the external can use a DLL. This might be a problem with an old external, an old OS, or a conflict among externals. Check with your external suppliers. If you build the external, consider rebuilding it, perhaps compiling the library into the external if that does not blow up the size. I have tripped up on getting the libraries right, so it takes some consideration. I wonder if this could be caused by some error down in the library that is not caught. It might be some problems with some version of LiveCode on some platform, but I doubt that. Dar On Feb 22, 2012, at 3:41 PM, Dar Scott wrote: I can think of a couple causes: 1. Some line in your code includes this: quit broccoli 2. There is a problem with the realtime C library used to build an external or even LiveCode. Perhaps there is a mismatch of some sort. After some consideration, I think it is more likely the second. Dar On Feb 22, 2012, at 12:28 PM, Ray Horsley wrote: From time to time I get an error report from users using my Windows standalone which displays this: Runtime Error! [path to the .exe] This application has requested the Runtime to terminate it in an unusual way. It's kind of odd wording. I guess if I saw stalks of broccoli sprouting out of the monitor that would definitely constitute an unusual way to close a program. But seriously, anybody have any ideas on this? Ray Horsley LinkIt! Software ___ 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 --- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. d...@swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --- ___ 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: Settings Scripts from a Script in a Standalone
Jackie, Thanks once again for your time on this. Very clear now. By the way, it seems like a minor things but what do those other numbers after the commas mean? Thanks, Ray Horsley LinkIt! Software On Feb 3, 2012, at 9:42 PM, J. Landman Gay wrote: On 2/3/12 9:23 PM, Ray Horsley wrote: Jackie, Thanks for this insight! Two quickies if I may; where can I get a list of the code definitions returned by a try-catch and is there any way for me to get a list of handlers which are currently executing so I know not to try to update them while they're still running? The location of the error codes is listed in the dictionary under the errorDialog entry, along with instructions on how to get them. You can grab them and stick them in a reference somewhere if you want: get the cErrorsList of card 1 of stack revErrorDisplay The same dictionary entry also explains what all the numbers mean. I have a lookup stack I made that I use as a plugin for this, which is how I looked up your error codes. I was meaning to upload it to RevOnline until I got locked out. I seem to be able to get back in there now so I'll upload it one of these days. In the mean time you can just grab that list and put it into a text file or a stack field. I'm not sure how you get a list of running handlers. Generally it isn't an issue because they run sequentially and don't usually overlap. One exception is when one handler calls another, which calls the original again. That may be what you're seeing. If you do that too much you get a recursion error. -- 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: Settings Scripts from a Script in a Standalone
Mark - Many thanks. Cool app. Thanks for your help on this too Jackie. On Feb 4, 2012, at 8:35 AM, Mark Schonewille wrote: Hi Ray, The first number is the error code, the second is the line on which the number happened and the third number is the character position of the faulty code. This is often but not always followed by a word indicating that faulty code. Usually there are mutliple lines in a raw error message. These lines indicate the message path to the faulty code and possible errors that might have occurred along the way. I made a little iPhone app that makes it possible to look up error codes. This is useful if LiveCode freezes for example, or if you don't want to write a script to look up the error. You can find the app in the iTunes store at http://qery.us/v4 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 4 feb 2012, at 16:24, Ray Horsley wrote: Jackie, Thanks once again for your time on this. Very clear now. By the way, it seems like a minor things but what do those other numbers after the commas mean? Thanks, Ray Horsley LinkIt! Software ___ 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
Idle Messages to Hidden Stacks
I thought idle handlers ran in hidden stacks as long as they were top level. Seems this has gone away. Any ideas on this? I'm trying to get an idle handler to run in a hidden stack but I can only send messages from that same stack. Sending idle from the stack to itself in X seconds is not working because other handlers in stacks I have no control over are flushing events. Ray Horsley LinkIt! Software ___ 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: Idle Messages to Hidden Stacks
Phil, Thanks for these two ideas. I hadn't thought of the 'wait... with messages' command. I think I'll experiment with that since it seems a little less sticky. Ray Horsley LinkIt! Software On Feb 4, 2012, at 2:25 PM, Phil Davis wrote: Hi Ray, It seems your only choices are (1) put your stack outside the realm of those stacks flushing the events, or (2) structure your script so it isn't using messages to run. Approach #1 means running it under a different instance of the engine (e.g. as a standalone that communicates with instance #1 via sockets for example), which could be pretty complex depending on what your stack is doing. Approach #2 means running your stuff inside a repeat loop that has a 'wait x seconds with messages' inside the loop. Seems like that would be impervious to flushEvents() but I haven't tested it. Maybe someone else will think of other ways to handle your situation. Best - Phil Davis On 2/4/12 10:59 AM, Ray Horsley wrote: I thought idle handlers ran in hidden stacks as long as they were top level. Seems this has gone away. Any ideas on this? I'm trying to get an idle handler to run in a hidden stack but I can only send messages from that same stack. Sending idle from the stack to itself in X seconds is not working because other handlers in stacks I have no control over are flushing events. Ray Horsley LinkIt! Software ___ 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 PDS Labs Professional Software Development http://pdslabs.net ___ 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
Settings Scripts from a Script in a Standalone
I've just noticed that in 5.0.2 a line in an idle handler script which sets the script of another stack is now failing. There's nothing in the result when it fails, although I do get a rather cryptic return if I put it in a try-catch (below). The rest of the idle handler simply stops running. The content of the script being set is only three lines long so I'm sure it doesn't exceed Livecode's limit (which I believe is 10 lines). As a matter of fact, if I run the same handle from a button in the standalone it works fine. Here's the try-catch error: 360,0,0 90,96,22 449,96,7,on idle 535,96,1,on idle Here's the script: put on myHandler into tmpScript put send numToChar(34)doIdlenumToChar(34) to stack numToChar(34)•Panels Shell•numToChar(34) into line 2 of tmpScript put end myHandler into line 3 of tmpScript set the script of stack Panels to tmpScript Any ideas? Ray Horsley LinkIt! Software ___ 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: Settings Scripts from a Script in a Standalone
Jackie, Thanks for this insight! Two quickies if I may; where can I get a list of the code definitions returned by a try-catch and is there any way for me to get a list of handlers which are currently executing so I know not to try to update them while they're still running? Thanks, Ray Horsley LinkIt! Software On Feb 3, 2012, at 4:45 PM, J. Landman Gay wrote: On 2/3/12 5:32 PM, Ray Horsley wrote: I've just noticed that in 5.0.2 a line in an idle handler script which sets the script of another stack is now failing. There's nothing in the result when it fails, although I do get a rather cryptic return if I put it in a try-catch (below). The rest of the idle handler simply stops running. The content of the script being set is only three lines long so I'm sure it doesn't exceed Livecode's limit (which I believe is 10 lines). As a matter of fact, if I run the same handle from a button in the standalone it works fine. Here's the try-catch error: 360,0,0 90,96,22 449,96,7,on idle 535,96,1,on idle Here's the script: put on myHandler into tmpScript put send numToChar(34)doIdlenumToChar(34) to stacknumToChar(34)•Panels Shell•numToChar(34) into line 2 of tmpScript put end myHandler into line 3 of tmpScript set the script of stack Panels to tmpScript Any ideas? 360 Object: can't set script while it is executing 90Chunk: can't set property 449 Object: can't set object property 535 set: can't set property -- 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
Help with API Methods
Greetings, I need some help to become fluent in maintaining and writing API methods in C# which will access data in a Microsoft Sequel Server standard edition database. I'm working in Visual Studio 2010. I envision working with somebody fluent in these areas via Webex sessions for about an hour a day for at least a month at which time our work could go in any number of different directions. Anybody interested/available? Ray Horsley LinkIt! Software 1-877-546-5484 ext. 1226 ___ 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
could not find a valid Identity to use for the selected profile
Anybody know how to jump through this hoop when saving an iOS app? ___ 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: could not find a valid Identity to use for the selected profile
Sorry. I guess my question did provide pretty scant specs. Anyway, yes, I enrolled in the Apple Developer program last year after purchasing an iPad. I've since given the iPad to somebody else in our company and I just bought a new iPad 2. After I renewed the developer membership I setup the new iPad 2 using the Apple ID. My first attempt at saving a standalone prompted me to install SDK 5 which I did. Now I've got this error after choosing a profile I created last year. Could it be that profile is no good anymore? I'm using Lvecode 5.0.2 with Mac 10.6.8. Thanks for your thoughts on this Mark. On Dec 21, 2011, at 4:29 PM, Mark Schonewille wrote: Hi, That's very, very little information. For example, are you sure you did everything correctly? Do you even have an Apple developer account for iOS? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 22 dec 2011, at 00:22, Ray Horsley wrote: Anybody know how to jump through this hoop when saving an iOS app? ___ 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
Go cd 500
Here's a relatively basic one but still perplexing. If card 2 in a stack of 2 cards is named a number, 500 for example, how can you go to it in a script if you only have the card's name? ___ 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: Go cd 500
Mark - Unfortunately our users sometimes insist on naming things numbers, but hey, that repeat loop idea is a good one. Thanks! On Dec 20, 2011, at 7:46 PM, Mark Schonewille wrote: Hi Ray, You should not use numbers for card names. If you have to use a number, add character, e.g. x500. To temporarily work around this problem, you can use a repeat loop that gets the id and name of each card: repeat with x = 1 to number of cards if the name of cd x is 500 then put the id of cd x into myID exit repeat end if end repeat -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission! On 21 dec 2011, at 03:24, Ray Horsley wrote: Here's a relatively basic one but still perplexing. If card 2 in a stack of 2 cards is named a number, 500 for example, how can you go to it in a script if you only have the card's name? ___ 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
Script Editor Keyboard Shortcuts
Anybody know how to change these? For example, Run, F5 on Windows, is command-shift-period on the Mac. That's kind of inconvenient for a frequently used choice, but it seems nearly impossible to change it. Thanks, Ray Horsley LinkIt! Software ___ 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: Script Editor Keyboard Shortcuts
No, not the Finder in Mac. I mean the script editor window when you flag a script to pause on a specified line and then you begin stepping through it to debug it. Thanks, Ray Horsley LinkIt! Software On Sep 18, 2011, at 9:47 AM, Richmond Mathewson wrote: On 09/18/2011 06:38 PM, Ray Horsley wrote: Anybody know how to change these? For example, Run, F5 on Windows, is command-shift-period on the Mac. That's kind of inconvenient for a frequently used choice, but it seems nearly impossible to change it. Do you mean: 1. Muck around with the Finder in Mac? 2. Do something with Livecode {such as a rawkeyDown routine] so that end-users have a similar keyboarding experience cross-platfom? ___ 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: Script Editor Keyboard Shortcuts
Colin, I'm impressed you'd remember this. Very good! It seemed to me when I posted this question (today) that I had posted it a few years ago but I wasn't sure. The answer is I didn't get very far with it a few years ago and I'm still struggling with it today. I've used QuickKeys on the Mac to create my own keyboard shortcuts for frequently used menu choices but for some reason QuickKeys doesn't like having the shift and the command key together for this one particular command, Run, in the script Editor window. Anyway, where on the Mac keyboard is the Play button you're referring to? Thanks, Ray Horsley LinkIT! Software On Sep 18, 2011, at 10:34 AM, Colin Holgate wrote: I wonder if you'll get further with the question now than you did then: http://lists.runrev.com/pipermail/use-livecode/2009-October/129024.html Historically speaking, command-shift-period makes a lot of sense. Not that I would use it anyway, that nice friendly Play button is an easy way to proceed. On Sep 18, 2011, at 11:38 AM, Ray Horsley wrote: Anybody know how to change these? For example, Run, F5 on Windows, is command-shift-period on the Mac. That's kind of inconvenient for a frequently used choice, but it seems nearly impossible to change 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: Script Editor Keyboard Shortcuts
Ahh! Gotcha. I'm one of those users who likes to pass the mouse over variables to see what's in them, so that would mean a lot of extra moving the mouse around. But this discussion has given me a few new ideas and I appreciate you bringing my attention to those buttons at the top of the script editor window (which I never use and could possibly begin to like). Honestly though, wouldn't it be nice if there were a section in the Script Editor Preferences area of the IDE which allowed for the personalization of keyboard shortcuts? What do you think? Ray Horsley LinkIt! Software On Sep 18, 2011, at 1:38 PM, Colin Holgate wrote: It's not a key, it's a button. Near the top of the script window, along with the various other useful step buttons. On Sep 18, 2011, at 2:26 PM, Ray Horsley wrote: Anyway, where on the Mac keyboard is the Play button you're referring to? ___ 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
UTF-8
Hi all. Does Livecode have a way to handle UTF-8 encoding and decoding? Ray Horsley LinkIt! Software ___ 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: UTF-8
Mark, Many thanks for this help. I believe my challenge is that my encoded text is actually wrapped in html. For example, after setting the htmlText of a field, this: divobject type=text/html data=passages/3167.htm//divspan class=class1bRead the following line from the poem.br/br//b/spanspan class=class1span class=class1You#x2019;ve udisturbed/u a mighty river just by dropping in a stone./spanbr/br//spanspan class=class1bWhat does the Latin root iturbare/i mean as used in the word udisturbed/u?/b/span produces this: Read the following line from the poem.You#x2019;ve disturbed a mighty river just by dropping in a stone.What does the Latin root turbare mean as used in the word disturbed? Can I operate on this entire chunk of html text or do I need to dig out pieces like You#x2019;ve and uniDecode them? Many thanks, Ray Horsley LinkIt! Software On Sep 11, 2011, at 4:14 PM, Mark Schonewille wrote: Hi Ray, Yes. To display UTF8, you need to convert it to UTF16 before setting the unicodeText of a field. You can also convert the unicodeText of a field to UTF8 before writing it to a file. The functions are -- convert from UTF8 to UTF16 uniEncode(myUTF8,UTF8) -- convert from UTF16 to UTF8 uniDecode(myUTF16,UTF8) To convert from plain text to UTF8 you can do this: uniDecode(uniEncode(myEnglish,ANSI),UTF8) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 11 sep 2011, at 23:57, Ray Horsley wrote: Hi all. Does Livecode have a way to handle UTF-8 encoding and decoding? Ray Horsley LinkIt! Software ___ 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
Launching Applications on a Remote Server
Does anybody have any experience with the Launch command to launch an app on a remote server? I imagine this could be done, possible via a php script. Thanks, Ray Horsley LinkIt! Software ___ 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: Livecode Crashes with Image Source Set to a URL
Bjornke, I thought I'd post this to the support email today as well as the improve list. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Björnke von Gierke Sent: Thursday, May 19, 2011 8:05 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL i don't have time to look at the stack at this time of the day, but generally, try to keep setting and getting of imagesource as simple as possible. crashes in general should go to supp...@runrev.com , or the quality center. Not that i did that, because interrupting a set of a imagesource does sometimes crash, unfortunately i haven't been able to reproduce it, so i didn't report it. try to download your images into files, then showing those files in your image object. On 20 May 2011, at 01:10, Ray Horsley wrote: Chris, Definitely a cool thing - DropBox. Here's the link: http://dl.dropbox.com/u/29743466/Test.LiveCode I'll also put the same stack on my own server just in case at: http://www.linkit.com/zAccess/Test.zip Please take a look if you have a minute. I can't get anything to keep Livecode from totaling crashing with this rather simple stack. Even if I had some way of knowing when the imageSource's URL has finished downloading I could disable buttons so requests don't seemingly back up and crash Livecode. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 3:31 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL https://www.dropbox.com/help/167 ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 2:45 PM, Ray Horsley r...@linkit.com wrote: Wouldn't that be my email (r...@linkit.com)? (stepping out for a few hours.) Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Thursday, May 19, 2011 2:40 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL He would need the link to it right? Bob On May 19, 2011, at 11:31 AM, Ray Horsley wrote: Chris, Cool download - Dropbox. I believe I've set it up right. Do you see my stack? Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 1:44 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL DropBox, which is free, is another great way to share stacks. I keep many of my works-in-progress in a DropBox folder, which means sharing one to the list is as easy as right-clicking the file and selecting the public link for it from the DropBox menu. (PC and Mac) If you don't want to install it on your computer, you can just use the web interface. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Ray Horsley wrote: OK. I've never tried including attachments on the list before but here it is. Your attachment was stripped from the message before delivery to the subscribers, because this list doesn't allow attachments. You'll have to post it to a server or to RevOnline and post the URL here. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription
RE: Livecode Crashes with Image Source Set to a URL
Stephen, I didn't set the radio behavior of the group. I believe that's the default setting. Anyway, I don't think it will make any difference regarding the crash. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of stephen barncard Sent: Thursday, May 19, 2011 8:22 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL Confirmed that it crashes on the third card. Ray, a question: Why is 'Radiobehavior' true on group 'Header'? this is usually only used for controlling radio buttons. Just tested after deselecting 'radiobehavior'. No crash. On 19 May 2011 16:10, Ray Horsley r...@linkit.com wrote: Chris, Definitely a cool thing - DropBox. Here's the link: http://dl.dropbox.com/u/29743466/Test.LiveCode I'll also put the same stack on my own server just in case at: http://www.linkit.com/zAccess/Test.zip Please take a look if you have a minute. I can't get anything to keep Livecode from totaling crashing with this rather simple stack. Even if I had some way of knowing when the imageSource's URL has finished downloading I could disable buttons so requests don't seemingly back up and crash Livecode. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 3:31 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL https://www.dropbox.com/help/167 ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 2:45 PM, Ray Horsley r...@linkit.com wrote: Wouldn't that be my email (r...@linkit.com)? (stepping out for a few hours.) Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Thursday, May 19, 2011 2:40 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL He would need the link to it right? Bob On May 19, 2011, at 11:31 AM, Ray Horsley wrote: Chris, Cool download - Dropbox. I believe I've set it up right. Do you see my stack? Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 1:44 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL DropBox, which is free, is another great way to share stacks. I keep many of my works-in-progress in a DropBox folder, which means sharing one to the list is as easy as right-clicking the file and selecting the public link for it from the DropBox menu. (PC and Mac) If you don't want to install it on your computer, you can just use the web interface. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Ray Horsley wrote: OK. I've never tried including attachments on the list before but here it is. Your attachment was stripped from the message before delivery to the subscribers, because this list doesn't allow attachments. You'll have to post it to a server or to RevOnline and post the URL here. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http
RE: Livecode Crashes with Image Source Set to a URL
Jackie, Thanks for your input but I've tried all combinations of locking messages and leaving them unlocked along with various different positionings of flushEvents. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay Sent: Thursday, May 19, 2011 9:54 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL On 5/19/11 5:50 PM, Ray Horsley wrote: Hugh, Thanks for your ideas but this unfortunately doesn't work. I meant to mention that I've tried various locations of the flushEvents function, both in the mouseUp and mouseDown handlers as well as with and without unlocking messages. They all lead to the same crash. My guess would be that you're locking messages, and libURL needs messages in order to get the URL from your server. Try not locking messages, then use flushevents if you need to. -- 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: Livecode Crashes with Image Source Set to a URL
Hugh, Very interesting! Are you sure you gave it a good try? I have to work it a bit to get it to crash. Usually trying different speeds of click-click-click-click without regard as to what I see on screen. Nonetheless, I think downloading/importing the images and setting the imageSource to their ID's is going to be the solution. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of FlexibleLearning Sent: Friday, May 20, 2011 1:57 AM To: use-livecode@lists.runrev.com Subject: RE: Livecode Crashes with Image Source Set to a URL Ray I cannot crash your stack. Works fine. Windows XP w/4.5.2 in the mc IDE. Am suspecting either the version or (heaven forfend) the LC IDE. Why use a url-based imgSrc? Why not store the imgs in a substack instead? If you have to fequently update the imgs, can you 'start using' a url-based stack of the required img references on launch so it's in cache instead? Hugh Senior FLCo Ray wrote: Please take a look if you have a minute. I can't get anything to keep Livecode from totaling crashing with this rather simple stack. Even if I had some way of knowing when the imageSource's URL has finished downloading I could disable buttons so requests don't seemingly back up and crash Livecode. Thanks, Ray ___ 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
Livecode Crashes with Image Source Set to a URL
Greetings, I've created a simple stack of 3 cards with Prev and Next buttons to navigate through them. Each card has a single field with a single character whose imageSource is set to a URL, for example: http://linkit.com/Schools/ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20 Bank/06%20Math%20QTI%20with%20GUIDs%20and%2096dpi%20PNG/Grade%2007Math-51/im ages/mml1616474.png To make sure no other handlers are running unnecessarily I've written the button scripts as: on mouseUp lock messages go next card put the short name of this cd into fld CardName end mouseUp Nonetheless, if you repeatedly click either the Prev or Next button rapidly Livecode will crash (quit unexpectedly and without warning). In some cases the stack file itself becomes coruppted and can not be re-opened. (I'd love to share this tiny stack with anybody who's interested. Please let me know.) Any ideas anybody? Thanks, Ray ___ 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: Livecode Crashes with Image Source Set to a URL
Chris, Cool download - Dropbox. I believe I've set it up right. Do you see my stack? Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 1:44 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL DropBox, which is free, is another great way to share stacks. I keep many of my works-in-progress in a DropBox folder, which means sharing one to the list is as easy as right-clicking the file and selecting the public link for it from the DropBox menu. (PC and Mac) If you don't want to install it on your computer, you can just use the web interface. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Ray Horsley wrote: OK. I've never tried including attachments on the list before but here it is. Your attachment was stripped from the message before delivery to the subscribers, because this list doesn't allow attachments. You'll have to post it to a server or to RevOnline and post the URL here. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ 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: Livecode Crashes with Image Source Set to a URL
Hugh, Thanks for your ideas but this unfortunately doesn't work. I meant to mention that I've tried various locations of the flushEvents function, both in the mouseUp and mouseDown handlers as well as with and without unlocking messages. They all lead to the same crash. Anybody else? Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of FlexibleLearning Sent: Thursday, May 19, 2011 2:48 PM To: use-livecode@lists.runrev.com Subject: RE: Livecode Crashes with Image Source Set to a URL Hi Ray, Just a suggestion... on mouseUp lock messages go next card put the short name of this cd into fld CardName --| Add this line... get flushEvents(all) --| And this for completeness... unlock messages end mouseUp Does it solve your problem? You are also not unlocking messages, which (techincally) is a good thing to do unless there is a good reason not to do so. Hugh Senior FLCo Ray Horsley r...@linkit.com wrote: I've created a simple stack of 3 cards with Prev and Next buttons to navigate through them. Each card has a single field with a single character whose imageSource is set to a URL, for example: http://linkit.com/Schools/ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20 Bank/06%20Math%20QTI%20with%20GUIDs%20and%2096dpi%20PNG/Grade%2007Math-51/im ages/mml1616474.png To make sure no other handlers are running unnecessarily I've written the button scripts as: on mouseUp lock messages go next card put the short name of this cd into fld CardName end mouseUp Nonetheless, if you repeatedly click either the Prev or Next button rapidly Livecode will crash (quit unexpectedly and without warning). In some cases the stack file itself becomes coruppted and can not be re-opened. (I'd love to share this tiny stack with anybody who's interested. Please let me know.) Any ideas anybody? Thanks, Ray ___ 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: Livecode Crashes with Image Source Set to a URL
Chris, Definitely a cool thing - DropBox. Here's the link: http://dl.dropbox.com/u/29743466/Test.LiveCode I'll also put the same stack on my own server just in case at: http://www.linkit.com/zAccess/Test.zip Please take a look if you have a minute. I can't get anything to keep Livecode from totaling crashing with this rather simple stack. Even if I had some way of knowing when the imageSource's URL has finished downloading I could disable buttons so requests don't seemingly back up and crash Livecode. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 3:31 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL https://www.dropbox.com/help/167 ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 2:45 PM, Ray Horsley r...@linkit.com wrote: Wouldn't that be my email (r...@linkit.com)? (stepping out for a few hours.) Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Thursday, May 19, 2011 2:40 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL He would need the link to it right? Bob On May 19, 2011, at 11:31 AM, Ray Horsley wrote: Chris, Cool download - Dropbox. I believe I've set it up right. Do you see my stack? Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 1:44 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL DropBox, which is free, is another great way to share stacks. I keep many of my works-in-progress in a DropBox folder, which means sharing one to the list is as easy as right-clicking the file and selecting the public link for it from the DropBox menu. (PC and Mac) If you don't want to install it on your computer, you can just use the web interface. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Ray Horsley wrote: OK. I've never tried including attachments on the list before but here it is. Your attachment was stripped from the message before delivery to the subscribers, because this list doesn't allow attachments. You'll have to post it to a server or to RevOnline and post the URL here. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ 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 ___ 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: Datagrid Column Resizing Message
Pete, Thanks for your response but I'm not having any luck with this. I've tried the following short script: on layoutControl param1 put 1 into tmp end layoutControl in the group, the cd and the stack but none of these areas catch the layoutControl message. Could it be some other message maybe? Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Pete Sent: Wednesday, May 11, 2011 11:33 PM To: How to use LiveCode Subject: Re: Datagrid Column Resizing Message I think, but not sure, that the layoutControl handler is what you want, although its sole parameter is a control rectangle so I'm not sure how you would determine what column got resized. Sorry, haven't done anything with thiss but maybe you can find out more at http://lessons.runrev.com/spaces/lessons/manuals/datagrid Pete Molly's Revenge http://www.mollysrevenge.com On Wed, May 11, 2011 at 7:12 PM, Ray Horsley r...@linkit.com wrote: Does anybody know what message is sent, and where I can trap for it, when a user manually resizes a column by dragging the border between column headings with the double arrow cursor? Thanks, Ray ___ 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: Datagrid Column Resizing Message
That did it! Many thanks to zryip theSlug and Trevor for this simple solution. setprop dgColumnWidth hide graphic ColHiliter-- a graphic I use to highlight column headings, needs to be put away when column widths are adjusted pass dgColumnWidth end dgColumnWidth Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of zryip theSlug Sent: Thursday, May 12, 2011 7:41 AM To: How to use LiveCode Subject: Re: Datagrid Column Resizing Message On Thu, May 12, 2011 at 1:14 PM, Ray Horsley r...@linkit.com wrote: Pete, Thanks for your response but I'm not having any luck with this. I've tried the following short script: on layoutControl param1 put 1 into tmp end layoutControl in the group, the cd and the stack but none of these areas catch the layoutControl message. Could it be some other message maybe? Thanks, Hi Ray, Have a look to this thread: http://www.mail-archive.com/use-livecode@lists.runrev.com/msg06137.html Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Datagrid Column Resizing Message
Ahh! I'll take a look. Right now I'm trying to stop the datagrid from resorting itself when I set the dgText of the group. I've purchased a copy of zryip's Data Grid Helper which hopefully will help with some of these things. Thanks for the tip, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Pete Sent: Thursday, May 12, 2011 10:54 AM To: How to use LiveCode Subject: Re: Datagrid Column Resizing Message Hi Ray, The script has to be in the custom behavior for the column. If you haven't used custom column behaviors, probably easiest thing is to take a look at the link I sent in my earlier email - lots of lessons on how to use datagrids there including setting up a custom column behavior. And I just realised I answered my own question about how to figure out which column got resized! Pete Molly's Revenge http://www.mollysrevenge.com On Thu, May 12, 2011 at 4:14 AM, Ray Horsley r...@linkit.com wrote: Pete, Thanks for your response but I'm not having any luck with this. I've tried the following short script: on layoutControl param1 put 1 into tmp end layoutControl in the group, the cd and the stack but none of these areas catch the layoutControl message. Could it be some other message maybe? Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Pete Sent: Wednesday, May 11, 2011 11:33 PM To: How to use LiveCode Subject: Re: Datagrid Column Resizing Message I think, but not sure, that the layoutControl handler is what you want, although its sole parameter is a control rectangle so I'm not sure how you would determine what column got resized. Sorry, haven't done anything with thiss but maybe you can find out more at http://lessons.runrev.com/spaces/lessons/manuals/datagrid Pete Molly's Revenge http://www.mollysrevenge.com On Wed, May 11, 2011 at 7:12 PM, Ray Horsley r...@linkit.com wrote: Does anybody know what message is sent, and where I can trap for it, when a user manually resizes a column by dragging the border between column headings with the double arrow cursor? Thanks, Ray ___ 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 ___ 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
Datagrid Column Resizing Message
Does anybody know what message is sent, and where I can trap for it, when a user manually resizes a column by dragging the border between column headings with the double arrow cursor? Thanks, Ray ___ 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: TextShift
Jackie, Thanks for your input. I assume you mean getting the textShift on 2 or more characters when you mention a text run. That would make sense. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay Sent: Tuesday, March 29, 2011 10:37 PM To: How to use LiveCode Subject: Re: TextShift On 3/29/11 6:37 PM, Ray Horsley wrote: Somehow on of our users ended up with a character in a field with a textShift value of mixed. I thought this value had to be a negative or positive integer (or zero). Anybody know how such a value got there? If it's a text run, each character can have its own textshift setting. If they all aren't the same, you get mixed. -- 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
Convert Color JPEG to Black and White
Can this be done in LiveCode? If not, anybody have a utility to do so? Thanks, Ray Horsley LinkIt! Software ___ 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
TextShift
Somehow on of our users ended up with a character in a field with a textShift value of mixed. I thought this value had to be a negative or positive integer (or zero). Anybody know how such a value got there? Thanks, Ray ___ 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: Datagrid Column Highlighting
Bob, Much thanks for making me aware of this supplement! Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Tuesday, March 22, 2011 2:52 PM To: How to use LiveCode Subject: Re: Datagrid Column Highlighting I don't think you can select an entire column. What you can do is fake it. The Data Grid Helper by Zryip allows you to set a script that disables sorting, but you need to make the user think a column is selected. Data Grid Helper also has a way of manually setting alternating column colors like you can with rows. You should see if he will include a new script to hilite a single column (if that is even possible). Bob On Mar 22, 2011, at 10:38 AM, Ray Horsley wrote: I can't seem to figure out how to stop a datagrid's behavior from sorting the entire grid each time a user clicks a column heading. I would much rather have the column highlighted after the user clicks it instead of sorting. Anybody know how to set this? Thanks, Ray ___ 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
Datagrid Column Highlighting
I can't seem to figure out how to stop a datagrid's behavior from sorting the entire grid each time a user clicks a column heading. I would much rather have the column highlighted after the user clicks it instead of sorting. Anybody know how to set this? Thanks, Ray ___ 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
Editing a Cell in a Datagrid
Greetings, LiveCode's datagrid seems kind of sticky to me. I'm simply trying to open up any given cell for editing without obligating the user to double-click it. I'm not having any luck with the commands from the tutorials such as EditFieldText, EditValue, EditKey and EditKeyOfIndex. EditFieldText seems most likely but it never likes the parameters I send it. EditCell seems pretty straight forward by simply passing the column name and line number but this produces an error that no such handler exists. Any ideas? Thanks, Ray ___ 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
Editing a Cell in a Datagrid
Please disregard. I got it! (One of those embarrassing little oversights) Thanks, Ray ___ 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
Answer and Ask Dialogs
I know I should probably use a stack of my own for these but I've been using the 'answer' and 'ask' commands so long that it's become a daunting task to swap them all out for something else. Anyway, anybody know where these stacks reside so I can alter their appearance and other things like where they appear on screen when opened? Thanks, Ray Horsley LinkIt! Software ___ 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: Answer and Ask Dialogs
Jim, Very helpful! Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Jim Ault Sent: Tuesday, March 01, 2011 6:11 PM To: How to use LiveCode Subject: Re: Answer and Ask Dialogs On Mar 1, 2011, at 10:08 AM, Ray Horsley wrote: I know I should probably use a stack of my own for these but I've been using the 'answer' and 'ask' commands so long that it's become a daunting task to swap them all out for something else. Anyway, anybody know where these stacks reside so I can alter their appearance and other things like where they appear on screen when opened? Open the Application Browser by using the Tools menu then choose Revolution UI Elements in Lists in the View menu ( LiveCode may have changed this menu entry) Now you should see all the Integrated Dev Environ stacks (IDE) that all begin with 'rev', with the exception of the stack called Home You can now open these stacks and cards, scripts and settings. If you modify and save changes, your IDE will retain those, so be careful about corrupting your editing environ. Hope this helps. Jim Ault Las Vegas ___ 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
Keystrokes Running in Background
Anybody know of a way to trap for keystrokes when a standalone is running as a service. I'm using Fire Daemon on Windows 7. I'm trying to write a simple app which launches programs on pre-defined keystrokes. Thanks, Ray Horsley LinkIt! Software ___ 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: Keystrokes Running in Background
I agree. This will be for my own personal use only. But does this actually work even when the stand alone is not the active applications? Thanks, Ray Horsley LinkIt! Software -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Monday, February 21, 2011 1:50 PM To: How to use LiveCode Subject: Re: Keystrokes Running in Background I needed to do the same thing for a LC tool I use. The only way I found to work it was by polling. This means that the script may miss the keypress if it is too short. -- poll for control-enter keypress on KeyMonitor get , the keysDown , if ,65507, is in it and ,65293, is in it and the hilight of btn Active is true then -- do stuff here end if if KeyMonitor is not in the pendingmessages then send KeyMonitor to me in 10 ticks end KeyMonitor I wouldn't want to use this for a program you plan to distribute, but for my own purposes - where I know about the sample rate and will remember to hold the keys down for a moment - it works fine. ~ Chris Innanen ~ Nonsanity On Mon, Feb 21, 2011 at 11:16 AM, Ray Horsley r...@linkit.com wrote: Anybody know of a way to trap for keystrokes when a standalone is running as a service. I'm using Fire Daemon on Windows 7. I'm trying to write a simple app which launches programs on pre-defined keystrokes. Thanks, Ray Horsley LinkIt! Software ___ 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: Keystrokes Running in Background
Chris, Many thanks! Thanks, Ray Horsley LinkIt! Software -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Monday, February 21, 2011 3:12 PM To: How to use LiveCode Subject: Re: Keystrokes Running in Background It does for me. You just need to find out the values of the keys you are interested it. It even works for modifier keys, as in my control-enter example. Send the keysDown to the msg box to find out what values to look for. ~ Chris Innanen ~ Nonsanity On Mon, Feb 21, 2011 at 1:55 PM, Ray Horsley r...@linkit.com wrote: I agree. This will be for my own personal use only. But does this actually work even when the stand alone is not the active applications? Thanks, Ray Horsley LinkIt! Software -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity Sent: Monday, February 21, 2011 1:50 PM To: How to use LiveCode Subject: Re: Keystrokes Running in Background I needed to do the same thing for a LC tool I use. The only way I found to work it was by polling. This means that the script may miss the keypress if it is too short. -- poll for control-enter keypress on KeyMonitor get , the keysDown , if ,65507, is in it and ,65293, is in it and the hilight of btn Active is true then -- do stuff here end if if KeyMonitor is not in the pendingmessages then send KeyMonitor to me in 10 ticks end KeyMonitor I wouldn't want to use this for a program you plan to distribute, but for my own purposes - where I know about the sample rate and will remember to hold the keys down for a moment - it works fine. ~ Chris Innanen ~ Nonsanity On Mon, Feb 21, 2011 at 11:16 AM, Ray Horsley r...@linkit.com wrote: Anybody know of a way to trap for keystrokes when a standalone is running as a service. I'm using Fire Daemon on Windows 7. I'm trying to write a simple app which launches programs on pre-defined keystrokes. Thanks, Ray Horsley LinkIt! Software ___ 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 ___ 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
Bullets in Script Editor Window
Typing bullets on a Mac is a simple option-8 (I believe) while on Windows it's option-0149. However, type this in Livecode's script editor window and you end up with the blinking insertion point jumping all over the place, which can be quite aggravating. Anybody have any ideas? Thanks, Ray Horsley LinkIt! Software ___ 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: Bullets in Script Editor Window
Craig, It works fine on my Mac, too. I'm only having problems on the Windows side. The way it works it you hold down the option (alt) key and type a zero, then (continuing to hold down the option key) you type a 1, etc, till you finish typing 0, 1, 4, 9. The bullet should appear when you release the option key after typing the 9. I actually get the bullet but at some random location, not where I started. Thanks, Ray Horsley LinkIt! Software -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com Sent: Wednesday, February 09, 2011 10:42 AM To: use-livecode@lists.runrev.com Subject: Re: Bullets in Script Editor Window Do you mean the issue is strictly in Windows? Because option-8 works fine on my Mac. But how does one type option 0149? I would need two friends to help me type that all at once. Craig Newman -Original Message- From: Ray Horsley r...@linkit.com To: Use-Revolution use-livecode@lists.runrev.com Sent: Wed, Feb 9, 2011 10:19 am Subject: Bullets in Script Editor Window Typing bullets on a Mac is a simple option-8 (I believe) while on Windows it's option-0149. However, type this in Livecode's script editor window and you end up with the blinking insertion point jumping all over the place, which can be quite aggravating. Anybody have any ideas? Thanks, Ray Horsley LinkIt! Software ___ 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: Bullets in Script Editor Window
Not a stupid question at all. As a matter of fact I was just looking into that. I believe the numlock is on but I'm using one of those real thin Mac keyboards (on a Windows machine) so there's no 'numlock' key per say but rather a combination of keys to flip it on and off. You wouldn't have any ideas what the key combo is would you? Thanks, Ray Horsley LinkIt! Software -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mike Bonner Sent: Wednesday, February 09, 2011 11:22 AM To: How to use LiveCode Subject: Re: Bullets in Script Editor Window Just tried it here, is working for me so I have a stupid question. If you're using the keypad, is your numlock on? On Wed, Feb 9, 2011 at 9:03 AM, Ray Horsley r...@linkit.com wrote: Craig, It works fine on my Mac, too. I'm only having problems on the Windows side. The way it works it you hold down the option (alt) key and type a zero, then (continuing to hold down the option key) you type a 1, etc, till you finish typing 0, 1, 4, 9. The bullet should appear when you release the option key after typing the 9. I actually get the bullet but at some random location, not where I started. Thanks, Ray Horsley LinkIt! Software -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com Sent: Wednesday, February 09, 2011 10:42 AM To: use-livecode@lists.runrev.com Subject: Re: Bullets in Script Editor Window Do you mean the issue is strictly in Windows? Because option-8 works fine on my Mac. But how does one type option 0149? I would need two friends to help me type that all at once. Craig Newman -Original Message- From: Ray Horsley r...@linkit.com To: Use-Revolution use-livecode@lists.runrev.com Sent: Wed, Feb 9, 2011 10:19 am Subject: Bullets in Script Editor Window Typing bullets on a Mac is a simple option-8 (I believe) while on Windows it's option-0149. However, type this in Livecode's script editor window and you end up with the blinking insertion point jumping all over the place, which can be quite aggravating. Anybody have any ideas? Thanks, Ray Horsley LinkIt! Software ___ 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 ___ 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: Bullets in Script Editor Window
I think it's probably a matter of which keyboard you're using. Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com Sent: Wednesday, February 09, 2011 11:41 AM To: use-livecode@lists.runrev.com Subject: Re: Bullets in Script Editor Window Oh. It really does work. What do you know? For me it does not matter if numLock is on or not. Works both ways. Craig -Original Message- From: Mike Bonner bonnm...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Wed, Feb 9, 2011 11:21 am Subject: Re: Bullets in Script Editor Window Just tried it here, is working for me so I have a stupid question. If you're using the keypad, is your numlock on? On Wed, Feb 9, 2011 at 9:03 AM, Ray Horsley r...@linkit.com wrote: Craig, It works fine on my Mac, too. I'm only having problems on the Windows side. The way it works it you hold down the option (alt) key and type a zero, then (continuing to hold down the option key) you type a 1, etc, till you finish typing 0, 1, 4, 9. The bullet should appear when you release the option key after typing the 9. I actually get the bullet but at some random location, not where I started. Thanks, Ray Horsley LinkIt! Software -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com Sent: Wednesday, February 09, 2011 10:42 AM To: use-livecode@lists.runrev.com Subject: Re: Bullets in Script Editor Window Do you mean the issue is strictly in Windows? Because option-8 works fine on my Mac. But how does one type option 0149? I would need two friends to help me type that all at once. Craig Newman -Original Message- From: Ray Horsley r...@linkit.com To: Use-Revolution use-livecode@lists.runrev.com Sent: Wed, Feb 9, 2011 10:19 am Subject: Bullets in Script Editor Window Typing bullets on a Mac is a simple option-8 (I believe) while on Windows it's option-0149. However, type this in Livecode's script editor window and you end up with the blinking insertion point jumping all over the place, which can be quite aggravating. Anybody have any ideas? Thanks, Ray Horsley LinkIt! Software ___ 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 ___ 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: Bullets in Script Editor Window
Not a bad idea. I'll try adding something like that to the script editor stack. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar Sent: Wednesday, February 09, 2011 12:19 PM To: How to use LiveCode Subject: Re: Bullets in Script Editor Window I wonder if you can trap for alt-8 just for windows, issue a command to type numtochar(149) and pass everything else? Bob On Feb 9, 2011, at 7:19 AM, Ray Horsley wrote: Typing bullets on a Mac is a simple option-8 (I believe) while on Windows it's option-0149. However, type this in Livecode's script editor window and you end up with the blinking insertion point jumping all over the place, which can be quite aggravating. Anybody have any ideas? Thanks, Ray Horsley LinkIt! Software ___ 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
Sharing an iPad Standalone
I understand the only way of posting an app for others to download is through Apple's app store. Anybody know where I can get the procedure to do this. Thanks, Ray Horsley LinkIt! Software ___ 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