This session has timed out
Here's a new one. On launching Livecode I see "This session has timed out" ...and no matter what license I enter it endlessly cycles the same dialog. Ideas anyone? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Tree View in a Datagrid
Has anybody tried to create a tree view in a datagrid? I have a datagrid which I need to be able to 'collapse' group of lines in order to reduce excessive vertical scrolling. ___ use-livecode mailing list use-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: Tree View in a Datagrid
Zryip, Oooh! Many thanks. I'll look into this immediately. Sounds like just the docs I'm looking for. Ray On 6/3/2014 4:50 PM, zryip theSlug wrote: Hi Ray, The DGH property palette is a datagrid table, using a tree of 1 sub-level depth: www.aslugontheroad.com/images/DGH/Properties_palette.png In the Excel Library documentation, the list on the left is a datagrid form www.aslugontheroad.com/images/Preview/Excel_Lib_Preview/XCEL_Lib_Doc_Preview.png My needs were limited to a tree of one sub-level, however this is possible to have more levels. DGH is now open source, so you can have a look inside it to see how the tree is working. Best, On Tue, Jun 3, 2014 at 5:38 PM, Ray wrote: Has anybody tried to create a tree view in a datagrid? I have a datagrid which I need to be able to 'collapse' group of lines in order to reduce excessive vertical scrolling. ___ use-livecode mailing list use-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
Image File Size Reduction
Does anybody know of a way to reduce an image's disk size from within Livecode? Specifically, I'd like to be able to: 1) change the file from PNG to JPEG 2) change the color depth for PNG's to 8 bit 3) change the dimensions Regarding the last of these I know you can set it up and take a snapshot but I was kind of looking for a way to do all three of these without a lot of fussing around. If not, does anybody know of any command line tools which will do this? Image Magick works but I don't believe they have a command prompt version. Very PDF has a product named Document Converter but it only does #1. Many Thanks! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Image File Size Reduction
Thierry - I didn't think there was a command-line version of Image Magick but I guess there is. Thanks! On 8/6/2014 1:36 PM, Thierry Douez wrote: Ray, http://www.imagemagick.org/script/command-line-tools.php on Mac, you can use "sips" HTH, Thierry Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2014-08-06 18:18 GMT+02:00 Ray : Does anybody know of a way to reduce an image's disk size from within Livecode? Specifically, I'd like to be able to: 1) change the file from PNG to JPEG 2) change the color depth for PNG's to 8 bit 3) change the dimensions Regarding the last of these I know you can set it up and take a snapshot but I was kind of looking for a way to do all three of these without a lot of fussing around. If not, does anybody know of any command line tools which will do this? Image Magick works but I don't believe they have a command prompt version. Very PDF has a product named Document Converter but it only does #1. Many Thanks! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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: Image File Size Reduction
Jacques - interesting. This might fit my needs. Thanks for the idea. On 8/6/2014 1:37 PM, Jacques Hausser wrote: I don't know fi it's the best way, but in one of my applications, I drag and drop an image and retrieve only it's file path (e.g. : put the dragData["files"] into photoFile); then I set the filename of existing empty images to this file path, adjust the size as needed (in reference to rectangles on the card) and export them "as jpeg" (and so I get rid of EXIF metadata). For the colors, I don't know... Le 6 août 2014 à 18:18, Ray a écrit : Does anybody know of a way to reduce an image's disk size from within Livecode? Specifically, I'd like to be able to: 1) change the file from PNG to JPEG 2) change the color depth for PNG's to 8 bit 3) change the dimensions Regarding the last of these I know you can set it up and take a snapshot but I was kind of looking for a way to do all three of these without a lot of fussing around. If not, does anybody know of any command line tools which will do this? Image Magick works but I don't believe they have a command prompt version. Very PDF has a product named Document Converter but it only does #1. Many Thanks! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-livecode mailing list use-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: Image File Size Reduction
Thierry - are you sure I need to use sips for Mac? It appears Image Magick has command line tools for Mac also. On 8/6/2014 1:53 PM, Thierry Douez wrote: Thierry - I didn't think there was a command-line version of Image Magick but I guess there is. Thanks! You're welcome :) I was used to work a lot with them years ago and mainly on Linux. I'm using successfully sips on Mac from time to time. Regards, Thierry On 8/6/2014 1:36 PM, Thierry Douez wrote: Ray, http://www.imagemagick.org/script/command-line-tools.php on Mac, you can use "sips" Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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: Image File Size Reduction
I've become a Windows user and didn't realize sips was built into the Mac OS. Thanks Klaus and Thierry. I'll look into this. On 8/6/2014 2:14 PM, Thierry Douez wrote: Thierry - are you sure I need to use sips for Mac? It appears Image Magick has command line tools for Mac also. In between us, getting older and older, I'm sure of less and less and I'm bored with those so sure of... :) That said, the nice thing about sips is that it is already installed and working on the Mac; nothing to download. That's why I speak about it. Comparing sips with imagemagick will be another topic, and certainly a long one. Both tools are good. Does that make sense? Thierry On 8/6/2014 1:53 PM, Thierry Douez wrote: Thierry - I didn't think there was a command-line version of Image Magick but I guess there is. Thanks! You're welcome :) I was used to work a lot with them years ago and mainly on Linux. I'm using successfully sips on Mac from time to time. Regards, Thierry On 8/6/2014 1:36 PM, Thierry Douez wrote: Ray, http://www.imagemagick.org/script/command-line-tools.php on Mac, you can use "sips" Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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: Image File Size Reduction
Thanks hh - I haven't gotten into the Mac side yet but this is helpful for when I get around to it. On 8/6/2014 6:26 PM, hh wrote: One more interesting thing with sips on MacOS that Thierry not mentioned (because this is his daily 2nd breakfast I suppose): One can effectively use it via applescript by the "image events" suite and can even modify ColorSync ICC profiles with it (am I right Thierry?). This is not subject here but may be interesting for some 'beginner readers' in this context: "convert", one of the imageMagick tools Klaus had in mind, could have some more options than sips for importing/exporting special formats (camera formats), see put shell("/usr/local/bin/convert -list format"). ___ use-livecode mailing list use-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: Image File Size Reduction
Richard, After considering both Image Magick and SIPS for the Mac side of things (even though Image Magick has command prompt for Mac) I've ended up working within Livecode as you've suggested. It's going well. Thanks! I'll post something tomorrow and let you know how it goes altering the color depth. Ray On 8/6/2014 9:52 PM, Richard Gaskin wrote: Ray wrote: > Does anybody know of a way to reduce an image's disk size from within > Livecode? > > Specifically, I'd like to be able to: > 1) change the file from PNG to JPEG import PNG; export as JPEG > 2) change the color depth for PNG's to 8 bit "export as raw..." might help, maybe even "export with palette..." (filter the Dictionary for "export" to see the new options) But AFAIK JPEG is always full color anyway, so the biggest reduction in size is likely to come from setting the JPEGQuality global property before exporting in that format. > 3) change the dimensions set the rect... > Regarding the last of these I know you can set it up and take a > snapshot but I was kind of looking for a way to do all three of > these without a lot of fussing around. Any such transformations will involve some fussing around, but it's often more fun to fuss around in LiveCode than anything else. :) ___ use-livecode mailing list use-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: Image File Size Reduction
Richard, I finally got around to trying your suggestions regarding changing an image file's color depth. I'm not sure what the syntax is. Here's the exact line of code: export img myImage to file myFilePath as png I've tried inserting "as raw" or even just "raw" just about everywhere I can imagine in that command and I always come up with errors. Your other suggestions are working out really well. I'm especially having fun 'exporting with palette' Many thanks!!! On 8/6/2014 9:52 PM, Richard Gaskin wrote: Ray wrote: > Does anybody know of a way to reduce an image's disk size from within > Livecode? > > Specifically, I'd like to be able to: > 1) change the file from PNG to JPEG import PNG; export as JPEG > 2) change the color depth for PNG's to 8 bit "export as raw..." might help, maybe even "export with palette..." (filter the Dictionary for "export" to see the new options) But AFAIK JPEG is always full color anyway, so the biggest reduction in size is likely to come from setting the JPEGQuality global property before exporting in that format. > 3) change the dimensions set the rect... > Regarding the last of these I know you can set it up and take a > snapshot but I was kind of looking for a way to do all three of > these without a lot of fussing around. Any such transformations will involve some fussing around, but it's often more fun to fuss around in LiveCode than anything else. :) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Unwanted 'Pulsing' when Changing an Image's Angle
Greetings, I've got an image of a beach ball, about 100 pixels in both width and height. If I use a repeat loop to cycle through setting the angle of the image from a value of 360 down to 0 it spins, as intended, but it also 'pulses' toward me and away from me, twelve times I believe for each 360 degrees. It seems like for the first 15 degrees of change the image gets smaller. Then for the next 15 degrees it gets bigger again and repeats this. There's no change in the bounding rectangle. Does anybody know the math formula or any other way to compensate for this so I can eliminate the unwanted pulsing? Many 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: Unwanted 'Pulsing' when Changing an Image's Angle
Al, Thanks, but I was kind of hoping to get a more realistic spinning ball by using a larger variety of angles. Are you sure there's no other way around this? And by the way, why do you think the ball is shrinking and growing inside the bounding rectangle? Thanks, Ray On 9/16/2014 8:50 PM, Alejandro Tejada wrote: Hi Ray, Set the angle of your image only to these values: 0 90 180 270 This worked fine with a rotating Soccer Ball... :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683317.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
Re: Unwanted 'Pulsing' when Changing an Image's Angle
Fantastic! Setting LockLoc to false did the trick. I wonder why lockLoc set to false creates this pulsing effect (the image is actually getting smaller and returning to its original size) in the first place. Anyway, problem solved. And Alejandro, many thanks for sharing the code which I think I may have some use for in another way. Many thanks! Ray Horsley LinkIt! Software On 9/16/2014 9:49 PM, Alejandro Tejada wrote: Randy Hengst wrote I don't know how to totally get rid of the wobble … it seems like there is always a bit one one… but I've seen the pulsing effect when rotating an image with lockLoc set to true. Yes, lockLoc produces this effect in a rotating image. :( Check if this handler posted by Jim Hurley could help in your project: On Jan 08, 2012, jim hurley posted The script below will allow you to rotate an image about any predefined point. Create a button. Create an image. Place the button at any point relative to the image. (Perhaps use a grab me in a mousedown handler.) Click the button. The image will rotate about the center of the button. (For your application you would replace the center of rotation with the center of mass.) on mouseUp set the angle of img 1 to 0 put the loc of me into myLoc --Set the coor of the rotation Pt put item 1 of myLoc into x0 put item 2 of myLoc into y0 --Get the loc of the image put the loc of img 1 into tLoc put item 1 of tLoc into xC put item 2 of tLoc into yC --Get the distance between the roation pt and the image center put sqrt ( (xC - x0 )^2 + (yC - y0)^2 ) into L --Get the angle of the line from the rotation center to the image center put atan2(yC-y0, xC-x0) *180/pi into phi0 put 0 into tAngle repeat 360 times lock screen set the angle of img 1 to -tAngle put phi0 + tAngle into phi set the loc of img 1 to (x0 + L * cos(phi*pi/180)), (y0 + L * sin(phi*pi/180)) unlock screen add 1 to tAngle wait 10 millisec --or whatever end repeat end mouseUp on mouseDown grab me --So that you can relocate the rotation center. end mouseDown From this thread: http://runtime-revolution.278305.n4.nabble.com/Rotate-around-Center-of-Mass-td4273701.html -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683321.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
Re: Unwanted 'Pulsing' when Changing an Image's Angle
Terry - thanks for shedding light on this. It's actually starting to make sense now. On 9/16/2014 10:58 PM, Terry Judd wrote: On 17/09/2014 11:40 am, "Ray" wrote: Fantastic! Setting LockLoc to false did the trick. I wonder why lockLoc set to false creates this pulsing effect (the image is actually getting smaller and returning to its original size) in the first place. With the image selected, try setting different angles using the property inspector and you¹ll see that the rect of the image changes (grows) quite a bit. If you constrain the rect by setting its lockLoc to true then you are actually reducing the image¹s size when the angle isn¹t 0 or 180 degrees (or 90 or 270 if it¹s of equal width and height). TerryŠ Anyway, problem solved. And Alejandro, many thanks for sharing the code which I think I may have some use for in another way. Many thanks! Ray Horsley LinkIt! Software On 9/16/2014 9:49 PM, Alejandro Tejada wrote: Randy Hengst wrote I don't know how to totally get rid of the wobble Š it seems like there is always a bit one oneŠ but I've seen the pulsing effect when rotating an image with lockLoc set to true. Yes, lockLoc produces this effect in a rotating image. :( Check if this handler posted by Jim Hurley could help in your project: On Jan 08, 2012, jim hurley posted The script below will allow you to rotate an image about any predefined point. Create a button. Create an image. Place the button at any point relative to the image. (Perhaps use a grab me in a mousedown handler.) Click the button. The image will rotate about the center of the button. (For your application you would replace the center of rotation with the center of mass.) on mouseUp set the angle of img 1 to 0 put the loc of me into myLoc --Set the coor of the rotation Pt put item 1 of myLoc into x0 put item 2 of myLoc into y0 --Get the loc of the image put the loc of img 1 into tLoc put item 1 of tLoc into xC put item 2 of tLoc into yC --Get the distance between the roation pt and the image center put sqrt ( (xC - x0 )^2 + (yC - y0)^2 ) into L --Get the angle of the line from the rotation center to the image center put atan2(yC-y0, xC-x0) *180/pi into phi0 put 0 into tAngle repeat 360 times lock screen set the angle of img 1 to -tAngle put phi0 + tAngle into phi set the loc of img 1 to (x0 + L * cos(phi*pi/180)), (y0 + L * sin(phi*pi/180)) unlock screen add 1 to tAngle wait 10 millisec --or whatever end repeat end mouseUp on mouseDown grab me --So that you can relocate the rotation center. end mouseDown From this thread: http://runtime-revolution.278305.n4.nabble.com/Rotate-around-Center-of-Ma ss-td4273701.html -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4 683313p4683321.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 ___ use-livecode mailing list use-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: Unwanted 'Pulsing' when Changing an Image's Angle
Alejandro, Between you and Terry I've eliminated the unwanted pulsing as long as the image's size doesn't change. However, there's a conflict in that setting the lockLoc to false which also (for some reason) disallows the changing of the image's size. So, if I want my spinning beach ball to also 'come out at you' like starting the spin at 10% of it's original width and height and ending up at 100%, then I've still got problems. My temporary solution is to simply stick with either 0, 90, 180, or 270 for the angles I set but it makes for a rough looking spin. Do you think Jim Hurley's solution, below, holds the promise of resolving the issue of rotating and changing size simultaneously? Thanks, Ray Horsley LinkIt! Software On 9/16/2014 9:49 PM, Alejandro Tejada wrote: Randy Hengst wrote I don't know how to totally get rid of the wobble … it seems like there is always a bit one one… but I've seen the pulsing effect when rotating an image with lockLoc set to true. Yes, lockLoc produces this effect in a rotating image. :( Check if this handler posted by Jim Hurley could help in your project: On Jan 08, 2012, jim hurley posted The script below will allow you to rotate an image about any predefined point. Create a button. Create an image. Place the button at any point relative to the image. (Perhaps use a grab me in a mousedown handler.) Click the button. The image will rotate about the center of the button. (For your application you would replace the center of rotation with the center of mass.) on mouseUp set the angle of img 1 to 0 put the loc of me into myLoc --Set the coor of the rotation Pt put item 1 of myLoc into x0 put item 2 of myLoc into y0 --Get the loc of the image put the loc of img 1 into tLoc put item 1 of tLoc into xC put item 2 of tLoc into yC --Get the distance between the roation pt and the image center put sqrt ( (xC - x0 )^2 + (yC - y0)^2 ) into L --Get the angle of the line from the rotation center to the image center put atan2(yC-y0, xC-x0) *180/pi into phi0 put 0 into tAngle repeat 360 times lock screen set the angle of img 1 to -tAngle put phi0 + tAngle into phi set the loc of img 1 to (x0 + L * cos(phi*pi/180)), (y0 + L * sin(phi*pi/180)) unlock screen add 1 to tAngle wait 10 millisec --or whatever end repeat end mouseUp on mouseDown grab me --So that you can relocate the rotation center. end mouseDown From this thread: http://runtime-revolution.278305.n4.nabble.com/Rotate-around-Center-of-Mass-td4273701.html -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683321.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
Re: Unwanted 'Pulsing' when Changing an Image's Angle
Al, I'll experiment with it some and let you know if this is possible. Thanks, Ray On 9/17/2014 1:09 PM, Alejandro Tejada wrote: Ray Horsley-2 wrote Do you think Jim Hurley's solution, below, holds the promise of resolving the issue of rotating and changing size simultaneously? I think that the answer is no. But I would like to be proven wrong! :) Every time that an image rotate, it's size changes... No way to avoid that. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683342.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
ScrollLineIntoView - Datagrids
Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results. Is there something else I need to to do prepare for this? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Scroll Line Into View in a Datagrid
Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results and nothing in 'the result' Is there something else I need to to do prepare for this? Note: I'm not sure if this got posted earlier. I can never get that "receive your own posts" subscription option to work so please excuse me if this was already posted. ___ use-livecode mailing list use-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: Scroll Line Into View in a Datagrid
Pete, Thanks for the response. I've checked the it variable and I'm getting "handled" returned, which I assume is good. Regarding the line number, I've definitely got over 20 lines of data in the grid. I do only have one line of data for the first two columns with about 23 lines of data in the third. Do you think that could be the problem? Ray Horsley LinkIt! Software On 9/24/2014 9:21 PM, Peter Haworth wrote: Syntax looks good. Couple of things you've probably already checked - what's in the "it" variable after dispatch (should be "handled"), and are you sure 20 is a valid line number. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results and nothing in 'the result' Is there something else I need to to do prepare for this? Note: I'm not sure if this got posted earlier. I can never get that "receive your own posts" subscription option to work so please excuse me if this was already posted. ___ use-livecode mailing list use-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: Scroll Line Into View in a Datagrid
Pete, One more weird thing. Even using the scroll bar I can only 'jump' to one extreme or the other. That is, when I drag the scroll bar even just a little bit down it immediately 'pops' all the data so the last line in it is at the top of the screen. Is there a way to set some sort of scale so scrolling actually works as expected? On 9/24/2014 9:21 PM, Peter Haworth wrote: Syntax looks good. Couple of things you've probably already checked - what's in the "it" variable after dispatch (should be "handled"), and are you sure 20 is a valid line number. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results and nothing in 'the result' Is there something else I need to to do prepare for this? Note: I'm not sure if this got posted earlier. I can never get that "receive your own posts" subscription option to work so please excuse me if this was already posted. ___ use-livecode mailing list use-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: Scroll Line Into View in a Datagrid
Pete - my mistake in calling it a "grid". It actually is a "Table". On 9/24/2014 10:49 PM, Peter Haworth wrote: Hi Ray, So this is a datagrid form, not a table? Have to admit I'm not that familiar with dg forms so not sure what else to suggest, sorry. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: Pete, Thanks for the response. I've checked the it variable and I'm getting "handled" returned, which I assume is good. Regarding the line number, I've definitely got over 20 lines of data in the grid. I do only have one line of data for the first two columns with about 23 lines of data in the third. Do you think that could be the problem? Ray Horsley LinkIt! Software On 9/24/2014 9:21 PM, Peter Haworth wrote: Syntax looks good. Couple of things you've probably already checked - what's in the "it" variable after dispatch (should be "handled"), and are you sure 20 is a valid line number. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results and nothing in 'the result' Is there something else I need to to do prepare for this? Note: I'm not sure if this got posted earlier. I can never get that "receive your own posts" subscription option to work so please excuse me if this was already posted. ___ use-livecode mailing list use-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: Scroll Line Into View in a Datagrid
Pete, Now wait a minute. I've sometimes gotten a bit confused with Livecode's terms. When l look at it in the properties palette it's a "group" with a "style" of "Table" which I can change to "Form" (but I don't). But when I created it I dragged over a "Data Grid" as oposed to a "Basic Table Field" or a "Scrolling Field" for example. So what is it? On 9/24/2014 10:49 PM, Peter Haworth wrote: Hi Ray, So this is a datagrid form, not a table? Have to admit I'm not that familiar with dg forms so not sure what else to suggest, sorry. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: Pete, Thanks for the response. I've checked the it variable and I'm getting "handled" returned, which I assume is good. Regarding the line number, I've definitely got over 20 lines of data in the grid. I do only have one line of data for the first two columns with about 23 lines of data in the third. Do you think that could be the problem? Ray Horsley LinkIt! Software On 9/24/2014 9:21 PM, Peter Haworth wrote: Syntax looks good. Couple of things you've probably already checked - what's in the "it" variable after dispatch (should be "handled"), and are you sure 20 is a valid line number. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results and nothing in 'the result' Is there something else I need to to do prepare for this? Note: I'm not sure if this got posted earlier. I can never get that "receive your own posts" subscription option to work so please excuse me if this was already posted. ___ use-livecode mailing list use-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: Scroll Line Into View in a Datagrid
Pete - thanks for the clarification. I definitely have a datagird table then, not a form. I'm going to experiment recreating similar datagrid tables from scratch to see if I can resolve these scrolling problems. I'll post something after doing so. Thanks, Ray Horsley LinkIt! Software On 9/25/2014 1:21 AM, Peter Haworth wrote: Datagrids come in 2 flavors, table and form. So you have a datagrid table not an LC basic table control. I asked about a form because of your comment about multiple lines. Normally a datagrid table has one line per row with a return character marking the end of a line. If you're trying to put multiple lines in a single datagrid row, I don't think you can do that. Pete lcSQL Software On Sep 24, 2014 7:32 PM, "Ray" wrote: Pete, Now wait a minute. I've sometimes gotten a bit confused with Livecode's terms. When l look at it in the properties palette it's a "group" with a "style" of "Table" which I can change to "Form" (but I don't). But when I created it I dragged over a "Data Grid" as oposed to a "Basic Table Field" or a "Scrolling Field" for example. So what is it? On 9/24/2014 10:49 PM, Peter Haworth wrote: Hi Ray, So this is a datagrid form, not a table? Have to admit I'm not that familiar with dg forms so not sure what else to suggest, sorry. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: Pete, Thanks for the response. I've checked the it variable and I'm getting "handled" returned, which I assume is good. Regarding the line number, I've definitely got over 20 lines of data in the grid. I do only have one line of data for the first two columns with about 23 lines of data in the third. Do you think that could be the problem? Ray Horsley LinkIt! Software On 9/24/2014 9:21 PM, Peter Haworth wrote: Syntax looks good. Couple of things you've probably already checked - what's in the "it" variable after dispatch (should be "handled"), and are you sure 20 is a valid line number. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results and nothing in 'the result' Is there something else I need to to do prepare for this? Note: I'm not sure if this got posted earlier. I can never get that "receive your own posts" subscription option to work so please excuse me if this was already posted. ___ use-livecode mailing list use-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: Scroll Line Into View in a Datagrid
Pete - I wanted to get back with you since you were so kind to respond and shed some light on things. I've discovered [once again] that Livecode data grids are really complicated, convoluted things. I had set the behavior of the grid in question to a button whose script was a slightly altered version of the default button. This in turn broke the ability to scroll, either from a script or manually. Why? Who knows? I'm rebuilding the grid now from scratch and I'll come up with a work-around other than setting the grid's behavior. Thanks for your help! Ray Horsley LinkIt! Software On 9/25/2014 1:21 AM, Peter Haworth wrote: Datagrids come in 2 flavors, table and form. So you have a datagrid table not an LC basic table control. I asked about a form because of your comment about multiple lines. Normally a datagrid table has one line per row with a return character marking the end of a line. If you're trying to put multiple lines in a single datagrid row, I don't think you can do that. Pete lcSQL Software On Sep 24, 2014 7:32 PM, "Ray" wrote: Pete, Now wait a minute. I've sometimes gotten a bit confused with Livecode's terms. When l look at it in the properties palette it's a "group" with a "style" of "Table" which I can change to "Form" (but I don't). But when I created it I dragged over a "Data Grid" as oposed to a "Basic Table Field" or a "Scrolling Field" for example. So what is it? On 9/24/2014 10:49 PM, Peter Haworth wrote: Hi Ray, So this is a datagrid form, not a table? Have to admit I'm not that familiar with dg forms so not sure what else to suggest, sorry. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: Pete, Thanks for the response. I've checked the it variable and I'm getting "handled" returned, which I assume is good. Regarding the line number, I've definitely got over 20 lines of data in the grid. I do only have one line of data for the first two columns with about 23 lines of data in the third. Do you think that could be the problem? Ray Horsley LinkIt! Software On 9/24/2014 9:21 PM, Peter Haworth wrote: Syntax looks good. Couple of things you've probably already checked - what's in the "it" variable after dispatch (should be "handled"), and are you sure 20 is a valid line number. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results and nothing in 'the result' Is there something else I need to to do prepare for this? Note: I'm not sure if this got posted earlier. I can never get that "receive your own posts" subscription option to work so please excuse me if this was already posted. ___ use-livecode mailing list use-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
Could not Compile Application Class
I'm in Livecode 6.6.2, the most recent stable version, on Windows 8.1, and I'm getting an error of "could not compile application class" when I try to save as a simple "Hello World" standalone for Android. Sounds like something you'd see in Visual Studio C sharp or something, not a very Livecode type of an error. 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: Could not Compile Application Class
You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. Thanks... On 10/11/2014 11:00 AM, Mark Schonewille wrote: Hi Ray, Did you recently re-install or update LiveCode? Have a look at the preferences. LiveCode may have forgotten where to look for the Android APK. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 15:57, Ray wrote: I'm in Livecode 6.6.2, the most recent stable version, on Windows 8.1, and I'm getting an error of "could not compile application class" when I try to save as a simple "Hello World" standalone for Android. Sounds like something you'd see in Visual Studio C sharp or something, not a very Livecode type of an error. 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 ___ use-livecode mailing list use-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 Compile Application Class
Mark, I think I'm about 90% the way there. I've installed both the Jave SE Development Kit as well as the Android SDK package you've pointed me to. The only error I'm getting is when I point the Mobile Support preference in Livecode to the folder you've indicated below I get an error from Livecode that says the chosen folder isn't a valid Android SDK. Do you have any ideas as to how I can verify I've installed it correctly and enabled Android 2.2 (Froyo) ad it's also asking me to do? Thanks... On 10/11/2014 11:52 AM, Mark Schonewille wrote: Ray, Go here https://developer.android.com/sdk/index.html?hl=i and click on "Get the SDK for an existing IDE". Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 16:37, Ray wrote: You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. 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 ___ use-livecode mailing list use-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 Compile Application Class
Mark, Matthias, Thanks to both of you guys for your help today! I ended up with success using both of your ideas. Here it is: 1) I installed the Android SDK as Mark suggested. This also required me to install the Java SDK. 2) I used the SDK Manager to update to Android 2.2 (API 8) as Mark suggested. 3) I downloaded the "zipAlign.exe" file and moved it over to the Tools folder as Matthias suggested. Finally, I realized none of this could happen as long as I installed the Android SDK in the suggested default location of Programs Files (x86) since they're read-only folders, so I uninstalled and re-installed in my own, write-enabled area. I was then able to set the path in Livecode's preferences and build an Android standalone. Now, can anybody tell me how to get my "Hello World" standalone over to my Samsung Galaxy S5, 4.4.2 phone? Many thanks!!!! On 10/11/2014 2:38 PM, ray wrote: Sent from my Samsung Galaxy smartphone. Original message From: Mark Schonewille Date:10/11/2014 12:55 PM (GMT-03:00) To: How to use LiveCode Cc: Subject: Re: Could not Compile Application Class Hi Ray, Double-click the file SDK-manager.exe and wait until it is visible. You'll see a list with checkboxes and Android versions. Select Android 2.2 (API 8) and click on Install. This should do it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 17:21, Ray wrote: > Mark, > > I think I'm about 90% the way there. I've installed both the Jave SE > Development Kit as well as the Android SDK package you've pointed me > to. The only error I'm getting is when I point the Mobile Support > preference in Livecode to the folder you've indicated below I get an > error from Livecode that says the chosen folder isn't a valid Android SDK. > > Do you have any ideas as to how I can verify I've installed it correctly > and enabled Android 2.2 (Froyo) ad it's also asking me to do? > > 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 On 10/11/2014 11:52 AM, Mark Schonewille wrote: Ray, Go here https://developer.android.com/sdk/index.html?hl=i and click on "Get the SDK for an existing IDE". Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 16:37, Ray wrote: You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. 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 ___ use-livecode mailing list use-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 Compile Application Class
Guys - I've found some lessons on this and I'm well into the ordeal of keys, signatures, signings and so on so please ignore my last request. I think I can weed through this. Thanks! Original Message Subject:Re: Could not Compile Application Class Date: Sat, 11 Oct 2014 16:43:00 -0300 From: Ray To: use-livecode@lists.runrev.com Mark, Matthias, Thanks to both of you guys for your help today! I ended up with success using both of your ideas. Here it is: 1) I installed the Android SDK as Mark suggested. This also required me to install the Java SDK. 2) I used the SDK Manager to update to Android 2.2 (API 8) as Mark suggested. 3) I downloaded the "zipAlign.exe" file and moved it over to the Tools folder as Matthias suggested. Finally, I realized none of this could happen as long as I installed the Android SDK in the suggested default location of Programs Files (x86) since they're read-only folders, so I uninstalled and re-installed in my own, write-enabled area. I was then able to set the path in Livecode's preferences and build an Android standalone. Now, can anybody tell me how to get my "Hello World" standalone over to my Samsung Galaxy S5, 4.4.2 phone? Many thanks On 10/11/2014 2:38 PM, ray wrote: Sent from my Samsung Galaxy smartphone. Original message From: Mark Schonewille Date:10/11/2014 12:55 PM (GMT-03:00) To: How to use LiveCode Cc: Subject: Re: Could not Compile Application Class Hi Ray, Double-click the file SDK-manager.exe and wait until it is visible. You'll see a list with checkboxes and Android versions. Select Android 2.2 (API 8) and click on Install. This should do it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 17:21, Ray wrote: > Mark, > > I think I'm about 90% the way there. I've installed both the Jave SE > Development Kit as well as the Android SDK package you've pointed me > to. The only error I'm getting is when I point the Mobile Support > preference in Livecode to the folder you've indicated below I get an > error from Livecode that says the chosen folder isn't a valid Android SDK. > > Do you have any ideas as to how I can verify I've installed it correctly > and enabled Android 2.2 (Froyo) ad it's also asking me to do? > > 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 On 10/11/2014 11:52 AM, Mark Schonewille wrote: Ray, Go here https://developer.android.com/sdk/index.html?hl=i and click on "Get the SDK for an existing IDE". Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 16:37, Ray wrote: You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. 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 ___ use-livecode mailing list use-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 Compile Application Class
Mark, Thanks for this suggestion. I'm using Windows 8.1 so the Android File Transfer utility doesn't apply and their website simply says it's not necessary for Windows users. This still left me in the dark, but after a little experimentation I discovered, of all things, Bluetooth is the way to go. I'm finally getting some use from Bluetooth! Just thought you might like to know. Thanks for your input. Ray Horsley LinkIt! Software On 10/11/2014 5:43 PM, Mark Wieder wrote: Ray- Saturday, October 11, 2014, 12:43:00 PM, you wrote: Now, can anybody tell me how to get my "Hello World" standalone over to my Samsung Galaxy S5, 4.4.2 phone? I use Android File Transfer on osx. If you set developer mode on the phone and use debug mode, you can use the phone as an external drive. Then just drag the apk file over. ___ use-livecode mailing list use-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 Compile Application Class
No need for apologies at all:) Your suggestion actually got me pointed in the right direction. Regarding the bigger picture, do you think anybody in Edinburgh would be interested in putting together instructions and steps for this? It seems to me we're really discouraging newcomers with the myriad of steps, downloads, configurations, and hit-or-miss setup hoops needed to simply save a Hello World app to a phone. On 10/11/2014 7:33 PM, Mark Wieder wrote: Ray- Saturday, October 11, 2014, 2:56:46 PM, you wrote: Thanks for this suggestion. I'm using Windows 8.1 Yeah, sorry... I missed that in your original post. Glad you found something that works. ___ use-livecode mailing list use-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 Compile Application Class
Roger - thanks for the suggestion. That worked well for me. I also discovered in poking around a little that bluetooth transfers work, too. On 10/11/2014 9:48 PM, Roger Eller wrote: I have found that if the device doesn't mount as a USB drive, the next best method is dropbox. Install dropbox on both the computer and the device. Share a folder on the computer and drop the apk in there. Touch the apk and install it. Sent from my Android tablet ___ use-livecode mailing list use-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 and Export on Android
Greetings, Could anybody help me importing and exporting data on an Android phone? I can't even load the clipboard with; set the clipboardData["text"] to myData It works within my app but if I move over to Memo or Google Sheets it's just not there. Ideally I'd like to be able to write text files to a folder I create, or even better, write a file which I can send via Bluetooth or put in a Dropbox account. Any ideas? Many 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: Import and Export on Android
Bad news - I've just installed Livecode version 7.0 (rc2) and the clipboard is as dead in this version as it is was in the last "stable" release. I didn't try 6.7 (rc2). I figured if the bug showed up in 6.6 and was fixed in 6.7 that it wouldn't resurface in 7.0. Am I wrong? On 10/19/2014 8:22 AM, Peter M. Brigham wrote: On Oct 19, 2014, at 12:17 AM, Mark Talluto wrote: There was a bug was sitting the clipboard in 6.7 RC2. I believe the bike is been fixed for RC3. I'm relieved -- I need that bike to work. Even if the bug is still sitting on the clipboard. :-) (Autocorrect, I assume.) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-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: Import and Export on Android
Mark - sorry to bring bad news but I just tried this with 6.7 (rc3) and I'm not having any more luck than with the other two version. I'll write up a bug report. Any other suggestions like writing to a file that I can blue tooth, or open in Memo or Google Sheets? Thanks... On 10/19/2014 8:22 AM, Peter M. Brigham wrote: On Oct 19, 2014, at 12:17 AM, Mark Talluto wrote: There was a bug was sitting the clipboard in 6.7 RC2. I believe the bike is been fixed for RC3. I'm relieved -- I need that bike to work. Even if the bug is still sitting on the clipboard. :-) (Autocorrect, I assume.) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-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: Import and Export on Android
Peter, Mark, After filing this as a bug (can't put data on the clipboard in Android) I got this message from Hanson that it's not a bug. The clipboard is in fact not supported on any mobile devices. Any other suggestions on how to get data in or out of a mobile app? Thanks! Ray Horsley LinkIt! Software On 10/20/2014 8:19 AM, bugzilla-dae...@meg.on-rev.com wrote: RunRev QCC <mailto:qual...@runrev.com> changed bug 13720 <http://quality.runrev.com/show_bug.cgi?id=13720> WhatRemoved Added Status UNCONFIRMED RESOLVED Resolution --- NOT_A_BUG *Comment # 2 <http://quality.runrev.com/show_bug.cgi?id=13720#c2> on bug 13720 <http://quality.runrev.com/show_bug.cgi?id=13720> from RunRev QCC <mailto:qual...@runrev.com> * Hi Ray, thank you for logging this report. Unfortunately the clipboard functionality is currently not supported on mobile devices. Please check the relevant dictionary entries to find out what platforms are supported. Kind Regards, Hanson You are receiving this mail because: * You reported the bug. On 10/19/2014 8:22 AM, Peter M. Brigham wrote: On Oct 19, 2014, at 12:17 AM, Mark Talluto wrote: There was a bug was sitting the clipboard in 6.7 RC2. I believe the bike is been fixed for RC3. I'm relieved -- I need that bike to work. Even if the bug is still sitting on the clipboard. :-) (Autocorrect, I assume.) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-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 Has Stopped Working
Recently I had to factory reset Windows on my Acer Aspire, taking me back to 8.0. I re-downloaded Livecode 6.5.2, my favorite I've used for quite a while. I can launch it by double-clicking it directly, but a double-click on any of my stacks, even newly made empty stacks, launches it and immediately gives me an error that "Livecode has stopped working". I also freeze if I launch Livecode, create a stack and then click Livecode's close box. I've found Livecode 7.0.1 (rc 1) works a little better but I'm still getting a lot of freezing and "Livecode has stopped working" errors. I'd like to think it's because I've downloaded a 32bit version of Livecode on my 64bit machine, but I don't see where any of the downloads specify which of these they're for. 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: Livecode Has Stopped Working
Yeah - I've tried uninstalling and reinstalling various times but each time I get more or less the same problems. I think you're right. I'll send a note to Heather and see if she has any advice. On 11/10/2014 5:19 AM, Björnke von Gierke wrote: This should not happen. Did you try uninstalling, then reinstalling LC? Note that there is no 64 bit versions of LC, but that doesn't matters, because 32 bit applications should just work on any windows version. I think you need supp...@runrev.com On 10 Nov 2014, at 18:58, Ray wrote: Recently I had to factory reset Windows on my Acer Aspire, taking me back to 8.0. I re-downloaded Livecode 6.5.2, my favorite I've used for quite a while. I can launch it by double-clicking it directly, but a double-click on any of my stacks, even newly made empty stacks, launches it and immediately gives me an error that "Livecode has stopped working". I also freeze if I launch Livecode, create a stack and then click Livecode's close box. I've found Livecode 7.0.1 (rc 1) works a little better but I'm still getting a lot of freezing and "Livecode has stopped working" errors. I'd like to think it's because I've downloaded a 32bit version of Livecode on my 64bit machine, but I don't see where any of the downloads specify which of these they're for. 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 ___ use-livecode mailing list use-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 PDF's to Images
Greetings List, About a year ago I solicited suggestions for a command line tool, Mac and Windows, I could license which would return the number of pages in a PDF as well as convert it to images at various resolutions. Unfortunately I still haven't found an ideal solution so I thought I'd ask if anybody has experience or suggestions with the inner-workings of PDF files so I could consider writing my own converter, maybe as a plugin, for a Livecode standalone. OF course it would be great to write it in Livecode. Thoughts? 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: Convert PDF's to Images
Ralph, This is very exciting news for me regarding this front. How can I learn more and stay on top of this? Thanks, Ray On 12/8/2014 1:06 PM, Ralph DiMola wrote: Ray, I talked to Mark about PDFs and LC @rr14. The Foxit PDF library has been chosen by Google and is open source. RR plans to make the API available cross-platform(including mobile). I don't know the implementation schedule. From Foxit Web Page: FoxitR Corporation, a leading provider of solutions for reading, editing, creating, organizing, and securing PDF documents, today announced that Foxit PDF technology has been chosen as the open-source PDF rendering engine in the Google's open-source PDFium Project. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Ray Sent: Monday, December 08, 2014 10:39 AM To: use-livecode@lists.runrev.com Subject: Convert PDF's to Images Greetings List, About a year ago I solicited suggestions for a command line tool, Mac and Windows, I could license which would return the number of pages in a PDF as well as convert it to images at various resolutions. Unfortunately I still haven't found an ideal solution so I thought I'd ask if anybody has experience or suggestions with the inner-workings of PDF files so I could consider writing my own converter, maybe as a plugin, for a Livecode standalone. OF course it would be great to write it in Livecode. Thoughts? 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 ___ use-livecode mailing list use-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 to Quit with a button
I just issue the command "quit". You might consider saving first or, if you don't want any interruptions, locking messages first. On 12/8/2014 2:04 PM, Jim Lambert wrote: Prothero wrote: why won?t the button work when the toolbar menu does. Obviously, there?s a difference in the way each works. What happens if you doMenu “Quit” from menu [appName] ? Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Convert PDF's to Images
I know:) I was using that method for a while but it was never really solid and now it's kind of petered out... Original message From: Jim Lambert Date:12/08/2014 5:03 PM (GMT-04:00) To: use-livecode@lists.runrev.com Cc: Subject: Re: Convert PDF's to Images In earlier versions of LiveCode on a Mac, you could just load a PDF into a Player object. Then just set the current time to page through the document and grab screenshots to get images of the pages. But this doesn’t work anymore. JimL ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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: Convert PDF's to Images
Just a word of thanks to all who have responded to this thread which I started a few days ago. Richmond - I've got the same crash results on the Mac side. Roger - your your suggestion is turning out to be promising. I've gotten in touch with Thierry and I may have a Windows solution through his work. I'll post any solutions I find for the Mac. On 12/9/2014 2:59 PM, Richmond wrote: On 08/12/14 22:03, Jim Lambert wrote: In earlier versions of LiveCode on a Mac, you could just load a PDF into a Player object. Then just set the current time to page through the document and grab screenshots to get images of the pages. But this doesn’t work anymore. JimL ___ I just tried that with 7.0.1 rc3 (Linux) and crashed the IDE. 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
Livecode 7.0 Can't Play Video on Macs
When I do the following on my Mac OSX 10.7.1 running Quicktime 7.7.1 I hear the audio but I can't see the video. I drag a player object to a new main stack and change the source from the Livecode's Sample.mov file to Apple's Sample_iPod.m4v movie or any other .m4v file. Playing it gives me audio but no video. If I choose the edit tool in Livecode while the movie is play suddenly video plays. Return to Livecode's browse tool and video stops while audio continues. This is no problem at all in Livecode 6.5.2 using the same platform, same system and same Quicktime version. It's also no problem on my Windows 8.1 system in either version of Livecode. Is this really a bug or am I missing something? If it's a bug does anybody know if it's been reported? ___ use-livecode mailing list use-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: Common cartridge
Bill - is this in some way related to SCORM standards? On 12/17/2014 2:00 PM, EED-wp Email wrote: Folks I just heard about "Common Cartridge" which is supposed to be the new way of interfacing learning objects (apps, web modules, whatever) to learning management systems. I'm curious if anybody has used this or looked into it. Seems like it would be an interface that would be important for those of us who create learning apps. Best Bill William Prothero http://ed.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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: Common cartridge
Bill - thanks for the link. I'm going to study this. On 12/17/2014 2:57 PM, Ralph DiMola wrote: Great(sigh). I just got my mind wrapped around SCORM 1.2. We just produced a sample SCORM 1.2 to a customer for an RFQ. Now it's time to dig into Common Cartridge. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of EED-wp Email Sent: Wednesday, December 17, 2014 12:29 PM To: How to use LiveCode Subject: Re: Common cartridge I think it has the same purpose but is more appropriate for new learning management software. Seems to be "the new thing". Bill William Prothero http://ed.earthednet.org On Dec 17, 2014, at 9:04 AM, Ray wrote: Bill - is this in some way related to SCORM standards? On 12/17/2014 2:00 PM, EED-wp Email wrote: Folks I just heard about "Common Cartridge" which is supposed to be the new way of interfacing learning objects (apps, web modules, whatever) to learning management systems. I'm curious if anybody has used this or looked into it. Seems like it would be an interface that would be important for those of us who create learning apps. Best Bill William Prothero http://ed.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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
Livecode 7.0 Can't Play Video
When I do the following on my Mac OSX 10.7.1 running Quicktime 7.7.1 I hear the audio but I can't see the video. I drag a player object to a new main stack and change the source from the Livecode's Sample.mov file to Apple's Sample_iPod.m4v movie or any other .m4v file. Playing it gives me audio but no video. If I choose the edit tool in Livecode while the movie is play suddenly video plays. Return to Livecode's browse tool and video stops while audio continues. This is no problem at all in Livecode 6.5.2 using the same platform, same system and same Quicktime version. It's also no problem on my Windows 8.1 system in either version of Livecode. Is this really a bug or am I missing something? If it's a bug does anybody know if it's been reported? ___ use-livecode mailing list use-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 7.0 Can't Play Video
Klaus many thanks! Where did you even hear about such a property? I'd like to start doing whatever it is you're doing when new versions come out so I stay abreast of these things. On 12/18/2014 11:09 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:05 schrieb Ray : When I do the following on my Mac OSX 10.7.1 running Quicktime 7.7.1 I hear the audio but I can't see the video. I drag a player object to a new main stack and change the source from the Livecode's Sample.mov file to Apple's Sample_iPod.m4v movie or any other .m4v file. Playing it gives me audio but no video. If I choose the edit tool in Livecode while the movie is play suddenly video plays. Return to Livecode's browse tool and video stops while audio continues. This is no problem at all in Livecode 6.5.2 using the same platform, same system and same Quicktime version. It's also no problem on my Windows 8.1 system in either version of Livecode. Is this really a bug or am I missing something? If it's a bug does anybody know if it's been reported? quick guess: In Livecode 7 the "dontuseqt" property is set to TRUE by default, since it uses the new AVFoundation on the Mac to display media in a player object. Try to set this property to FALSE on preopenstack and see if that works. I hate these "dont_XYZ" properties, they are just too mentally challenging! :-D 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
Re: Livecode 7.0 Can't Play Video
Gotcha - that short, simple doc that comes with the release :) I'll let you know how it goes when I get my Mac cranked up and try this suggestion. On 12/18/2014 11:14 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:12 schrieb Ray : Klaus many thanks! Where did you even hear about such a property? I'd like to start doing whatever it is you're doing when new versions come out so I stay abreast of these things. That's pretty easy, just learn the "Release Notes" by heart! :-D On 12/18/2014 11:09 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:05 schrieb Ray : When I do the following on my Mac OSX 10.7.1 running Quicktime 7.7.1 I hear the audio but I can't see the video. I drag a player object to a new main stack and change the source from the Livecode's Sample.mov file to Apple's Sample_iPod.m4v movie or any other .m4v file. Playing it gives me audio but no video. If I choose the edit tool in Livecode while the movie is play suddenly video plays. Return to Livecode's browse tool and video stops while audio continues. This is no problem at all in Livecode 6.5.2 using the same platform, same system and same Quicktime version. It's also no problem on my Windows 8.1 system in either version of Livecode. Is this really a bug or am I missing something? If it's a bug does anybody know if it's been reported? quick guess: In Livecode 7 the "dontuseqt" property is set to TRUE by default, since it uses the new AVFoundation on the Mac to display media in a player object. Try to set this property to FALSE on preopenstack and see if that works. I hate these "dont_XYZ" properties, they are just too mentally challenging! :-D 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
Re: Livecode 7.0 Can't Play Video
Klaus - I tried setting the dontUseQt to true but had no luck. Just thought you might like to know. Thanks for the suggestion. It's still good to know this global exists. I've filed it as a bug report. On 12/18/2014 11:30 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:16 schrieb Ray : Gotcha - that short, simple doc that comes with the release :) yep, that's quite enlightening :-D I'll let you know how it goes when I get my Mac cranked up and try this suggestion. OK, good luck! On 12/18/2014 11:14 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:12 schrieb Ray : Klaus many thanks! Where did you even hear about such a property? I'd like to start doing whatever it is you're doing when new versions come out so I stay abreast of these things. That's pretty easy, just learn the "Release Notes" by heart! :-D 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
Re: Livecode 7.0 Can't Play Video
Thanks Jackie - I believe the bug report is accurate. I've tried setting the dontUseQt all three ways (and that's pretty good for a boolean!) On 12/18/2014 3:46 PM, J. Landman Gay wrote: On 12/18/2014, 11:57 AM, Ray wrote: Klaus - I tried setting the dontUseQt to true but had no luck. Just thought you might like to know. Thanks for the suggestion. It's still good to know this global exists. I've filed it as a bug report. It is set to true by default now, you want to set it to *false*. That allows QT to run: dontUseQT = false means *do* use QT. I already submitted a bug report about the change in the QT default settings, and it was closed as not a bug because Apple has deprecated QT. But if changing the dontUseQT to false still doesn't work, then your bug report is accurate. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
7.0.1 Loops Sounds on a Mac (whether you want to or not)
My Mac is running 10.7.1. The script is just two lines: on mouseUp wait until the sound is done play [wavFilePath] end mouseUp This works for the first click but a second click and the sound loops. This only shows up on a Mac. The documentation regarding looping is kind of confusing. It says it specifies whether a movie "or sound" loops, but looping is a property of a player, something not usually used when simply playing sound file. 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: 7.0.1 Loops Sounds on a Mac (whether you want to or not)
Klaus, Devin, Thanks for your responses. I've added my observations to the bug report and asked for a time estimate as to when this will be addressed. And thanks for the 'looping' insight. I guess what we really need here is an additional 'nonlooping' or 'without looping' option :) On 1/7/2015 1:17 PM, Klaus major-k wrote: Hi Ray, Am 07.01.2015 um 17:09 schrieb Ray : My Mac is running 10.7.1. The script is just two lines: on mouseUp wait until the sound is done play [wavFilePath] end mouseUp This works for the first click but a second click and the sound loops. This only shows up on a Mac. sorry, I did not work with LC 7.x yet. The documentation regarding looping is kind of confusing. It says it specifies whether a movie "or sound" loops, but looping is a property of a player, something not usually used when simply playing sound file. Check the dictionary entry for PLAY! You can add the keyword looping: ... play ac "whatever.wav" looping ... Ideas? 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
Can't Trap for Mouse Handlers in a Player
This is another Mac only problem. On Windows I can trap for a right click in a mouseDown handler anywhere on a video Player window. This allows my users to easily relocate the player by dragging any part of the window. On the Mac neither a right click nor a control click can 'get through' since something in the system interrupts and pops up a contextual menu of choices. The exception to this is if my users carefully click right on the control bar along the bottom of the window. But this is awkward and if the controller is not visible then they're stuck. Any way around this? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Can't Move Backward
I'm trying a "Save As" on a stack file last saved in 7.0.1 so I can open it in 6.5.2, the last stable version of Livecode that I know of. The choices are: Legacy Livecode Stack (5.5) Legacy Livecode Stack (2.7) Legacy Livecode Stack (2.4) I would imagine my copy of Livecode 6.5.2 would open a stack file saved as Legacy 5.5, but it doesn't. I can't remember back as far as 2.7 and 2.4. I am able to create a new, empty stack file in 7.0.1, save it in legacy 5.5 and then open it in 6.5.2 so there's apparently something going on with the first stack file. However, Livecode should open it and produce script errors which I can then find and fix. If Livecode 6.5.2 doesn't even open it then I'm stuck. Does anybody know how to move backward away from the many problems 7.0.1 has without having to re-write years of work? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Can't Move Backward
Mike - thanks for the idea but even a script like this fails on mouseUp lock messages go stack [legacyStackPath] end mouseUp The result is the file I chose is not a stack file. So currently I can't open a stack which is a nearly two years of work in an older version of Livecode. Meanwhile, 7.0.1 is so full of bugs (even playing a sound after 'waiting till sound is done' crashes) I can barely use the stack. I failed to maintain piles of old versions of my project trusting Livecode's claim that a release is stable and relying on the legacy saving ability. Both of these have failed leaving me pleading for suggestions. Anybody? Original message From: Mike Bonner Date:01/09/2015 12:38 PM (GMT-04:00) To: How to use LiveCode Cc: Subject: Re: Can't Move Backward You might turn off messages before opening the stack to see if it loads. Also, if you're double clicking to open the stack, try using the file menu instead. On Fri, Jan 9, 2015 at 7:19 AM, Ray wrote: > I'm trying a "Save As" on a stack file last saved in 7.0.1 so I can open > it in 6.5.2, the last stable version of Livecode that I know of. > > The choices are: >Legacy Livecode Stack (5.5) >Legacy Livecode Stack (2.7) >Legacy Livecode Stack (2.4) > > I would imagine my copy of Livecode 6.5.2 would open a stack file saved as > Legacy 5.5, but it doesn't. I can't remember back as far as 2.7 and 2.4. > > I am able to create a new, empty stack file in 7.0.1, save it in legacy > 5.5 and then open it in 6.5.2 so there's apparently something going on with > the first stack file. However, Livecode should open it and produce script > errors which I can then find and fix. If Livecode 6.5.2 doesn't even open > it then I'm stuck. > > Does anybody know how to move backward away from the many problems 7.0.1 > has without having to re-write years of work? > > ___ > use-livecode mailing list > use-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: Can't Move Backward
Scott, could you help me with the exact syntax to 'turn on lock messages'? I've always used either 'lock messages' or 'set lockMessages to true' which I believe are the same (as I've done in the script below). In either case lockMessages is set to false at idle so I'm not sure what you and Mike mean by 'turning on' lock messages. Thanks, Ray On 1/9/2015 5:20 PM, Scott Rossi wrote: I believe what Mike was suggesting was to turn on lock messages, then use “Open Stack…" in the File menu to launch the stack. This should prevent any startup scripts from firing, and you should then be able to choose "Save As…" and resave the stack. I haven’t done this with 7.0.1 but have done this often with 6.x and previous stacks. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Jan 9, 2015, at 12:08 PM, Ray wrote: Mike - thanks for the idea but even a script like this fails on mouseUp lock messages go stack [legacyStackPath] end mouseUp The result is the file I chose is not a stack file. So currently I can't open a stack which is a nearly two years of work in an older version of Livecode. Meanwhile, 7.0.1 is so full of bugs (even playing a sound after 'waiting till sound is done' crashes) I can barely use the stack. I failed to maintain piles of old versions of my project trusting Livecode's claim that a release is stable and relying on the legacy saving ability. Both of these have failed leaving me pleading for suggestions. Anybody? Original message From: Mike Bonner Date:01/09/2015 12:38 PM (GMT-04:00) To: How to use LiveCode Cc: Subject: Re: Can't Move Backward You might turn off messages before opening the stack to see if it loads. Also, if you're double clicking to open the stack, try using the file menu instead. On Fri, Jan 9, 2015 at 7:19 AM, Ray wrote: I'm trying a "Save As" on a stack file last saved in 7.0.1 so I can open it in 6.5.2, the last stable version of Livecode that I know of. The choices are: Legacy Livecode Stack (5.5) Legacy Livecode Stack (2.7) Legacy Livecode Stack (2.4) I would imagine my copy of Livecode 6.5.2 would open a stack file saved as Legacy 5.5, but it doesn't. I can't remember back as far as 2.7 and 2.4. I am able to create a new, empty stack file in 7.0.1, save it in legacy 5.5 and then open it in 6.5.2 so there's apparently something going on with the first stack file. However, Livecode should open it and produce script errors which I can then find and fix. If Livecode 6.5.2 doesn't even open it then I'm stuck. Does anybody know how to move backward away from the many problems 7.0.1 has without having to re-write years of work? ___ use-livecode mailing list use-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: Can't Move Backward
Scott - thanks again. I just tried that and unfortunately it doesn't work. I forgot to mention that I've also tried 'exit to top' on the first card's preOpenStack handler. I believe this would also stop any scripts from running. Nonetheless, even choosing Open Stack... from Livecode 6.5.2's File menu produces the same error displaying "There was a problem opening that stack: file is not a stack" and does not open the stack file in any way. On 1/9/2015 5:20 PM, Scott Rossi wrote: I believe what Mike was suggesting was to turn on lock messages, then use “Open Stack…" in the File menu to launch the stack. This should prevent any startup scripts from firing, and you should then be able to choose "Save As…" and resave the stack. I haven’t done this with 7.0.1 but have done this often with 6.x and previous stacks. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Jan 9, 2015, at 12:08 PM, Ray wrote: Mike - thanks for the idea but even a script like this fails on mouseUp lock messages go stack [legacyStackPath] end mouseUp The result is the file I chose is not a stack file. So currently I can't open a stack which is a nearly two years of work in an older version of Livecode. Meanwhile, 7.0.1 is so full of bugs (even playing a sound after 'waiting till sound is done' crashes) I can barely use the stack. I failed to maintain piles of old versions of my project trusting Livecode's claim that a release is stable and relying on the legacy saving ability. Both of these have failed leaving me pleading for suggestions. Anybody? Original message From: Mike Bonner Date:01/09/2015 12:38 PM (GMT-04:00) To: How to use LiveCode Cc: Subject: Re: Can't Move Backward You might turn off messages before opening the stack to see if it loads. Also, if you're double clicking to open the stack, try using the file menu instead. On Fri, Jan 9, 2015 at 7:19 AM, Ray wrote: I'm trying a "Save As" on a stack file last saved in 7.0.1 so I can open it in 6.5.2, the last stable version of Livecode that I know of. The choices are: Legacy Livecode Stack (5.5) Legacy Livecode Stack (2.7) Legacy Livecode Stack (2.4) I would imagine my copy of Livecode 6.5.2 would open a stack file saved as Legacy 5.5, but it doesn't. I can't remember back as far as 2.7 and 2.4. I am able to create a new, empty stack file in 7.0.1, save it in legacy 5.5 and then open it in 6.5.2 so there's apparently something going on with the first stack file. However, Livecode should open it and produce script errors which I can then find and fix. If Livecode 6.5.2 doesn't even open it then I'm stuck. Does anybody know how to move backward away from the many problems 7.0.1 has without having to re-write years of work? ___ use-livecode mailing list use-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: Can't Move Backward
Already tried it. I'm actually sticking with 6.5.2. I can create a new stack file from scratch in 7.0.1, save it as legacy 5.5 and then re-pen it in 6.5.2 fine. I just can't open /my stack file/ the same way, although it continues to open correctly and function fine in 7.0.1. On 1/9/2015 7:13 PM, Scott Rossi wrote: So when you selected “Save As…” did you choose “Legacy LiveCode Stack (5.5)” from the Format pulldown at the bottom of the dialog? I just created a basic stack in 7.0.1, saved it in 5.5 format, and it opened correctly in both 5.5 and 6.7, so I have to imagine 6.5.2 should be fine. You should try the same with a test stack and see if you get the same results. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Jan 9, 2015, at 1:47 PM, Ray wrote: Scott - thanks again. I just tried that and unfortunately it doesn't work. I forgot to mention that I've also tried 'exit to top' on the first card's preOpenStack handler. I believe this would also stop any scripts from running. Nonetheless, even choosing Open Stack... from Livecode 6.5.2's File menu produces the same error displaying "There was a problem opening that stack: file is not a stack" and does not open the stack file in any way. On 1/9/2015 5:20 PM, Scott Rossi wrote: I believe what Mike was suggesting was to turn on lock messages, then use “Open Stack…" in the File menu to launch the stack. This should prevent any startup scripts from firing, and you should then be able to choose "Save As…" and resave the stack. I haven’t done this with 7.0.1 but have done this often with 6.x and previous stacks. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Jan 9, 2015, at 12:08 PM, Ray wrote: Mike - thanks for the idea but even a script like this fails on mouseUp lock messages go stack [legacyStackPath] end mouseUp The result is the file I chose is not a stack file. So currently I can't open a stack which is a nearly two years of work in an older version of Livecode. Meanwhile, 7.0.1 is so full of bugs (even playing a sound after 'waiting till sound is done' crashes) I can barely use the stack. I failed to maintain piles of old versions of my project trusting Livecode's claim that a release is stable and relying on the legacy saving ability. Both of these have failed leaving me pleading for suggestions. Anybody? Original message From: Mike Bonner Date:01/09/2015 12:38 PM (GMT-04:00) To: How to use LiveCode Cc: Subject: Re: Can't Move Backward You might turn off messages before opening the stack to see if it loads. Also, if you're double clicking to open the stack, try using the file menu instead. On Fri, Jan 9, 2015 at 7:19 AM, Ray wrote: I'm trying a "Save As" on a stack file last saved in 7.0.1 so I can open it in 6.5.2, the last stable version of Livecode that I know of. The choices are: Legacy Livecode Stack (5.5) Legacy Livecode Stack (2.7) Legacy Livecode Stack (2.4) I would imagine my copy of Livecode 6.5.2 would open a stack file saved as Legacy 5.5, but it doesn't. I can't remember back as far as 2.7 and 2.4. I am able to create a new, empty stack file in 7.0.1, save it in legacy 5.5 and then open it in 6.5.2 so there's apparently something going on with the first stack file. However, Livecode should open it and produce script errors which I can then find and fix. If Livecode 6.5.2 doesn't even open it then I'm stuck. Does anybody know how to move backward away from the many problems 7.0.1 has without having to re-write years of work? ___ use-livecode mailing list use-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-live
Re: Can't Move Backward
Mike I'll try this idea tomorrow first thing. I'll also try turning off messages before I save the stack. I just thought of that and I haven't tried it yet. And Jackie, thanks for your suggestion regarding RR support. I'll use that as a last resort. On 1/9/2015 10:56 PM, Mike Bonner wrote: I have an idea. (probably a stupid idea) if you select the stack, and copy it to the clipboard, then save the clipboarddata["objects"] to a file.. THen in 6.5.2, grab the data in that file, shove it back into the clipboarddata["objects"] and then "paste" does that allow you to get the stack popped up in the version you want to use, so that you can then save it? On Fri, Jan 9, 2015 at 4:22 PM, Richard Gaskin wrote: FWIW my test results were the same as Scott's, unable to reproduce this issue. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Can't Move Backward
Interesting... I'll add this to my list of things to try tomorrow when I have time and get back up and running. (My wife and I are in the middle of a move this weekend.) On 1/10/2015 2:39 AM, Brahmanathaswami wrote: Ray, I also was sweating it out yesterday with a very important project/stack that was stuck in 7.0.1 which is, as you say so full of bugs as to be useless...but would not open in 6.6.2 (pretty stable...) What I did was created a new button on the first card and in my naïveté: on mouseup set the stackfileversion to 6 save this stack close this stack quit end mouseup clicked on the button... then it opened in 6.6.2 Go figure... "6" is not a valid legacy format but it worked Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com Ray wrote: Already tried it. I'm actually sticking with 6.5.2. I can create a new stack file from scratch in 7.0.1, save it as legacy 5.5 and then re-pen it in 6.5.2 fine. I just can't open /my stack file/ the same way, although it continues to open correctly and function fine in 7.0.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 ___ use-livecode mailing list use-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: new player (AV Foundation) and MP3
This would be a major setback for us too. Anybody know? Original message From: Klaus major-k Date:01/13/2015 3:24 PM (GMT-04:00) To: How to use LiveCode Cc: Subject: new player (AV Foundation) and MP3 Hi friends, just tried the new player object with an MP3 file, could set its filename but cannot start the *§$%# thing, neither with the controller nor via srcipt!? I get -> could not create movie reference Tried with 6.7.1 and 6.7.2 RC1, OS X 10.10.1 and dozens of my MP3s, which play fine in QT and iTunes. I doublechecked: dontuseqt = TRUE Please don't tell me that we cannot play MP3s in a player anymore!? :-/ 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
Re: new player (AV Foundation) and MP3
Ahh - gotcha. Thanks Klaus. Sent from my Samsung Galaxy smartphone. Original message From: Klaus major-k Date:01/13/2015 5:04 PM (GMT-04:00) To: How to use LiveCode Cc: Subject: Re: new player (AV Foundation) and MP3 Hi all, > Am 13.01.2015 um 21:01 schrieb ray : > > This would be a major setback for us too. Anybody know? looks like this is a known bug :-/ <http://quality.runrev.com/show_bug.cgi?id=14345> > Original message > From: Klaus major-k > Date:01/13/2015 3:24 PM (GMT-04:00) > To: How to use LiveCode > Cc: > Subject: new player (AV Foundation) and MP3 > > Hi friends, > > just tried the new player object with an MP3 file, could set its filename > but cannot start the *§$%# thing, neither with the controller nor via > srcipt!? > > I get -> could not create movie reference > > Tried with 6.7.1 and 6.7.2 RC1, OS X 10.10.1 and dozens of my MP3s, > which play fine in QT and iTunes. > > I doublechecked: dontuseqt = TRUE > > Please don't tell me that we cannot play MP3s in a player anymore!? :-/ 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
7.0.2 RC1 Crashes and Corrupts Stack Files
On my Windows 8.1 system I do the following: 1) create a new main stack 2) drag a player object onto it 3) remove the default fileName (source) 4) save the stack file At this point I get "Livecode has stopped working". With no other options I close the program and find my entire stack file has been corrupted and will not re-open. Anybody know anything about this? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: 7.0.2 RC1 Crashes and Corrupts Stack Files
Bob, thanks for your insight regarding the saved stack files and Paul, thanks for posting this bug. I might add something to it since I'm having trouble getting a player in 7.0.2 RC1 to play anything at all. If you know of any other way for me to play a sound at half speed or any other speed than the normal speed please let me know. Thanks! On 1/24/2015 2:49 AM, Paul Hibbert wrote: Ray, I tried this a couple of times and realised that it is definitely a serious bug so I decided to report it, hope you don't mind, the number is http://quality.runrev.com/show_bug.cgi?id=14437 if you would like to add to it. Regards Paul On Jan 23, 2015, at 9:09 PM, Paul Hibbert wrote: Just tried this on OS X 10.10.1 (Yosemite) and only managed to get to step 3, then LC crashed! Have you filed a bug report yet? If you have I can add to it, if not I'll file one and you can add to it. Paul On Jan 23, 2015, at 4:29 PM, Ray wrote: On my Windows 8.1 system I do the following: 1) create a new main stack 2) drag a player object onto it 3) remove the default fileName (source) 4) save the stack file At this point I get "Livecode has stopped working". With no other options I close the program and find my entire stack file has been corrupted and will not re-open. Anybody know anything about this? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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: 7.0.2 RC1 Crashes and Corrupts Stack Files
I'll check it and get back to you but in my situation that would be really unattractive. We just came through rough upgrade from 6.5.2 to the (stable) 7.x and new audio bugs are still being found. Now that audio will play after a wait I'd hate to return to considering downgrading 6.5.2 again. But I'll test the play rate in 6.5.2 and post... Sent from my Samsung Galaxy smartphone. Original message From: Peter Haworth Date:01/24/2015 2:36 PM (GMT-04:00) To: How to use LiveCode Cc: Subject: Re: 7.0.2 RC1 Crashes and Corrupts Stack Files I get the same problem here with Yosemite and LC 7.0.2. Works OK with 7.0.1. Ray, you can vary the playback speed by setting the playRate property of the player. A value of 1 is normal speed, 0.5 is half speed, etc. As long as you're not using LC 7 of course since it won't play anything right now. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Sat, Jan 24, 2015 at 6:15 AM, Ray wrote: > Bob, thanks for your insight regarding the saved stack files and Paul, > thanks for posting this bug. I might add something to it since I'm having > trouble getting a player in 7.0.2 RC1 to play anything at all. > > If you know of any other way for me to play a sound at half speed or any > other speed than the normal speed please let me know. > > Thanks! > > > On 1/24/2015 2:49 AM, Paul Hibbert wrote: > >> Ray, >> >> I tried this a couple of times and realised that it is definitely a >> serious bug so I decided to report it, hope you don't mind, the number is >> http://quality.runrev.com/show_bug.cgi?id=14437 if you would like to add >> to it. >> >> Regards >> >> Paul >> >> >> On Jan 23, 2015, at 9:09 PM, Paul Hibbert wrote: >>> >>> Just tried this on OS X 10.10.1 (Yosemite) and only managed to get to >>> step 3, then LC crashed! >>> >>> Have you filed a bug report yet? >>> >>> If you have I can add to it, if not I'll file one and you can add to it. >>> >>> Paul >>> >>> On Jan 23, 2015, at 4:29 PM, Ray wrote: >>>> >>>> On my Windows 8.1 system I do the following: >>>> >>>> 1) create a new main stack >>>> 2) drag a player object onto it >>>> 3) remove the default fileName (source) >>>> 4) save the stack file >>>> >>>> At this point I get "Livecode has stopped working". With no other >>>> options I close the program and find my entire stack file has been >>>> corrupted and will not re-open. >>>> >>>> Anybody know anything about this? >>>> >>>> ___ >>>> use-livecode mailing list >>>> use-livecode@lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> ___ >>> use-livecode mailing list >>> use-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: 7.0.2 RC1 Crashes and Corrupts Stack Files
Sorry Richmond, not sure about that one. Thanks for the added report. On 1/24/2015 5:54 PM, Richmond wrote: Tangentially . . . Where ARE Livecode crash logs stored on Linux? 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
Re: 7.0.2 RC1 Crashes and Corrupts Stack Files
Guys - I've just downloaded (once again) Livecode 6.5.2 and found as to be expected everything working fine regarding the playback of audio and video files via a player object. This includes setting the playRate to something other than 1. I set it to .5 to play at half speed. I also get the expected controller in the player window running 6.5.2, another thing which is missing in 7.x players. The entire player in 7.x seems to be non-functional in every way. On 1/24/2015 2:36 PM, Peter Haworth wrote: I get the same problem here with Yosemite and LC 7.0.2. Works OK with 7.0.1. Ray, you can vary the playback speed by setting the playRate property of the player. A value of 1 is normal speed, 0.5 is half speed, etc. As long as you're not using LC 7 of course since it won't play anything right now. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Sat, Jan 24, 2015 at 6:15 AM, Ray wrote: Bob, thanks for your insight regarding the saved stack files and Paul, thanks for posting this bug. I might add something to it since I'm having trouble getting a player in 7.0.2 RC1 to play anything at all. If you know of any other way for me to play a sound at half speed or any other speed than the normal speed please let me know. Thanks! On 1/24/2015 2:49 AM, Paul Hibbert wrote: Ray, I tried this a couple of times and realised that it is definitely a serious bug so I decided to report it, hope you don't mind, the number is http://quality.runrev.com/show_bug.cgi?id=14437 if you would like to add to it. Regards Paul On Jan 23, 2015, at 9:09 PM, Paul Hibbert wrote: Just tried this on OS X 10.10.1 (Yosemite) and only managed to get to step 3, then LC crashed! Have you filed a bug report yet? If you have I can add to it, if not I'll file one and you can add to it. Paul On Jan 23, 2015, at 4:29 PM, Ray wrote: On my Windows 8.1 system I do the following: 1) create a new main stack 2) drag a player object onto it 3) remove the default fileName (source) 4) save the stack file At this point I get "Livecode has stopped working". With no other options I close the program and find my entire stack file has been corrupted and will not re-open. Anybody know anything about this? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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: 7.0.2 RC1 Crashes and Corrupts Stack Files
Exactly - this is actually under two different bug reports now, #14437 and #14449. I realized after adding to the 2nd report that I'm also not able to 'see' Quicktime movies, even in 6.5.2, when assigning a new Source to a player. Hopefully all these things will be addressed when the team at Livecode looks into these bugs. Thanks... On 1/26/2015 2:38 PM, Peter Haworth wrote: Seems like most of the problems with the player control have been in LC 7 but I'm seeing issues in 6.7. Hard hang in circumstances I haven't quite nailed down yet. Command-period doesn't work and have to force quit. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Sat, Jan 24, 2015 at 12:14 PM, Richmond wrote: On 24/01/15 02:29, Ray wrote: On my Windows 8.1 system I do the following: 1) create a new main stack 2) drag a player object onto it 3) remove the default fileName (source) 4) save the stack file At this point I get "Livecode has stopped working". With no other options I close the program and find my entire stack file has been corrupted and will not re-open. Anybody know anything about this? I just tried this (sorry, late to the party) with 7.0.2 rc1 on Ubuntu Studio 14.10 and it crashed the IDE . . . I looked here: /home/richmond/.runrev/crashlogs but the directory was empty as was: /home/richmond/.runrev/logs 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
Re: AW: 7.0.2 RC1 Crashes and Corrupts Stack Files
Agreed. I'm not seeing any of the major problems on 6.5.2 which 7.X has regarding players. If you're considering updating my suggestion would be to wait until you're sure 7.X is truly stable in this area. The only issue I have with 6.5.2, a minor issue, is I can't see Quicktime movies when re-assigning the Source. The easy work-around is to choose to show All Files. On 1/27/2015 5:18 AM, Tiemo Hollmann TB wrote: Hi Ray, I am only working with 6.5.2 for my live product and the "major feature" is playing videos. I have never had any issues with changing the source pretty straight forward with this version. Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Ray Gesendet: Montag, 26. Januar 2015 19:40 An: use-livecode@lists.runrev.com Betreff: Re: 7.0.2 RC1 Crashes and Corrupts Stack Files Exactly - this is actually under two different bug reports now, #14437 and #14449. I realized after adding to the 2nd report that I'm also not able to 'see' Quicktime movies, even in 6.5.2, when assigning a new Source to a player. Hopefully all these things will be addressed when the team at Livecode looks into these bugs. Thanks... On 1/26/2015 2:38 PM, Peter Haworth wrote: Seems like most of the problems with the player control have been in LC 7 but I'm seeing issues in 6.7. Hard hang in circumstances I haven't quite nailed down yet. Command-period doesn't work and have to force quit. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Sat, Jan 24, 2015 at 12:14 PM, Richmond wrote: On 24/01/15 02:29, Ray wrote: On my Windows 8.1 system I do the following: 1) create a new main stack 2) drag a player object onto it 3) remove the default fileName (source) 4) save the stack file At this point I get "Livecode has stopped working". With no other options I close the program and find my entire stack file has been corrupted and will not re-open. Anybody know anything about this? I just tried this (sorry, late to the party) with 7.0.2 rc1 on Ubuntu Studio 14.10 and it crashed the IDE . . . I looked here: /home/richmond/.runrev/crashlogs but the directory was empty as was: /home/richmond/.runrev/logs 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://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
Set Script Limits in Standalones
As I recall there's a limit to the number of lines in a script which is set in a standalone. I thought it was 16 lines. This limitation, if it still exists, is not documented in the dictionary. Does anybody know what it is or if it got removed with the advent of the community edition? ___ use-livecode mailing list use-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: Set Script Limits in Standalones
Thanks Bob. What I'm actually doing is executing something like 'set the script of button myButton to myScript' where myScript is greater than 16 lines. Historically this has worked in the IDE but fails in the standalone because of the limitation. On 1/27/2015 1:21 PM, Bob Sneidar wrote: I think the 16 line limit was for in line compilation, as in creating a list of commands and executing them with a do command. I do not think it means that every script in a standalone is limited to 16 lines, and I believe that limit has been removed anyway, or else greatly increased. Bob S On Jan 27, 2015, at 07:56 , Ray wrote: As I recall there's a limit to the number of lines in a script which is set in a standalone. I thought it was 16 lines. This limitation, if it still exists, is not documented in the dictionary. Does anybody know what it is or if it got removed with the advent of the community edition? ___ use-livecode mailing list use-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: Set Script Limits in Standalones
Richard - your post just came in and thanks for this clarification. It's alos good news all the way around. "Raney" Now there's a name I haven't heard in a long time. I didn't know Scott had a doctoral degree and I hope he was never offended that I didn't address him with this title. I wonder what he's doing these days? On 1/27/2015 2:01 PM, Richard Gaskin wrote: Bob Sneidar wrote: >> On Jan 27, 2015, at 07:56 , Ray wrote: >> >> As I recall there's a limit to the number of lines in a script >> which is set in a standalone. I thought it was 16 lines. This >> limitation, if it still exists, is not documented in the >> dictionary. Does anybody know what it is or if it got removed >> with the advent of the community edition? > > I think the 16 line limit was for in line compilation, as in creating > a list of commands and executing them with a do command. I do not > think it means that every script in a standalone is limited to 16 > lines, and I believe that limit has been removed anyway, or else > greatly increased. The scriptLimits global property was originally invented to allow MetaCard to deliver a demo version with no time limit. The limits were: 10 executable statements with "do", "value" or "set the script of" 10 frontScripts 10 backScripts 50 libraries Some were able to deliver complete working apps within those limits, but Dr. Raney felt it was still a good balance because sooner or later they'd get tired of the workarounds for such things and just get a license. Since the concept of having arbitrary limits on utility for licensing purposes is incompatible with the GPL, the scriptLimits property was removed from the Community Edition on first release of that version (6.0 if memory serves). After review, it was also removed from the Commercial edition as of v6.7 - here's the bug report on that, with Mark Waddingham's comment: <http://quality.runrev.com/show_bug.cgi?id=11797> Having considered this for a while and based on feedback from yourselves and others I can confirm that we will be removing the scriptLimits from commercial in 6.7 onwards (and thus 7.0). This change should take effect in the next build after 6.7-dp-6 / 7.0-dp-8. This is consistent with the design mandate of the two editions now that LiveCode is open source, in which if there are any differences at all they favor the Commercial so it represents a superset of Community features. That said, RunRev is sincere about their commitment to open source, so Community is not "crippleware" at all: both engines have complete feature parity across the board, with the only exceptions being Commercial features which may be incompatible with the GPL. Currently these are limited to Oracle database connectivity (since Oracle's drivers are closed-source), and password-protected stacks (since concealing source is incompatible with the GPL's mandate for free and open sharing). ___ use-livecode mailing list use-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: Set Script Limits in Standalones
Richard that is really great that Scott took some time to pursue what sounds like a really cool dream. Now, back to business :) I've never used behaviors much which is really bad on my part. I think I'll look into them. Thanks for the suggestion. On 1/27/2015 4:02 PM, Richard Gaskin wrote: Ray wrote: > What I'm actually doing is executing something like 'set the > script of button myButton to myScript' where myScript is greater > than 16 lines. Historically this has worked in the IDE but > fails in the standalone because of the limitation. That should be possible now, but tread carefully: self-modifying scripts are difficult to debug. Would behaviors provide a simpler and possibly more efficient solution for what you need? > "Raney" Now there's a name I haven't heard in a long time. I > didn't know Scott had a doctoral degree and I hope he was never > offended that I didn't address him with this title. I wonder > what he's doing these days? For a few years following the acquisition of MetaCard by RunRev he was sailing the Caribbean. Last I heard he's stateside again, and beginning to get back into programming after enjoying his long break. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Setting the Location of the Script Editor Window
It seems we should be able to set the location of the script editor from Livecode's Preferences, or, that changing the location of it and closing it should be remembered so the next time it's opened it returns to the same location. Neither works and I almost remember how to do this by delving into the RevLibrary stack and the Front and Back script but I find myself stumped. Has this changed in a recent version of 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
Trapping for mouseDown on the desktop on a Mac
On Windows the instant there is a 'mouseDown' on the desktop the current stack window goes inactive, thus triggering the suspendStack message. I use this to create a field which then accepts dragDrops. However, this is different on a Mac. The current stack window on a Mac waits until the mouse comes up on a desktop click, thus defeating my scheme which creates the field to accept a dragDrop as soon as the mouse goes down on the desktop. Any ideas anybody on how to trap for a mouse down on the desktop on a Mac? Many thanks, 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
Re: Trapping for mouseDown on the desktop on a Mac
Phil - thanks for the suggestion but I just tried it and no-can-do. For some reason, and this is a Mac-only behavior, when I mouseDown on the desktop I can't see any messages at all which are sent to Livecode. The suspend message is sent if I mouseDown on another stack, but not on a file on the desktop or the desktop itself. Let me know if anything else comes to mind. Thanks, Ray On 10/12/2013 10:51 AM, Phil Davis wrote: Have you tried using 'suspend' instead of 'mouseDown' and 'suspendStack'? Should work the same on both platforms (famous last words!). Phil On 10/12/13 6:31 AM, Ray wrote: On Windows the instant there is a 'mouseDown' on the desktop the current stack window goes inactive, thus triggering the suspendStack message. I use this to create a field which then accepts dragDrops. However, this is different on a Mac. The current stack window on a Mac waits until the mouse comes up on a desktop click, thus defeating my scheme which creates the field to accept a dragDrop as soon as the mouse goes down on the desktop. Any ideas anybody on how to trap for a mouse down on the desktop on a Mac? Many thanks, 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 ___ use-livecode mailing list use-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: "Be This Guy"
I don't know Richmond - I kind of disagree with you, albeit respectfully so. You've apparently taken some time to write down your concerns here and that's to be respected. I'd just create a junk mail filter and be done with it. Actually, I'd kind of like to see the masses get into scripting more. I've always found it fascinating and I don't view myself as a brain at all. I don't even know what the word prognathous means :-) Best wishes and please stay with the community as it changes along with the relentless passage of time. Ray Horsley LinkIt! Software On 10/12/2013 2:49 PM, Richmond wrote: Why do I feel that RunRev have been scraping the barrel recently? I wonder if the, unintended, result of their open source initiative is that their income has dropped considerably; hence the rather childish adverts. My e-mail inboxes (I have 2 e-mail addresses that are personal and one for my Devawriter) seem to get at least one RunRev advert a day, and, as such, I don't mind that. But there is something I don't like; the implication of these adverts seems to be that any old moron can write computer programs ; something that is palpably not true. And my ego feels bruised by the corollary that if any old moron can write computer programs with Livecode then I must be any old moron (and I'm not; I'm a special type of moron in a category of my own). Certainly that "BE THIS GUY" (Who would you rather be? and the answer is 'anybody else') advert does not do RunRev many favours; it comes out of the British 'dumb everything down to the stage where its just simply insulting' school of thought that seems to be pretty well all pervasive throughout the British Isles. This started with the slightly prognathous girl on the new RunRev website who is spacing out with her mall-rat friends (Scottish valley girls; the open sewer that runs between Edinburgh and Glasgow, starting with Westerhailes [heroin capital of the world] and moving through Hamilton [Buckfast tonic wine capital of the world]; 2 national disgraces and social bombsites whichever way you look at them) and has moved slowly down-market from there ("'down market' from Westerhailes" I hear you ask; well, I did see somebody injecting themselves with heroin in a carpark right smackdown by the river Tay in Dundee in 2003; so, if one thinks about parts of Lochee and Hilltown, it is just about possible). As somebody who has learnt about 9 programming languages (and most of the people on the RunRev use-list will better me there), I am well aware that learning to program is NOT for any old moron, and to imply so with "Tracy Beaker on Speed" types of adverts is disingenuous insofar as it gives any moronic programmer wannabees out there a distinctly wrong impression, and it will drive away more intelligent and motivated typoes towards programming languages/IDEs/packages that don't promote themselves through kiddy-crap. The whole thing reminds me of a Steve Martin film called "The Jerk", where, at one point, Steve Martin, playing the epynomous lead character, is drinking some multicolored cocktail out of a glass with a paper umbrella in it, and pointing at an advert the same cocktail saying "be somebody". "With 8 x 1 hour long lessons and a 1 hour 1-1 Skype Session and a Live Q&A Session every week you could produce the #1 selling app." Possibly; but not if you are a person who wants to "be somebody" in the way the advert presents things. RunRev produce a fantastic product; a product that can produce simple Powerpoint-like slideshows to incredibly complicated stuff (my Devawriter being about 25% along that line); so advertising Livecode like this is just doing RunRev a disservice. -- Jump on me. Agree. Disagree. BUT; Please, don't keep quiet. I do feel that as parts of what RunRev choose to call a 'community' and like to tell us that we have some sort of say and input on what their company does, we should voice our opinions in this respect (as well as all the others). -- 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
Re: Trapping for mouseDown on the desktop on a Mac
Phil, Many thanks for including this stack! I'm in New York right now (out of town for me) but I'm anxious to get back home in a few days where I can experiment with this on my Mac. Interesting how you've put the scripts in the card script but still need the field present to catch the message. What I'd like to see is a stack with absolutely no objects in it receive the dragDrop message somewhere, either in the card script or the stack script. But evidently we need to put 'dummy' controls like a field or an image on the card to trap for this message. Please correct me if I'm wrong. Thanks, Ray On 10/13/2013 2:55 PM, Paul Hibbert wrote: Ken, I don't think you even need to go into a polling mode, as soon as user drags an item onto a stack it triggers a 'dragMove' message so trapping that should work on both platforms. Tried a few tests with a small stack and tackling the problem from a different angle seems to do the trick on OSX and Win7. Ray, the test stack is here, hope it helps… https://www.dropbox.com/s/hddd6qx0vmilsot/Drag%20and%20Drop%20text.livecode - no restrictions on use! Paul On 2013-10-13, at 9:48 AM, Ken Ray wrote: How about going into a polling mode, checking the dragData["files"] every second or so... it should start out empty, but as soon as the user starts to drag a file from the desktop, it should have something in it. Just a thought, Ken Ray Sons of Thunder Software On Oct 12, 2013, at 11:25 AM, Ray wrote: Phil - thanks for the suggestion but I just tried it and no-can-do. For some reason, and this is a Mac-only behavior, when I mouseDown on the desktop I can't see any messages at all which are sent to Livecode. The suspend message is sent if I mouseDown on another stack, but not on a file on the desktop or the desktop itself. Let me know if anything else comes to mind. Thanks, Ray On 10/12/2013 10:51 AM, Phil Davis wrote: Have you tried using 'suspend' instead of 'mouseDown' and 'suspendStack'? Should work the same on both platforms (famous last words!). Phil On 10/12/13 6:31 AM, Ray wrote: On Windows the instant there is a 'mouseDown' on the desktop the current stack window goes inactive, thus triggering the suspendStack message. I use this to create a field which then accepts dragDrops. However, this is different on a Mac. The current stack window on a Mac waits until the mouse comes up on a desktop click, thus defeating my scheme which creates the field to accept a dragDrop as soon as the mouse goes down on the desktop. Any ideas anybody on how to trap for a mouse down on the desktop on a Mac? Many thanks, 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 ___ use-livecode mailing list use-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: Trapping for mouseDown on the desktop on a Mac
Thanks for the heads-up. Got me goofed uppa little as it's coming from Phil but signed as Paul. I'll make a note of that. On 10/14/2013 3:26 PM, Phil Davis wrote: "Phil" is Paul's nickname, I'm almost certain. ;-) Phil On 10/14/13 12:19 PM, Ray wrote: Phil, Many thanks for including this stack! I'm in New York right now (out of town for me) but I'm anxious to get back home in a few days where I can experiment with this on my Mac. Interesting how you've put the scripts in the card script but still need the field present to catch the message. What I'd like to see is a stack with absolutely no objects in it receive the dragDrop message somewhere, either in the card script or the stack script. But evidently we need to put 'dummy' controls like a field or an image on the card to trap for this message. Please correct me if I'm wrong. Thanks, Ray On 10/13/2013 2:55 PM, Paul Hibbert wrote: Ken, I don't think you even need to go into a polling mode, as soon as user drags an item onto a stack it triggers a 'dragMove' message so trapping that should work on both platforms. Tried a few tests with a small stack and tackling the problem from a different angle seems to do the trick on OSX and Win7. Ray, the test stack is here, hope it helps… https://www.dropbox.com/s/hddd6qx0vmilsot/Drag%20and%20Drop%20text.livecode - no restrictions on use! Paul On 2013-10-13, at 9:48 AM, Ken Ray wrote: How about going into a polling mode, checking the dragData["files"] every second or so... it should start out empty, but as soon as the user starts to drag a file from the desktop, it should have something in it. Just a thought, Ken Ray Sons of Thunder Software On Oct 12, 2013, at 11:25 AM, Ray wrote: Phil - thanks for the suggestion but I just tried it and no-can-do. For some reason, and this is a Mac-only behavior, when I mouseDown on the desktop I can't see any messages at all which are sent to Livecode. The suspend message is sent if I mouseDown on another stack, but not on a file on the desktop or the desktop itself. Let me know if anything else comes to mind. Thanks, Ray On 10/12/2013 10:51 AM, Phil Davis wrote: Have you tried using 'suspend' instead of 'mouseDown' and 'suspendStack'? Should work the same on both platforms (famous last words!). Phil On 10/12/13 6:31 AM, Ray wrote: On Windows the instant there is a 'mouseDown' on the desktop the current stack window goes inactive, thus triggering the suspendStack message. I use this to create a field which then accepts dragDrops. However, this is different on a Mac. The current stack window on a Mac waits until the mouse comes up on a desktop click, thus defeating my scheme which creates the field to accept a dragDrop as soon as the mouse goes down on the desktop. Any ideas anybody on how to trap for a mouse down on the desktop on a Mac? Many thanks, 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 ___ use-livecode mailing list use-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: Test, please ignore
You're coming through just fine. Maybe just a relatively inactive day. On 1/8/2014 11:09 AM, Graham Samuel wrote: I haven't seen any messages on the list today - maybe server is down, maybe not. ___ use-livecode mailing list use-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
Mouse Color not Working
Does anybody know if there's a problem with getting the mouseColor in 6.5.0? I'm using Windows 8.1 and all I get is 0,0,0 regardless as to whether I'm on my laptop which only uses one monitor, or my desktop which uses two. ___ use-livecode mailing list use-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: Mouse Color not Working
I've just downloaded and tried Richmond's test stack. I can verify that mouseColor does NOT work using 6.5.0. Klaus, looking forward to the fix. Thanks. I'd like to try 6.5.1 as Scott Rossi suggested but as I click on Help and choose Check for Updates I'm informed there are none, so I assume 6.5.1 is a beta release. How do I get those? Thanks, Ray On 1/16/2014 4:28 PM, Richmond wrote: On 16/01/14 22:53, Ray wrote: Does anybody know if there's a problem with getting the mouseColor in 6.5.0? I'm using Windows 8.1 and all I get is 0,0,0 regardless as to whether I'm on my laptop which only uses one monitor, or my desktop which uses two. ___ I have just uploaded a test stack: http://forums.runrev.com/viewtopic.php?f=5&t=18796 and can report that mouseColor works with 6.5.1 on UbuntuStudio Linux 13.10 Please consider downloading the stack, running it on whatever operating system you work with and reporting back. 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
Re: Mouse Color not Working
Thanks Paul On 1/16/2014 4:44 PM, Paul Hibbert wrote: The GM release is available here along with rc1 & 2… http://downloads.livecode.com/livecode/6_5_1/ Paul On 2014-01-16, at 1:41 PM, Ray wrote: I've just downloaded and tried Richmond's test stack. I can verify that mouseColor does NOT work using 6.5.0. Klaus, looking forward to the fix. Thanks. I'd like to try 6.5.1 as Scott Rossi suggested but as I click on Help and choose Check for Updates I'm informed there are none, so I assume 6.5.1 is a beta release. How do I get those? Thanks, Ray On 1/16/2014 4:28 PM, Richmond wrote: On 16/01/14 22:53, Ray wrote: Does anybody know if there's a problem with getting the mouseColor in 6.5.0? I'm using Windows 8.1 and all I get is 0,0,0 regardless as to whether I'm on my laptop which only uses one monitor, or my desktop which uses two. ___ I have just uploaded a test stack: http://forums.runrev.com/viewtopic.php?f=5&t=18796 and can report that mouseColor works with 6.5.1 on UbuntuStudio Linux 13.10 Please consider downloading the stack, running it on whatever operating system you work with and reporting back. 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://lists.runrev.com/mailman/listinfo/use-livecode
Please Reopen My Script Editor Where I Left It
Does anybody have a solution for Livecode's propensity to open the script editor window partially off the bottom of the screen? Ideally I'd like Livecode to remember where I closed it and reopen it in the same size and location. I've had a little bit of luck in the past by editing the "revBackScript" button but it's an undesirable work-around and difficult since the RevLibrary stack won't save while Livecode is open. Now, for some reason, I'm also unable to save a copy of revLibrary and replace the old with the new after quitting. ___ use-livecode mailing list use-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: Mouse Color not Working
I'm no longer having any problems now that I've updated to 6.5.1, working on Windows 8.1. I haven't tested on a Mac or in a standalone yet. Paul, many thanks for this workaround. It may come in quite handy when I distribute and need it for the Mac side of things. Ray Horsley LinkIt! Software On 1/16/2014 8:43 PM, Paul Hibbert wrote: Ray, This 'workaround' may work for you until the next release… on mouseDown put mouseColourWorkAround (the mouseLoc) into tColour answer tColour -- Or do whatever you need with tColour end mouseDown function mouseColourWorkAround pLoc lock screen import snapShot from rect ( item 1 of pLoc & "," & item 2 of pLoc & "," & \ item 1 of pLoc + 1 & "," & item 2 of pLoc + 1) of this card put the imageData of the last image into tData delete the last image put charToNum (char 2 of tData) & "," & \ charToNum (char 3 of tData) & "," & \ charToNum (char 4 of tData) into tValue unlock screen return tValue end mouseColourWorkAround Works fine for me in a mouseDown, but maybe a little OTT for a mouseMove. Paul On 2014-01-16, at 1:49 PM, Ray wrote: Thanks Paul On 1/16/2014 4:44 PM, Paul Hibbert wrote: The GM release is available here along with rc1 & 2… http://downloads.livecode.com/livecode/6_5_1/ Paul On 2014-01-16, at 1:41 PM, Ray wrote: I've just downloaded and tried Richmond's test stack. I can verify that mouseColor does NOT work using 6.5.0. Klaus, looking forward to the fix. Thanks. I'd like to try 6.5.1 as Scott Rossi suggested but as I click on Help and choose Check for Updates I'm informed there are none, so I assume 6.5.1 is a beta release. How do I get those? Thanks, Ray On 1/16/2014 4:28 PM, Richmond wrote: On 16/01/14 22:53, Ray wrote: Does anybody know if there's a problem with getting the mouseColor in 6.5.0? I'm using Windows 8.1 and all I get is 0,0,0 regardless as to whether I'm on my laptop which only uses one monitor, or my desktop which uses two. ___ I have just uploaded a test stack: http://forums.runrev.com/viewtopic.php?f=5&t=18796 and can report that mouseColor works with 6.5.1 on UbuntuStudio Linux 13.10 Please consider downloading the stack, running it on whatever operating system you work with and reporting back. 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://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: Please Reopen My Script Editor Where I Left It
Really? I wonder why it's working as expected for you and not for me? I guess it has something to do with the different operating systems. I'm using 6.5.1 (rc2) on Windows 8.1. I use multiple monitors on my desktop and just one on my laptop but it never remembers the size/location on either one. Thanks for the feedback. Let's see if anybody else responds with the same problem on Windows. By the way, this is also an annoying problem on both my Mac and Windows systems regarding folders on the desktop. I can't get either of these operating systems (most recent version of each) to reopen folders where I left them. On 1/17/2014 10:18 AM, John Dixon wrote: The script editor does open at the same size and location where you left it... Well, just tested it on OSX 9 ans LC 6.5.1... opened the script editor, sized it and put it in the topleft of the screen... closed it... opened it again and it appeared in the same place... then shut liveCode down... relaunched and made a new stack... opened the stack script... same size and location as before... Date: Fri, 17 Jan 2014 10:11:17 -0500 From: r...@linkit.com To: use-livecode@lists.runrev.com Subject: Please Reopen My Script Editor Where I Left It Does anybody have a solution for Livecode's propensity to open the script editor window partially off the bottom of the screen? Ideally I'd like Livecode to remember where I closed it and reopen it in the same size and location. I've had a little bit of luck in the past by editing the "revBackScript" button but it's an undesirable work-around and difficult since the RevLibrary stack won't save while Livecode is open. Now, for some reason, I'm also unable to save a copy of revLibrary and replace the old with the new after quitting. ___ use-livecode mailing list use-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
ColorAtScreenLoc Function
Anybody know of a function which returns the color of the screen at a given location? Simply pass it a point and get the color of that pixel, kind of like a combination of the mouseColor function and the controlAtScreenLoc function. I'd be happy if it only worked for points on Livecode stacks. I've tried 'click at loc [myPoint] and then getting the mouseColor but it doesn't work. ___ use-livecode mailing list use-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: ColorAtScreenLoc Function
Hey Klaus, that actually works quite well and it's a lot easier than wrestling with the imageData of a snapshot. I wonder why the screenMouseLoc is not mentioned as a related item in the documentation for the mouseLoc? Thanks, Ray On 1/21/2014 12:41 PM, Klaus major-k wrote: Hi Ray, Am 21.01.2014 um 18:28 schrieb Ray : Anybody know of a function which returns the color of the screen at a given location? Simply pass it a point and get the color of that pixel, kind of like a combination of the mouseColor function and the controlAtScreenLoc function. I'd be happy if it only worked for points on Livecode stacks. I've tried 'click at loc [myPoint] and then getting the mouseColor but it doesn't work. you could try to: ... set the ScreenMouseLoc to X,Y ## your position here put the mousecolor into tColorAtScreenLoc ... 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
Re: [OT] MIA
Monte, My most sincere regards to you and your family during this time. Ray On 1/21/2014 1:12 PM, Jeff Reynolds wrote: Monte, oh so very sorry to hear that. My deepest condolences to you and your family. jeff On Jan 21, 2014, at 4:35 AM, use-livecode-requ...@lists.runrev.com wrote: Hi Folks I'm going to be off the reservation for a little while. For those that knew we had a baby due in a couple of weeks we lost her yesterday and I just need to focus on family for a while. If my friends here notice anyone getting upset about lack of communication from me/mergExt on the forums etc could you please let people know I'll be back when life settles down a bit. Thanks Monte ___ use-livecode mailing list use-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: ColorAtScreenLoc Function
Thanks Richmond - I believe this requires a mouse click, though, which I'd like to avoid if I can. On 1/21/2014 1:30 PM, Richmond wrote: http://forums.runrev.com/viewtopic.php?f=5&t=18796 Asks for a screen location in 2 comma delimited numbers and the returns the colour at that location on your monitor. 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
Re: ColorAtScreenLoc Function
Mark - I believe this is everything I need. Thanks! I especially like you usage of the templateImage which keeps everything easy to work with and no cleanup needed. Ray On 1/21/2014 1:32 PM, Mark Schonewille wrote: Hi Ray, This function doesn't involve moving the mouse cursor. function screenlocColor put the screenloc into myLoc add 31 to item 1 of myLoc add 31 to item 2 of myLoc put (the screenLoc),myLoc into myRect export snapshot from rectangle myRect to myPixels as PNG set the text of the templateImage to myPixels put char 1 to 4 of the imageData of the templateImage into myPixel return charToNum(char 2 of myPixel), \ charToNum(char 3 of myPixel),charToNum(char 4 of myPixel) reset the templateImage end screenlocColor -- 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 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 1/21/2014 18:28, Ray wrote: Anybody know of a function which returns the color of the screen at a given location? Simply pass it a point and get the color of that pixel, kind of like a combination of the mouseColor function and the controlAtScreenLoc function. I'd be happy if it only worked for points on Livecode stacks. I've tried 'click at loc [myPoint] and then getting the mouseColor but it doesn't work. ___ use-livecode mailing list use-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: ColorAtScreenLoc Function
Mark I'm having fun with this code. Just one question; why add 31 pixels as opposed to another number of pixels? On 1/21/2014 3:36 PM, Mark Schonewille wrote: Hi Ray, Now I'm thinking, why did I write a function for the screenLoc only? So, here's a general solution. // usage: pointColor("100,200") or // pointColor(100,200) or e.g. // pointColor(the screenLoc) function pointColor thePoint if the paramCount is 2 then put param(1),param(2) into thePoint end if put thePoint into myLoc add 31 to item 1 of myLoc add 31 to item 2 of myLoc put thePoint,myLoc into myRect export snapshot from rectangle myRect to myPixels as PNG set the text of the templateImage to myPixels put char 1 to 4 of the imageData of the templateImage into myPixel reset the templateImage return charToNum(char 2 of myPixel), \ charToNum(char 3 of myPixel),charToNum(char 4 of myPixel) end pointColor -- 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 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 1/21/2014 20:04, Ray wrote: Mark - I believe this is everything I need. Thanks! I especially like you usage of the templateImage which keeps everything easy to work with and no cleanup needed. 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: ColorAtScreenLoc Function
Ahh, I understand. I didn't realize there was an issue exporting snapshots < 32X32. And Jackie, thanks. Very clean solution. I just tried it and it works very well. Ray On 1/21/2014 4:28 PM, Mark Schonewille wrote: Hi Ray, I wanted to keep the amount of data to be dealt with as small as possible. The smaller the amount of data, the faster the function, I'd assume. Unfortunately, it seems impossible to export snapshots smaller than 32x32 pixels. Adding 31 pixels to the height and width of the first pixel makes a square of 32x32 pixels and that works. -- 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 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 1/21/2014 22:00, Ray wrote: Mark I'm having fun with this code. Just one question; why add 31 pixels as opposed to another number of pixels? ___ use-livecode mailing list use-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
Export Snapshot
I may have found an intermittent bug in 6.5.1 using Windows 8.1; the following line of script works sometimes: export snapshot from rect myGlobalRect to myImageData as PNG but other times it gives me this error: stack "My Stack": execution error at line 5 (export: no image selected, or image not open), char 1 The key thing here is that I am NOT exporting from an image or any other control, simply a rect in global coordinates from the screen, which in my case is still always over a Livecode stack. I can't quite pinpoint how to repeat this either. Seems to come and go randomly. 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: Export Snapshot - bug fixed in 6.5.2?
I posted this earlier today and then found where this bug has already been reported (sorry) http://ftp.runrev.com/forums/viewtopic.php?f=9&t=18437 Does anybody know if this has been fixed in 6.5.2? On 1/24/2014 3:24 PM, Ray wrote: I may have found an intermittent bug in 6.5.1 using Windows 8.1; the following line of script works sometimes: export snapshot from rect myGlobalRect to myImageData as PNG but other times it gives me this error: stack "My Stack": execution error at line 5 (export: no image selected, or image not open), char 1 The key thing here is that I am NOT exporting from an image or any other control, simply a rect in global coordinates from the screen, which in my case is still always over a Livecode stack. I can't quite pinpoint how to repeat this either. Seems to come and go randomly. 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
Inaccuracies using the Within keyword
I've created a triangle (shape of an Egyptian pyramid) with the Freehand Polygon tool, made it opaque, filled it black and put the following script in the stack: on mouseMove if within(grc "Polygon",the mouseLoc ) then put ""&the mouseLoc&" - IN" else put ""&the mouseLoc&" - OUT" end mouseMove As I move the mouse in and out of the black area of the polygon Livecode senses that it is IN the polygon about 5 pixels before it is; that is if I'm hovering the tip of the arrow cursor around either the left or right side of my pyramid. Hover around the base and it's dead on. I wonder why? Does anybody have a minute to confirm this? Thanks! Ray Horsley LinkIt! ___ use-livecode mailing list use-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: Inaccuracies using the Within keyword
Paul, Dunbar, thanks for confirming. I've reported this. It's bug 11718 if anybody's interested in following it. Thanks, Ray Horsley LinkIt! Software On 1/27/2014 11:52 AM, Paul Hibbert wrote: Ray, I can confirm that your findings are correct. I tried setting the margins to zero, but that made no difference, I also turned off antialiasing, still no difference. Paul On 2014-01-27, at 8:26 AM, Ray wrote: I've created a triangle (shape of an Egyptian pyramid) with the Freehand Polygon tool, made it opaque, filled it black and put the following script in the stack: on mouseMove if within(grc "Polygon",the mouseLoc ) then put ""&the mouseLoc&" - IN" else put ""&the mouseLoc&" - OUT" end mouseMove As I move the mouse in and out of the black area of the polygon Livecode senses that it is IN the polygon about 5 pixels before it is; that is if I'm hovering the tip of the arrow cursor around either the left or right side of my pyramid. Hover around the base and it's dead on. I wonder why? Does anybody have a minute to confirm this? Thanks! Ray Horsley LinkIt! ___ use-livecode mailing list use-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: Inaccuracies using the Within keyword
Craig, Thanks for this additional testing. I went ahead and added your comments to the bug report. Ray On 1/27/2014 4:39 PM, dunb...@aol.com wrote: With a few tests, it seems that the "points" of a freehand grc or polygon that are at the maximum x or y extent of the shape (top,left,right or bottom) fire when the hot spot of the cursor just touches those points. Any other connecting side has the offset issue that Ray first noticed. That said, this does not apply to sides that may occupy those extreme values. For example, a triangle that has its base parallel to the window bottom will work correctly over that whole side (as well as the apex point at the top) those two features being the only ones that lie on the x-y extremes of such a graphic. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode